Show / Hide Table of Contents

Class IdentityUserLogin

Represents a login and its associated provider for a user.

Inheritance
System.Object
Entity
IdentityUserLogin
Implements
IEntity
IMultiTenant
Inherited Members
Entity.ToString()
Entity.EntityEquals(IEntity)
Namespace: Volo.Abp.Identity
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
Type Description
Guid

Methods

GetKeys()

Declaration
public override object[] GetKeys()
Returns
Type Description
System.Object[]
Overrides
Entity.GetKeys()

ToUserLoginInfo()

Declaration
public virtual UserLoginInfo ToUserLoginInfo()
Returns
Type Description
UserLoginInfo

Implements

IEntity
IMultiTenant

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft