import type { PublicKeyCredentialJsonResponse } from './PublicKeyCredentialJsonResponse'; /** * @type PublicKeyCredentialJson: WebAuthn credential representation. The response field can contain either AuthenticatorAttestationResponseJson (for registration) or AuthenticatorAssertionResponseJson (for authentication). * * @property id: Base64url-encoded credential ID * - **Max Length:** 256 * * @property rawId: Base64url-encoded raw credential ID. * - **Max Length:** 256 * * @property type: The type of credential. * * @property clientExtensionResults: WebAuthn client extension results (typically empty). * - **Max Length:** 100 * * @property response: * */ export type PublicKeyCredentialJson = { id: string; rawId: string; type: PublicKeyCredentialJsonTypeEnum; clientExtensionResults?: string | null; response: PublicKeyCredentialJsonResponse; } & { [key: string]: any; }; export type PublicKeyCredentialJsonTypeEnum = 'public-key';