Search Results for

    Show / Hide Table of Contents
    View Source

    Class DisableTwoFactorProviderCurrentUserController

    Inheritance
    System.Object
    ManagementApiControllerBase
    UserOrCurrentUserControllerBase
    CurrentUserControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.User.Current
    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>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DisableTwoFactorProviderCurrentUserController(IBackOfficeSecurityAccessor, IUserTwoFactorLoginService)
    • Methods
      • DisableTwoFactorProvider(CancellationToken, String, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX