Class IdentityUserToken
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Core.dll
Syntax
public class IdentityUserToken : EntityBase, IRememberBeingDirty, ICanBeDirty, IIdentityUserToken, IEntity, IDeepCloneable
Constructors
View SourceIdentityUserToken(Int32, String, String, String, String, DateTime)
Initializes a new instance of the IdentityUserToken class.
Declaration
public IdentityUserToken(int id, string loginProvider, string name, string value, string userId, DateTime createDate)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | |
System.String | loginProvider | |
System.String | name | |
System.String | value | |
System.String | userId | |
DateTime | createDate |
IdentityUserToken(String, String, String, String)
Initializes a new instance of the IdentityUserToken class.
Declaration
public IdentityUserToken(string loginProvider, string name, string value, string userId)
Parameters
Type | Name | Description |
---|---|---|
System.String | loginProvider | |
System.String | name | |
System.String | value | |
System.String | userId |
Properties
View SourceLoginProvider
Gets or sets the login provider for the login (i.e. Facebook, Google)
Declaration
public string LoginProvider { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the token name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserId
Gets or sets user Id for the user who owns this token
Declaration
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Value
Gets or set the token value
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String |