1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-20 11:04:31 -05:00
bitwarden/src/Core/Auth/Enums/WebAuthnLoginAssertionOptionsScope.cs
Ike 767c58466c
[PM-4168] update keys for WebAuthnLoginCredential (#3506)
* allow update of webauthnlogincredential

* Added Tests

* fixed tests to use commands

* addressing various feedback items
2023-12-15 13:38:34 -08:00

19 lines
520 B
C#

namespace Bit.Core.Auth.Enums;
public enum WebAuthnLoginAssertionOptionsScope
{
/*
Authentication is used when a user is trying to login in with a credential.
*/
Authentication = 0,
/*
PrfRegistration is used when a user is trying to register a new credential.
*/
PrfRegistration = 1,
/*
UpdateKeySet is used when a user is enabling a credential for passwordless login
This is done by adding rotatable keys to the credential.
*/
UpdateKeySet = 2
}