Class TwoFactorMemberValidationProvider<TTwoFactorSetupGenerator>
Inheritance
System.Object
Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<MemberIdentityUser>
TwoFactorValidationProvider<MemberIdentityUser, TTwoFactorSetupGenerator>
Namespace: Umbraco.Cms.Infrastructure.Security
Assembly: Umbraco.Web.Common.dll
Syntax
public class TwoFactorMemberValidationProvider<TTwoFactorSetupGenerator> : TwoFactorValidationProvider<MemberIdentityUser, TTwoFactorSetupGenerator>, IUserTwoFactorTokenProvider<MemberIdentityUser> where TTwoFactorSetupGenerator : ITwoFactorProvider
Type Parameters
Name | Description |
---|---|
TTwoFactorSetupGenerator |
Constructors
View SourceTwoFactorMemberValidationProvider(IDataProtectionProvider, IOptions<DataProtectionTokenProviderOptions>, ILogger<TwoFactorMemberValidationProvider<TTwoFactorSetupGenerator>>, ITwoFactorLoginService, TTwoFactorSetupGenerator)
Declaration
public TwoFactorMemberValidationProvider(IDataProtectionProvider dataProtectionProvider, IOptions<DataProtectionTokenProviderOptions> options, ILogger<TwoFactorMemberValidationProvider<TTwoFactorSetupGenerator>> logger, ITwoFactorLoginService twoFactorLoginService, TTwoFactorSetupGenerator generator)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.DataProtection.IDataProtectionProvider | dataProtectionProvider | |
Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.DataProtectionTokenProviderOptions> | options | |
Microsoft.Extensions.Logging.ILogger<TwoFactorMemberValidationProvider<TTwoFactorSetupGenerator>> | logger | |
ITwoFactorLoginService | twoFactorLoginService | |
TTwoFactorSetupGenerator | generator |