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