mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
[Require SSO] Add policy type enumeration (#186)
* Added SsoAuthentication policy type * Updated policy type name // added comments for clarification of what each type controls
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
export enum PolicyType {
|
export enum PolicyType {
|
||||||
TwoFactorAuthentication = 0,
|
TwoFactorAuthentication = 0, // Requires users to have 2fa enabled
|
||||||
MasterPassword = 1,
|
MasterPassword = 1, // Sets minimum requirements for master password complexity
|
||||||
PasswordGenerator = 2,
|
PasswordGenerator = 2, // Sets minimum requirements/default type for generated passwords/passphrases
|
||||||
OnlyOrg = 3,
|
OnlyOrg = 3, // Allows users to only be apart of one organization
|
||||||
|
RequireSso = 4, // Requires users to authenticate with SSO
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user