Class AuthenticationLoginBase
The AuthenticationLoginBase class provides a bas class for Authentication Login controls.
Inheritance
Implements
Inherited Members
Namespace: DotNetNuke.Services.Authentication
Assembly: DotNetNuke.dll
Syntax
public abstract class AuthenticationLoginBase : UserModuleBase, IModuleControl
Constructors
| Improve this Doc View SourceAuthenticationLoginBase()
Initializes a new instance of the AuthenticationLoginBase class.
Declaration
protected AuthenticationLoginBase()
Properties
| Improve this Doc View SourceAuthenticationType
Gets or sets the Type of Authentication associated with this control.
Declaration
public string AuthenticationType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Enabled
Gets a value indicating whether the control is Enabled.
Declaration
public abstract bool Enabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This property must be overriden in the inherited class.
IPAddress
Gets the IP address associated with the request.
Declaration
public string IPAddress { get; }
Property Value
Type | Description |
---|---|
System.String |
Mode
Gets or sets the Authentication mode of the control (Login or Register).
Declaration
public virtual AuthMode Mode { get; set; }
Property Value
Type | Description |
---|---|
AuthMode |
Remarks
This property may be overriden in the inherited class.
RedirectURL
Gets or sets the Redirect Url for this control.
Declaration
public string RedirectURL { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SupportsRegistration
Gets a value indicating whether the control supports Registration.
Declaration
public virtual bool SupportsRegistration { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This property may be overriden in the inherited class.
Methods
| Improve this Doc View SourceGetIPAddress()
The AuthenticationLoginBase class provides a bas class for Authentication Login controls.
Declaration
public static string GetIPAddress()
Returns
Type | Description |
---|---|
System.String |
OnUserAuthenticated(UserAuthenticatedEventArgs)
The AuthenticationLoginBase class provides a bas class for Authentication Login controls.
Declaration
protected virtual void OnUserAuthenticated(UserAuthenticatedEventArgs ea)
Parameters
Type | Name | Description |
---|---|---|
UserAuthenticatedEventArgs | ea |
Events
| Improve this Doc View SourceUserAuthenticated
The AuthenticationLoginBase class provides a bas class for Authentication Login controls.
Declaration
public event AuthenticationLoginBase.UserAuthenticatedEventHandler UserAuthenticated
Event Type
Type | Description |
---|---|
AuthenticationLoginBase.UserAuthenticatedEventHandler |