PasskeyChallenge class
Passkey Challenge
- Implemented types
Constructors
-
PasskeyChallenge({required String $id, required String $createdAt, required String passkeyId, required String expire, required Map<
String, dynamic> publicKey}) -
PasskeyChallenge.fromMap(Map<
String, dynamic> map) -
factory
Properties
- $createdAt → String
-
Challenge creation date in ISO 8601 format.
final
- $id → String
-
Challenge ID. When signing in, pass it back with the credential to receive a token.
final
- expire → String
-
Challenge expiration date in ISO 8601 format.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- passkeyId → String
-
ID of the passkey being registered. Empty for sign-in challenges.
final
-
publicKey
→ Map<
String, dynamic> -
WebAuthn options in JSON form. Pass them to
PublicKeyCredential.parseCreationOptionsFromJSON()when registering, orPublicKeyCredential.parseRequestOptionsFromJSON()when signing in.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited