View Source
Class EnableTwoFactorProviderCurrentUserController
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class EnableTwoFactorProviderCurrentUserController : CurrentUserControllerBase
Constructors
View Source
EnableTwoFactorProviderCurrentUserController(IBackOfficeSecurityAccessor, IUserTwoFactorLoginService)
Declaration
public EnableTwoFactorProviderCurrentUserController(IBackOfficeSecurityAccessor backOfficeSecurityAccessor, IUserTwoFactorLoginService userTwoFactorLoginService)
Parameters
Type |
Name |
Description |
IBackOfficeSecurityAccessor |
backOfficeSecurityAccessor |
|
IUserTwoFactorLoginService |
userTwoFactorLoginService |
|
Methods
View Source
EnableTwoFactorProvider(CancellationToken, String, EnableTwoFactorRequestModel)
Declaration
public async Task<IActionResult> EnableTwoFactorProvider(CancellationToken cancellationToken, string providerName, EnableTwoFactorRequestModel model)
Parameters
Returns
Type |
Description |
Task<IActionResult> |
|