PasskeyAuthenticator class

Handles platform dependent parts of the registration and authentication flow.

Constructors

PasskeyAuthenticator()
Constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authenticate(String relyingPartyId, String challenge, int? timeout, String? userVerification, List<AllowCredentialType>? allowCredentials) Future<AuthenticateResponseType>
Returns a solution to the challenge from relyingParty
canAuthenticate() Future<bool>
Returns true only if passkeys are supported by the platform.
getFacetID() Future<String>
Returns the facetID. On Android this is the hash of the APK signature.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(String challenge, RelyingPartyType relyingParty, UserType user, AuthenticatorSelectionType authSelectionType, List<PubKeyCredParamType>? pubKeyCredParams, int? timeout, String? attestation) Future<RegisterResponseType>
Creates a new passkey and stores it on the device. Returns a solution to the challenge from relyingParty
toString() String
A string representation of this object.
inherited

Operators

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