Class IdentityUserToken<TKey>
Represents an authentication token for a user.
public class IdentityUserToken<TKey> : IIdentityUserToken<TKey> where TKey : IEquatable<TKey>
Type Parameters
TKey
The type of the primary key used for users.
- Inheritance
-
IdentityUserToken<TKey>
- Implements
-
IIdentityUserToken<TKey>
Properties
LoginProvider
Gets or sets the LoginProvider this token is from.
public virtual string LoginProvider { get; set; }
Property Value
Name
Gets or sets the name of the token.
public virtual string Name { get; set; }
Property Value
UserId
Gets or sets the primary key of the user that the token belongs to.
public virtual TKey UserId { get; set; }
Property Value
- TKey
Value
Gets or sets the token value.
public virtual string Value { get; set; }