CredentialLoginOptions class

Represents options for credential login.

Constructors

CredentialLoginOptions({required String challenge, required String rpId, required String userVerification, required List<AllowCredential> allowCredentials, int timeout = 1800000, bool conditionalUI = false})
Constructs a new CredentialLoginOptions instance.
CredentialLoginOptions.fromJson(Map<String, dynamic> json)
Constructs a CredentialLoginOptions instance from a JSON object.
factory

Properties

allowCredentials List<AllowCredential>
The allowed credentials.
final
challenge String
A challenge that the authenticator must complete.
final
conditionalUI bool
final
hashCode int
The hash code for this object.
no setterinherited
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, allowed for the user to complete the operation. Defaults to 30 minutes (1800000 milliseconds).
final
userVerification String
Specifies whether user verification is required or preferred.
final

Methods

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

Operators

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