EmailTokenProvider<TUser, TKey> Class

 

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

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


public class EmailTokenProvider<TUser, TKey> : TotpSecurityStampBasedTokenProvider<TUser, TKey>
where TUser : class, IUser<TKey>
where TKey : object, IEquatable<TKey>

Type Parameters

TUser

The type of the user.

TKey

The type of the key.

NameDescription
System_CAPS_pubmethodEmailTokenProvider<TUser, TKey>()

Initializes a new instance of the EmailTokenProvider<TUser, TKey> 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.

System_CAPS_pubpropertySubject

Gets or sets the e-mail subject used when a token notification is received.

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: