@auth0/nextjs-auth0 - v4.22.0
    Preparing search index...

    Interface PasskeyBrowserClient

    Browser-side passkey interface — one-call convenience methods. Used by the passkey singleton exported from @auth0/nextjs-auth0/client. Handles challenge fetch, WebAuthn ceremony, and token exchange internally.

    interface PasskeyBrowserClient {
        enrollmentChallenge(
            options?: PasskeyEnrollmentChallengeOptions,
        ): Promise<PasskeyEnrollmentChallengeResponse>;
        enrollmentVerify(
            options: PasskeyEnrollmentVerifyOptions,
        ): Promise<PasskeyEnrollmentVerifyResponse>;
        login(options?: PasskeyChallengeOptions): Promise<void>;
        signup(options?: PasskeyRegisterOptions): Promise<void>;
    }
    Index

    Methods

    • Complete a full passkey signup in one call. Fetches the challenge, runs navigator.credentials.create(), then exchanges for a session.

      Parameters

      Returns Promise<void>