Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserTwoFactorProviderModel

    Represents information about a two-factor authentication provider and its status for a user.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [DataContract]
    public class UserTwoFactorProviderModel

    Constructors

    View Source

    UserTwoFactorProviderModel(string, bool)

    Initializes a new instance of the UserTwoFactorProviderModel class.

    Declaration
    public UserTwoFactorProviderModel(string providerName, bool isEnabledOnUser)
    Parameters
    Type Name Description
    string providerName

    The name of the two-factor authentication provider.

    bool isEnabledOnUser

    Indicates whether this provider is enabled for the user.

    Properties

    View Source

    IsEnabledOnUser

    Gets a value indicating whether this two-factor provider is enabled for the user.

    Declaration
    [DataMember(Name = "isEnabledOnUser")]
    public bool IsEnabledOnUser { get; }
    Property Value
    Type Description
    bool
    View Source

    ProviderName

    Gets the name of the two-factor authentication provider.

    Declaration
    [DataMember(Name = "providerName")]
    public string ProviderName { get; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX