DataProtectorTokenProvider<TUser> Class
Represents a token provider that uses an IDataProtector to generate encrypted tokens based off of the security stamp.
Assembly: Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)
Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider<TUser, TKey>
Microsoft.AspNet.Identity.Owin.DataProtectorTokenProvider<TUser>
| Name | Description | |
|---|---|---|
![]() | DataProtectorTokenProvider<TUser>(IDataProtector) | Initializes a new instance of the DataProtectorTokenProvider<TUser> class. |
| Name | Description | |
|---|---|---|
![]() | Protector | Gets the IDataProtector for the token.(Inherited from DataProtectorTokenProvider<TUser, TKey>.) |
![]() | TokenLifespan | Gets or sets the lifespan after which the token is considered expired.(Inherited from DataProtectorTokenProvider<TUser, TKey>.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GenerateAsync(String, UserManager<TUser, TKey>, TUser) | Asynchronously generates a protected string for a user.(Inherited from DataProtectorTokenProvider<TUser, TKey>.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsValidProviderForUserAsync(UserManager<TUser, TKey>, TUser) | Asynchronously determines whether the provider can be used to generate tokens for this user.(Inherited from DataProtectorTokenProvider<TUser, TKey>.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | NotifyAsync(String, UserManager<TUser, TKey>, TUser) | Asynchronously notifies a user.(Inherited from DataProtectorTokenProvider<TUser, TKey>.) |
![]() | ToString() | (Inherited from Object.) |
![]() | ValidateAsync(String, String, UserManager<TUser, TKey>, TUser) | Asynchronously validates the token.(Inherited from DataProtectorTokenProvider<TUser, TKey>.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


