Class IdentityUserLogin
Represents a login and its associated provider for a user.
Inheritance
System.Object
IdentityUserLogin
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public class IdentityUserLogin : Entity, IEntity, IMultiTenant
Constructors
IdentityUserLogin()
Declaration
protected IdentityUserLogin()
IdentityUserLogin(Guid, String, String, String, Nullable<Guid>)
Declaration
protected IdentityUserLogin(Guid userId, string loginProvider, string providerKey, string providerDisplayName, Guid? tenantId)
Parameters
Type |
Name |
Description |
Guid |
userId |
|
System.String |
loginProvider |
|
System.String |
providerKey |
|
System.String |
providerDisplayName |
|
System.Nullable<Guid> |
tenantId |
|
IdentityUserLogin(Guid, UserLoginInfo, Nullable<Guid>)
Declaration
protected IdentityUserLogin(Guid userId, UserLoginInfo login, Guid? tenantId)
Parameters
Type |
Name |
Description |
Guid |
userId |
|
UserLoginInfo |
login |
|
System.Nullable<Guid> |
tenantId |
|
Properties
LoginProvider
Gets or sets the login provider for the login (e.g. facebook, google)
Declaration
public virtual string LoginProvider { get; protected set; }
Property Value
Type |
Description |
System.String |
|
ProviderDisplayName
Gets or sets the friendly name used in a UI for this login.
Declaration
public virtual string ProviderDisplayName { get; protected set; }
Property Value
Type |
Description |
System.String |
|
ProviderKey
Gets or sets the unique provider identifier for this login.
Declaration
public virtual string ProviderKey { get; protected set; }
Property Value
Type |
Description |
System.String |
|
TenantId
Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Type |
Description |
System.Nullable<Guid> |
|
UserId
Gets or sets the of the primary key of the user associated with this login.
Declaration
public virtual Guid UserId { get; protected set; }
Property Value
Methods
GetKeys()
Declaration
public override object[] GetKeys()
Returns
Type |
Description |
System.Object[] |
|
Overrides
ToUserLoginInfo()
Declaration
public virtual UserLoginInfo ToUserLoginInfo()
Returns
Type |
Description |
UserLoginInfo |
|
Implements
IMultiTenant
Extension Methods