AuthenticateRequestType class
The AuthenticateRequestType is used to create an authentication request and send it to the platform.
Constructors
-
AuthenticateRequestType.new({required String relyingPartyId, required String challenge, required MediationType mediation, required bool preferImmediatelyAvailableCredentials, int? timeout, String? userVerification, List<
CredentialType> ? allowCredentials}) -
Constructs a new instance.
const
Properties
-
allowCredentials
→ List<
CredentialType> ? -
The list of allowed credentials that the user can use to authenticate.
If this value is
null
, the user can use any credential.final - challenge → String
-
The Base64URL encoded challenge without padding.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mediation → MediationType
-
The mediation type.
This can be one of the following values:
final
- preferImmediatelyAvailableCredentials → bool
-
The prefer immediately available credentials flag.
If this value is
true
, the platform will prefer credentials that are immediately available, such as those that are stored on the device.final - relyingPartyId → String
-
The relying party ID.
This is typically the domain of the website that is requesting authentication.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → int?
-
The timeout in milliseconds.
This is the maximum time the user has to respond to the authentication request.
final
- userVerification → String?
-
The user verification requirement.
This can be one of the following values:
final
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