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