Show / Hide Table of Contents

Class IdentityUserToken

Represents an authentication token for a user.

Inheritance
System.Object
Entity
IdentityUserToken
Implements
IEntity
IMultiTenant
Inherited Members
Entity.ToString()
Entity.EntityEquals(IEntity)
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public class IdentityUserToken : Entity, IEntity, IMultiTenant

Constructors

IdentityUserToken()

Declaration
protected IdentityUserToken()

IdentityUserToken(Guid, String, String, String, Nullable<Guid>)

Declaration
protected IdentityUserToken(Guid userId, string loginProvider, string name, string value, Guid? tenantId)
Parameters
Type Name Description
Guid userId
System.String loginProvider
System.String name
System.String value
System.Nullable<Guid> tenantId

Properties

LoginProvider

Gets or sets the LoginProvider this token is from.

Declaration
public virtual string LoginProvider { get; protected set; }
Property Value
Type Description
System.String

Name

Gets or sets the name of the token.

Declaration
public virtual string Name { 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 primary key of the user that the token belongs to.

Declaration
public virtual Guid UserId { get; protected set; }
Property Value
Type Description
Guid

Value

Gets or sets the token value.

Declaration
public virtual string Value { get; set; }
Property Value
Type Description
System.String

Methods

GetKeys()

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

Implements

IEntity
IMultiTenant

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, 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