Type alias PasskeySignupChallenge

PasskeySignupChallenge: {
    authSession: string;
    publicKey: PublicKeyCredentialCreationOptions;
}

A passkey signup challenge ready for the WebAuthn ceremony.

publicKey is decoded (base64url → ArrayBuffer) and can be fed directly into a WebAuthn credential creation ceremony. authSession must be retained and passed to getTokenWithPasskey().

Type declaration

  • authSession: string
  • publicKey: PublicKeyCredentialCreationOptions