Type alias PasskeyGetTokenOptions

PasskeyGetTokenOptions: {
    audience?: string;
    authSession: string;
    credential: PublicKeyCredential;
    organization?: string;
    realm?: string;
    scope?: string;
}

Options for exchanging a signed passkey credential for tokens.

credential is the raw PublicKeyCredential produced by the WebAuthn ceremony — a creation credential (signup) or an assertion credential (login). The credential type (attestation vs assertion) is detected automatically during serialization.

Type declaration

  • Optional audience?: string
  • authSession: string
  • credential: PublicKeyCredential
  • Optional organization?: string
  • Optional realm?: string
  • Optional scope?: string