Type alias PasskeyLoginChallenge

PasskeyLoginChallenge: {
    authSession: string;
    publicKey: PublicKeyCredentialRequestOptions;
}

A passkey login challenge ready for the WebAuthn ceremony.

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

Type declaration

  • authSession: string
  • publicKey: PublicKeyCredentialRequestOptions