/** * WebAuthn registration response structure. * This is a simplified representation - the actual response is more complex. */ export declare class WebAuthnRegistrationResponseDTO { id: string; rawId: string; response: { clientDataJSON: string; attestationObject: string; transports?: string[]; }; type?: string; authenticatorAttachment?: string; } /** * Attributes for passkey registration verification request. */ export declare class PasskeyRegistrationVerifyAttributesDTO { /** * The pending challenge ID returned from registration options. */ pendingId: string; /** * A friendly name for this passkey (e.g., "MacBook Pro", "Work Laptop"). */ name: string; /** * The WebAuthn registration response from navigator.credentials.create(). */ response: WebAuthnRegistrationResponseDTO; } /** * Data wrapper for passkey registration verification request. */ export declare class PasskeyRegistrationVerifyDataDTO { type: string; attributes: PasskeyRegistrationVerifyAttributesDTO; } /** * DTO for passkey registration verification request. * * Used to verify and register a new passkey after the user completes * the WebAuthn ceremony on their device. * * Endpoint: POST /auth/passkey/register/verify */ export declare class PasskeyRegistrationVerifyDTO { data: PasskeyRegistrationVerifyDataDTO; } /** * WebAuthn authentication response structure. */ export declare class WebAuthnAuthenticationResponseDTO { id: string; rawId: string; response: { clientDataJSON: string; authenticatorData: string; signature: string; userHandle?: string; }; type?: string; authenticatorAttachment?: string; } /** * Attributes for passkey authentication verification request. */ export declare class PasskeyAuthenticationVerifyAttributesDTO { /** * The pending challenge ID returned from authentication options. */ pendingId: string; /** * The WebAuthn authentication response from navigator.credentials.get(). */ response: WebAuthnAuthenticationResponseDTO; } /** * Data wrapper for passkey authentication verification request. */ export declare class PasskeyAuthenticationVerifyDataDTO { type: string; attributes: PasskeyAuthenticationVerifyAttributesDTO; } /** * DTO for passkey authentication verification during 2FA login flow. * * Used when a user completes passkey authentication to complete two-factor authentication. * * Endpoint: POST /auth/two-factor/verify/passkey */ export declare class PasskeyAuthenticationVerifyDTO { data: PasskeyAuthenticationVerifyDataDTO; } /** * Attributes for passkey rename request. */ export declare class PasskeyRenameAttributesDTO { /** * The new name for the passkey. */ name: string; } /** * Data wrapper for passkey rename request. */ export declare class PasskeyRenameDataDTO { type: string; attributes: PasskeyRenameAttributesDTO; } /** * DTO for passkey rename request. * * Endpoint: PATCH /auth/passkeys/:id */ export declare class PasskeyRenameDTO { data: PasskeyRenameDataDTO; } //# sourceMappingURL=passkey-verify.dto.d.ts.map