IUserTwoFactorTokenProvider<TUser> Interface
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.
Provides an abstraction for two-factor token generators.
generic <typename TUser>
where TUser : classpublic interface class IUserTwoFactorTokenProvider
C#
public interface IUserTwoFactorTokenProvider<TUser> where TUser : class
type IUserTwoFactorTokenProvider<'User (requires 'User : null)> = interface
Public Interface IUserTwoFactorTokenProvider(Of TUser)
- TUser
The type encapsulating a user.
- Derived
Can |
Returns a flag indicating whether the token provider can generate a token suitable for two-factor authentication token for
the specified |
Generate |
Generates a token for the specified |
Validate |
Returns a flag indicating whether the specified |
منتج | الإصدارات |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |