AccountSelectionContext class abstract

The service returning the information required to choose the account to be used.

It returns all the available accounts and authenticators and also informs whether a given authenticator is compliant with the policy required by the FIDO UAF server for the ongoing operation.

Constructors

AccountSelectionContext.fromJson(Map<String, dynamic> json)
Alternate constructor that creates AccountSelectionContext from a json.
factory

Properties

accounts Set<Account>
The accounts that have been registered with the SDK.
no setter
authenticators Set<Authenticator>
The available authenticators.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionConfirmationData String?
The transaction confirmation data, if any, to be presented to the user for verification.
no setter

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
isPolicyCompliant(String authenticatorAaid, String username) Future<bool>
Returns whether the specified account with the provided authenticator is compliant with the policy of the server.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() String
A string representation of this object.
inherited

Operators

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