Class IdentityUserLogin
Entity type for a user's login (i.e. Facebook, Google)
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Core.dll
Syntax
public class IdentityUserLogin : EntityBase, IIdentityUserLogin, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors
View SourceIdentityUserLogin(Int32, String, String, String, DateTime)
Initializes a new instance of the IdentityUserLogin class.
Declaration
public IdentityUserLogin(int id, string loginProvider, string providerKey, string userId, DateTime createDate)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | |
System.String | loginProvider | |
System.String | providerKey | |
System.String | userId | |
DateTime | createDate |
IdentityUserLogin(String, String, String)
Initializes a new instance of the IdentityUserLogin class.
Declaration
public IdentityUserLogin(string loginProvider, string providerKey, string userId)
Parameters
Type | Name | Description |
---|---|---|
System.String | loginProvider | |
System.String | providerKey | |
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 |
ProviderKey
Gets or sets key representing the login for the provider
Declaration
public string ProviderKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserData
Gets or sets any arbitrary data for the user and external provider
Declaration
public string UserData { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserId
Gets or sets user or member key (Guid) for the user/member who owns this login
Declaration
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
System.String |