createRestoreCredential method
Future<RegisterResponseType>
createRestoreCredential(
- RegisterRequestType request, {
- bool isCloudBackupEnabled = true,
Creates an Android restore credential (restore key) for the given
request and returns the credential that must be sent to the relying
party server, exactly like register.
Restore credentials only exist on Android. The default implementation
throws a PlatformException with the code
restore-credential-unsupported.
isCloudBackupEnabled backs the restore key up to the cloud when the
device supports end-to-end encrypted backups, and stores it locally
otherwise. Pass false to store it locally only.
Implementation
Future<RegisterResponseType> createRestoreCredential(
RegisterRequestType request, {
bool isCloudBackupEnabled = true,
}) async {
throw _restoreCredentialUnsupported();
}