AccountSelectionContext class Null safety

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.
read-only
authenticators → Set<Authenticator>
The available authenticators.
read-only
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
transactionConfirmationData → String?
The transaction confirmation data, if any, to be presented to the user for verification.
read-only

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 non-existent 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