getRestoreCredential method

Future<AuthenticateResponseType> getRestoreCredential(
  1. AuthenticateRequestType request
)

Signs the challenge in request with the restore credential (restore key) on the device and returns the assertion that must be sent to the relying party server, exactly like authenticate.

Restore credentials only exist on Android. The default implementation throws a PlatformException with the code restore-credential-unsupported.

Implementation

Future<AuthenticateResponseType> getRestoreCredential(
  AuthenticateRequestType request,
) async {
  throw _restoreCredentialUnsupported();
}