Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IMultiFactorAuthenticationMethod.cs

using Nop.Services.Plugins;

namespace Nop.Services.Authentication.MultiFactor;

/// 
/// Represents method for the multi-factor authentication
/// 
public partial interface IMultiFactorAuthenticationMethod : IPlugin
{
    #region Methods

    /// 
    ///  Gets a multi-factor authentication type
    /// 
    MultiFactorAuthenticationType Type { get; }

    /// 
    /// Gets a type of a view component for displaying plugin in public store
    /// 
    /// View component type
    Type GetPublicViewComponent();

    /// 
    /// Gets a type of a view component for displaying verification page
    /// 
    /// View component type
    Type GetVerificationViewComponent();

    /// 
    /// Gets a multi-factor authentication method description that will be displayed on customer info pages in the public store
    /// 
    /// A task that represents the asynchronous operation
    Task GetDescriptionAsync();

    #endregion
}