Class FormsSettings
Convenience class to access authentication mode settings from the configuration system.
Inheritance
System.Object
FormsSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class FormsSettings
Constructors
FormsSettings()
Declaration
public FormsSettings()
Properties
IsFormsAuthentication
Gets a value indicating this application si configured for forms authentication.
Declaration
public static bool IsFormsAuthentication { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsWindowsAuthentication
Gets a value indicating this application si configured for Windows authentication.
Declaration
public static bool IsWindowsAuthentication { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LogOffTimeout
Gets the "logoff timeout" from the FomsAuthentication timeout attribute.
Declaration
public static TimeSpan LogOffTimeout { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan |