Class IdentityUserToken
Represents an authentication token for a user.
Inheritance
System.Object
IdentityUserToken
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
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
Implements
IMultiTenant
Extension Methods