Interface for authenticators that manage Android restore credentials (restore keys), which let Android sign the user in silently on a new device.
This is separate from PasskeyAuthenticatorInterface so that existing
implementations of that interface keep compiling. The passkeys package's
PasskeyAuthenticator implements both.
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
-
clearRestoreCredential(
) → Future< void> - Deletes the restore credential (restore key) from the device.
-
createRestoreCredential(
RegisterRequestType request, {bool isCloudBackupEnabled = true}) → Future< RegisterResponseType> -
Creates an Android restore credential (restore key) for the given
requestand returns the credential that must be sent to the relying party server, exactly like PasskeyAuthenticatorInterface.register. -
getRestoreCredential(
AuthenticateRequestType request) → Future< AuthenticateResponseType> -
Signs the challenge in
requestwith the restore credential (restore key) on the device and returns the assertion that must be sent to the relying party server, exactly like PasskeyAuthenticatorInterface.authenticate. -
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