MyAccountPasskeyAuthenticationMethod class
An enrolled passkey authentication method returned by the My Account API.
Returned by enrollPasskey after the passkey creation ceremony completes.
Exposes the passkey-specific metadata associated with the credential, in
addition to the common authentication-method fields.
Constructors
-
MyAccountPasskeyAuthenticationMethod({required String id, required String type, String? userIdentityId, String? userAgent, String? keyId, String? publicKey, String? userHandle, String? credentialDeviceType, bool? credentialBackedUp, String? aaguid, String? relyingPartyId, List<
String> ? transports, DateTime? createdAt, List<String> ? usage}) -
const
-
MyAccountPasskeyAuthenticationMethod.fromMap(Map<
String, dynamic> result) -
factory
Properties
- aaguid → String?
-
Authenticator Attestation GUID for the passkey provider.
final
- createdAt → DateTime?
-
Creation date of the authentication method.
final
- credentialBackedUp → bool?
-
Whether the passkey credential was backed up.
final
- credentialDeviceType → String?
-
Kind of device the credential is stored on (e.g.
single_deviceormulti_device).final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier of the authentication method.
final
- keyId → String?
-
Identifier of the passkey credential.
final
- publicKey → String?
-
Public key of the passkey credential (base64-encoded).
final
- relyingPartyId → String?
-
Relying party identifier for the domain.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transports
→ List<
String> ? -
Transports supported by the authenticator, if reported.
final
- type → String
-
Type of the authentication method. Equals
passkey.final -
usage
→ List<
String> ? -
Usages of the authentication method (e.g.
mfa).final - userAgent → String?
-
The user agent of the browser or device used to enroll the passkey.
final
- userHandle → String?
-
User handle associated with the passkey credential (base64url-encoded).
final
- userIdentityId → String?
-
Unique identifier of the user identity linked with the authentication
method.
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