Class TwoFactorBackOfficeValidationProvider<TTwoFactorSetupGenerator>
Inheritance
System.Object
Microsoft.AspNetCore.Identity.DataProtectorTokenProvider<BackOfficeIdentityUser>
TwoFactorValidationProvider<BackOfficeIdentityUser, TTwoFactorSetupGenerator>
Namespace: Umbraco.Cms.Infrastructure.Security
Assembly: Umbraco.Web.Common.dll
Syntax
public class TwoFactorBackOfficeValidationProvider<TTwoFactorSetupGenerator> : TwoFactorValidationProvider<BackOfficeIdentityUser, TTwoFactorSetupGenerator>, IUserTwoFactorTokenProvider<BackOfficeIdentityUser> where TTwoFactorSetupGenerator : ITwoFactorProvider
Type Parameters
Name | Description |
---|---|
TTwoFactorSetupGenerator |
Constructors
View SourceTwoFactorBackOfficeValidationProvider(IDataProtectionProvider, IOptions<DataProtectionTokenProviderOptions>, ILogger<TwoFactorBackOfficeValidationProvider<TTwoFactorSetupGenerator>>, ITwoFactorLoginService, TTwoFactorSetupGenerator)
Declaration
public TwoFactorBackOfficeValidationProvider(IDataProtectionProvider dataProtectionProvider, IOptions<DataProtectionTokenProviderOptions> options, ILogger<TwoFactorBackOfficeValidationProvider<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<TwoFactorBackOfficeValidationProvider<TTwoFactorSetupGenerator>> | logger | |
ITwoFactorLoginService | twoFactorLoginService | |
TTwoFactorSetupGenerator | generator |