PasskeyCredential class

A passkey credential obtained from the platform authenticator.

Your app presents the OS passkey UI (for example, via Apple's ASAuthorizationController or Android's Credential Manager) and constructs this from the resulting assertion (login) or attestation (signup), then passes it to passkeyCredentialExchange to exchange it for Auth0 tokens. It follows the standard WebAuthn public key credential format.

Constructors

PasskeyCredential({required String id, required String rawId, required String type, required PasskeyAuthenticatorResponse response, String? authenticatorAttachment, Map<String, dynamic>? clientExtensionResults})
const
PasskeyCredential.fromMap(Map map)
factory

Properties

authenticatorAttachment → String?
How the authenticator is attached (platform or cross-platform).
final
clientExtensionResults → Map<String, dynamic>?
Results of any requested client extensions.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Base64URL-encoded credential identifier.
final
rawId → String
Base64URL-encoded raw credential identifier.
final
response → PasskeyAuthenticatorResponse
The authenticator's response (assertion for login, attestation for signup).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
Credential type, typically public-key.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited