Data models for WebAuthn passkey authentication responses and credentials.
// Source: https://github.com/auth0/auth0-flutter | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/// The authenticator's response within a [PasskeyCredential].
///
/// Follows the standard WebAuthn response format. A login (assertion) response
/// carries [authenticatorData], [signature], and optionally [userHandle]; a
/// signup (attestation) response carries [attestationObject]. The fields not
/// relevant to a given ceremony are left null.
class PasskeyAuthenticatorResponse {
/// Base64URL-encoded client data JSON. Present for both login and signup.
final String clientDataJSON;
/// Base64URL-encoded authenticator data (login assertion only).
final String? authenticato
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key