setCredentialProperties method
Future<void>
setCredentialProperties(
- AuthenticatorId authenticatorId,
- String credentialId, {
- bool? backupEligibility,
- bool? backupState,
Allows setting credential properties. https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
Implementation
Future<void> setCredentialProperties(
AuthenticatorId authenticatorId, String credentialId,
{bool? backupEligibility, bool? backupState}) async {
await _client.send('WebAuthn.setCredentialProperties', {
'authenticatorId': authenticatorId,
'credentialId': credentialId,
if (backupEligibility != null) 'backupEligibility': backupEligibility,
if (backupState != null) 'backupState': backupState,
});
}