PhoneNumberTokenProvider<TUser, TKey> Class

 

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

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


public class PhoneNumberTokenProvider<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 keys.

NameDescription
System_CAPS_pubmethodPhoneNumberTokenProvider<TUser, TKey>()

Initializes a new instance of the PhoneNumberTokenProvider<TUser, TKey> class.

NameDescription
System_CAPS_pubpropertyMessageFormat

Gets or sets the message contents which should contain a format string which the token will be the only argument.

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: