Search Results for

    Show / Hide Table of Contents

    Interface ITwoFactorProvider

    Namespace: Umbraco.Cms.Core.Security
    Assembly: cs.temp.dll.dll
    Syntax
    public interface ITwoFactorProvider

    Properties

    ProviderName

    Declaration
    string ProviderName { get; }
    Property Value
    Type Description
    System.String

    Methods

    GetSetupDataAsync(Guid, String)

    Declaration
    Task<object> GetSetupDataAsync(Guid userOrMemberKey, string secret)
    Parameters
    Type Name Description
    System.Guid userOrMemberKey
    System.String secret
    Returns
    Type Description
    Task<System.Object>

    ValidateTwoFactorPIN(String, String)

    Declaration
    bool ValidateTwoFactorPIN(string secret, string token)
    Parameters
    Type Name Description
    System.String secret
    System.String token
    Returns
    Type Description
    System.Boolean

    ValidateTwoFactorSetup(String, String)

    Declaration
    bool ValidateTwoFactorSetup(string secret, string token)
    Parameters
    Type Name Description
    System.String secret
    System.String token
    Returns
    Type Description
    System.Boolean
    Remarks

    Called to confirm the setup of two factor on the user.

    In This Article
    • Properties
      • ProviderName
    • Methods
      • GetSetupDataAsync(Guid, String)
      • ValidateTwoFactorPIN(String, String)
      • ValidateTwoFactorSetup(String, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX