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)
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Identity.TotpSecurityStampBasedTokenProvider<TUser, TKey>
Microsoft.AspNet.Identity.EmailTokenProvider<TUser, TKey>
Microsoft.AspNet.Identity.EmailTokenProvider<TUser>
Syntax
public class EmailTokenProvider<TUser> : EmailTokenProvider<TUser, string>
where TUser : class, IUser<string>
generic<typename TUser>
where TUser : ref class, IUser<String^>
public ref class EmailTokenProvider : EmailTokenProvider<TUser, String^>
type EmailTokenProvider<'TUser when 'TUser : not struct and IUser<string>> =
class
inherit EmailTokenProvider<'TUser, string>
end
Public Class EmailTokenProvider(Of TUser As { Class, IUser(Of String) })
Inherits EmailTokenProvider(Of TUser, String)
Type Parameters
- TUser
The type of the user.
Constructors
Name | Description | |
---|---|---|
EmailTokenProvider<TUser>() | Initializes a new instance of the EmailTokenProvider<TUser> class. |
Properties
Name | Description | |
---|---|---|
BodyFormat | 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>.) |
|
Subject | Gets or sets the e-mail subject used when a token notification is received.(Inherited from EmailTokenProvider<TUser, TKey>.) |
Methods
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top