PasskeyLoginPublicKey class

Public key credential request options for a passkey login.

Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

PasskeyLoginPublicKey({required String challenge, int? timeout, String? rpId, List<PasskeyLoginAllowCredentialType>? allowCredentials, UserVerificationRequirement? userVerification, LoginExtensions? loginExtensions})
Creates the public key request options.
PasskeyLoginPublicKey.fromJson(Map<String, dynamic> json)
Creates the public key request options from a decoded JSON map.
factory

Properties

allowCredentials List<PasskeyLoginAllowCredentialType>?
The credentials the user is allowed to authenticate with.
final
challenge String
The server-generated challenge to be signed.
final
hashCode int
The hash code for this object.
no setterinherited
loginExtensions LoginExtensions?
Optional WebAuthn extensions for the login request.
final
rpId String?
The relying party identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout int?
The time in milliseconds the caller is willing to wait for the operation.
final
userVerification UserVerificationRequirement?
The user verification requirement for the operation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes these options to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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