Class AuthenticationConfig
The AuthenticationConfig class provides a configuration class for the DNN Authentication provider.
Namespace: DotNetNuke.Services.Authentication
Assembly: DotNetNuke.dll
Syntax
public class AuthenticationConfig : AuthenticationConfigBase
Constructors
| Improve this Doc View SourceAuthenticationConfig(Int32)
Initializes a new instance of the AuthenticationConfig class.
Declaration
protected AuthenticationConfig(int portalID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalID |
Properties
| Improve this Doc View SourceEnabled
The AuthenticationConfig class provides a configuration class for the DNN Authentication provider.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseCaptcha
The AuthenticationConfig class provides a configuration class for the DNN Authentication provider.
Declaration
public bool UseCaptcha { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceClearConfig(Int32)
The AuthenticationConfig class provides a configuration class for the DNN Authentication provider.
Declaration
public static void ClearConfig(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId |
GetConfig(Int32)
The AuthenticationConfig class provides a configuration class for the DNN Authentication provider.
Declaration
public static AuthenticationConfig GetConfig(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId |
Returns
Type | Description |
---|---|
AuthenticationConfig |
UpdateConfig(AuthenticationConfig)
The AuthenticationConfig class provides a configuration class for the DNN Authentication provider.
Declaration
public static void UpdateConfig(AuthenticationConfig config)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationConfig | config |