AuthenticatorTokenProvider<TUser> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used for authenticator code verification.
generic <typename TUser>
where TUser : classpublic ref class AuthenticatorTokenProvider : Microsoft::AspNetCore::Identity::IUserTwoFactorTokenProvider<TUser>
public class AuthenticatorTokenProvider<TUser> : Microsoft.AspNetCore.Identity.IUserTwoFactorTokenProvider<TUser> where TUser : class
type AuthenticatorTokenProvider<'User (requires 'User : null)> = class
interface IUserTwoFactorTokenProvider<'User (requires 'User : null)>
Public Class AuthenticatorTokenProvider(Of TUser)
Implements IUserTwoFactorTokenProvider(Of TUser)
Type Parameters
- TUser
- Inheritance
-
AuthenticatorTokenProvider<TUser>
- Implements
Constructors
AuthenticatorTokenProvider<TUser>() |
Methods
CanGenerateTwoFactorTokenAsync(UserManager<TUser>, TUser) |
Checks if a two-factor authentication token can be generated for the specified |
GenerateAsync(String, UserManager<TUser>, TUser) |
Returns an empty string since no authenticator codes are sent. |
ValidateAsync(String, String, UserManager<TUser>, TUser) |