Interface PasskeyCredentialResponse

Serialized credential response from the platform WebAuthn API. All binary fields (rawId, clientDataJSON, etc.) must be base64url-encoded strings.

interface PasskeyCredentialResponse {
    authenticatorAttachment?: string;
    clientExtensionResults?: Record<string, unknown>;
    id: string;
    rawId: string;
    response: {
        attestationObject?: string;
        authenticatorData?: string;
        clientDataJSON: string;
        signature?: string;
        userHandle?: string;
    };
    type: string;
}

Properties

authenticatorAttachment?: string
clientExtensionResults?: Record<string, unknown>
id: string
rawId: string
response: {
    attestationObject?: string;
    authenticatorData?: string;
    clientDataJSON: string;
    signature?: string;
    userHandle?: string;
}

Type declaration

  • Optional attestationObject?: string
  • Optional authenticatorData?: string
  • clientDataJSON: string
  • Optional signature?: string
  • Optional userHandle?: string
type: string