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 |
AuthorizeCallbackErrorPathName
Gets or sets the path to use for authorization callback error. Will be appended to the BackOfficeHost.
Declaration
public string AuthorizeCallbackErrorPathName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AuthorizeCallbackLogoutPathName
Gets or sets the path to use for authorization callback logout. Will be appended to the BackOfficeHost.
Declaration
public string AuthorizeCallbackLogoutPathName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AuthorizeCallbackPathName
Gets or sets the path to use for authorization callback. Will be appended to the BackOfficeHost.
Declaration
public string AuthorizeCallbackPathName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BackOfficeHost
Gets or sets a value of the back-office host URI. Use this when running the back-office client and the Management API on different hosts. Leave empty when running both on the same host.
Declaration
public Uri? BackOfficeHost { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Uri> |
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 |
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 |