PasskeyRegistrationOptionsResponse class
Response containing the options needed to register a new passkey.
- Annotations
-
- @experimental
Constructors
-
PasskeyRegistrationOptionsResponse({required String challengeId, required Map<
String, dynamic> options, required DateTime expiresAt}) -
const
-
PasskeyRegistrationOptionsResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- challengeId → String
-
ID of the challenge, pass it to AuthPasskeyApi.verifyRegistration
together with the created credential.
final
- expiresAt → DateTime
-
Timestamp when this challenge will no longer be usable.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
options
→ Map<
String, dynamic> -
WebAuthn credential creation options in the W3C
PublicKeyCredentialCreationOptionsJSONformat, with binary fields encoded as base64url strings.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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited