Class SecuritySettings
Typed configuration options for security settings.
Inheritance
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
public class SecuritySettings
Properties
View SourceAllowConcurrentLogins
Gets or sets a value indicating whether to allow concurrent logins.
Declaration
public bool AllowConcurrentLogins { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowEditInvariantFromNonDefault
Gets or sets a value indicating whether to allow editing invariant properties from a non-default language variation.
Declaration
public bool AllowEditInvariantFromNonDefault { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AllowedUserNameCharacters
Gets or sets the set of allowed characters for a username
Declaration
public string AllowedUserNameCharacters { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AllowPasswordReset
Gets or sets a value indicating whether to allow user password reset.
Declaration
public bool AllowPasswordReset { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AuthCookieDomain
Gets or sets a value for the authorization cookie domain.
Declaration
public string AuthCookieDomain { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AuthCookieName
Gets or sets a value for the authorization cookie name.
Declaration
public string AuthCookieName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HideDisabledUsersInBackOffice
Gets or sets a value indicating whether to hide disabled users in the back-office.
Declaration
public bool HideDisabledUsersInBackOffice { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
KeepUserLoggedIn
Gets or sets a value indicating whether to keep the user logged in.
Declaration
public bool KeepUserLoggedIn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MemberBypassTwoFactorForExternalLogins
Gets or sets a value indicating whether to bypass the two factor requirement in Umbraco when using external login for members. Thereby rely on the External login and potential 2FA at that provider.
Declaration
public bool MemberBypassTwoFactorForExternalLogins { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MemberDefaultLockoutTimeInMinutes
Gets or sets a value for how long (in minutes) a member is locked out when a lockout occurs.
Declaration
public int MemberDefaultLockoutTimeInMinutes { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MemberPassword
Gets or sets a value for the member password settings.
Declaration
public MemberPasswordConfigurationSettings MemberPassword { get; set; }
Property Value
Type | Description |
---|---|
MemberPasswordConfigurationSettings |
UserBypassTwoFactorForExternalLogins
Gets or sets a value indicating whether to bypass the two factor requirement in Umbraco when using external login for users. Thereby rely on the External login and potential 2FA at that provider.
Declaration
public bool UserBypassTwoFactorForExternalLogins { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UserDefaultLockoutTimeInMinutes
Gets or sets a value for how long (in minutes) a user is locked out when a lockout occurs.
Declaration
public int UserDefaultLockoutTimeInMinutes { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
UsernameIsEmail
Gets or sets a value indicating whether the user's email address is to be considered as their username.
Declaration
public bool UsernameIsEmail { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UserPassword
Gets or sets a value for the user password settings.
Declaration
public UserPasswordConfigurationSettings UserPassword { get; set; }
Property Value
Type | Description |
---|---|
UserPasswordConfigurationSettings |