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(
AuthenticateRequestType request) → Future< AuthenticateResponseType> - Authenticates a user with a passkey. Returns AuthenticateResponseType which must be sent to the relying party server.
-
canAuthenticate(
) → Future< bool> - Returns true only if passkeys are supported by the platform.
-
cancelCurrentAuthenticatorOperation(
) → Future< void> -
getAvailability(
) → Future< AvailabilityType> - Returns information about the availabilty of passkeys. Currently, this is only valuable for flutter web.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
RegisterRequestType request) → Future< RegisterResponseType> - Creates a new passkey and stores it on the device. Returns RegisterResponseType which must be sent to the relying party server.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited