EmailTokenProvider<TUser> Class

 

Represents a token provider that generates tokens from the user's security stamp and notifies a user via email.

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


public class EmailTokenProvider<TUser> : EmailTokenProvider<TUser, string>
where TUser : class, IUser<string>

Type Parameters

TUser

The type of the user.

NameDescription
System_CAPS_pubmethodEmailTokenProvider<TUser>()

Initializes a new instance of the EmailTokenProvider<TUser> class.

NameDescription
System_CAPS_pubpropertyBodyFormat

Gets or sets the e-mail body which should contain a formatted string which the token will be the only argument.(Inherited from EmailTokenProvider<TUser, TKey>.)

System_CAPS_pubpropertySubject

Gets or sets the e-mail subject used when a token notification is received.(Inherited from EmailTokenProvider<TUser, TKey>.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

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

Asynchronously generates a token for the user using their security stamp.(Inherited from TotpSecurityStampBasedTokenProvider<TUser, TKey>.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

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

Returns the email of the user for entropy in the token.(Inherited from EmailTokenProvider<TUser, TKey>.)

System_CAPS_pubmethodIsValidProviderForUserAsync(UserManager<TUser, TKey>, TUser)

Specifies whether the user has an email set.(Inherited from EmailTokenProvider<TUser, TKey>.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

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

Notifies the user with a token via email using the Subject and BodyFormat.(Inherited from EmailTokenProvider<TUser, TKey>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Asynchronously validates the token for the user.(Inherited from TotpSecurityStampBasedTokenProvider<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.

Return to top
Show: