Search Results for

    Show / Hide Table of Contents
    View Source

    Class EnableTwoFactorProviderCurrentUserController

    Inheritance
    System.Object
    ManagementApiControllerBase
    UserOrCurrentUserControllerBase
    CurrentUserControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.User.Current
    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
    Type Name Description
    CancellationToken cancellationToken
    System.String providerName
    EnableTwoFactorRequestModel model
    Returns
    Type Description
    Task<IActionResult>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • EnableTwoFactorProviderCurrentUserController(IBackOfficeSecurityAccessor, IUserTwoFactorLoginService)
    • Methods
      • EnableTwoFactorProvider(CancellationToken, String, EnableTwoFactorRequestModel)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX