Class UserAuthenticatedEventArgs
The UserAuthenticatedEventArgs class provides a custom EventArgs object for the UserAuthenticated event.
Inheritance
Namespace: DotNetNuke.Services.Authentication
Assembly: DotNetNuke.dll
Syntax
public class UserAuthenticatedEventArgs : EventArgs
Constructors
| Improve this Doc View SourceUserAuthenticatedEventArgs(UserInfo, String, UserLoginStatus, String)
Initializes a new instance of the UserAuthenticatedEventArgs class. All properties Constructor.
Declaration
public UserAuthenticatedEventArgs(UserInfo user, string token, UserLoginStatus status, string type)
Parameters
Type | Name | Description |
---|---|---|
UserInfo | user | The user being authenticated. |
System.String | token | The user token. |
UserLoginStatus | status | The login status. |
System.String | type | The type of Authentication. |
Properties
| Improve this Doc View SourceAuthenticated
Gets or sets a value indicating whether gets and sets a flag that determines whether the User was authenticated.
Declaration
public bool Authenticated { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AuthenticationType
Gets or sets the Authentication Type.
Declaration
public string AuthenticationType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AutoRegister
Gets or sets a value indicating whether gets and sets a flag that determines whether the user should be automatically registered.
Declaration
public bool AutoRegister { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LoginStatus
Gets or sets the Login Status.
Declaration
public UserLoginStatus LoginStatus { get; set; }
Property Value
Type | Description |
---|---|
UserLoginStatus |
Message
Gets or sets the Message.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Profile
Gets or sets the Profile.
Declaration
public NameValueCollection Profile { get; set; }
Property Value
Type | Description |
---|---|
NameValueCollection |
RememberMe
Gets or sets a value indicating whether gets and sets the RememberMe setting.
Declaration
public bool RememberMe { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
User
Gets or sets the User.
Declaration
public UserInfo User { get; set; }
Property Value
Type | Description |
---|---|
UserInfo |
UserName
Gets or sets the Username.
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserToken
Gets or sets the UserToken (the userid or authenticated id).
Declaration
public string UserToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |