IUserTokenProvider<TUser, TKey> Interface

 

Represents the interface to generate user tokens.

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

public interface IUserTokenProvider<TUser, TKey>
where TUser : class, IUser<TKey>
where TKey : object, IEquatable<TKey>

Type Parameters

TUser

The type of the user in the provider.

TKey

The type of the keys in the provider.

NameDescription
System_CAPS_pubmethodGenerateAsync(String, UserManager<TUser, TKey>, TUser)

Asynchronously generates a token for a user with a specific purpose.

System_CAPS_pubmethodIsValidProviderForUserAsync(UserManager<TUser, TKey>, TUser)

Indicates whether the provider can be used for this user.

System_CAPS_pubmethodNotifyAsync(String, UserManager<TUser, TKey>, TUser)

Asynchronously notifies the user that a token has been generated.

System_CAPS_pubmethodValidateAsync(String, String, UserManager<TUser, TKey>, TUser)

Asynchronously validates a token for a user with a specific purpose.

Return to top
Show: