Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserExternalLoginProviderModel

    Represents information about an external login provider and its association with a user.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class UserExternalLoginProviderModel

    Constructors

    View Source

    UserExternalLoginProviderModel(string, bool, bool, string?)

    Initializes a new instance of the UserExternalLoginProviderModel class.

    Declaration
    public UserExternalLoginProviderModel(string providerSchemeName, bool isLinkedOnUser, bool hasManualLinkingEnabled, string? providerKey)
    Parameters
    Type Name Description
    string providerSchemeName

    The authentication scheme name of the provider.

    bool isLinkedOnUser

    Indicates whether the provider is linked to the user.

    bool hasManualLinkingEnabled

    Indicates whether manual linking is enabled for this provider.

    string providerKey

    The provider-specific key for the user, if linked.

    Properties

    View Source

    HasManualLinkingEnabled

    Gets a value indicating whether manual linking is enabled for this provider.

    Declaration
    public bool HasManualLinkingEnabled { get; }
    Property Value
    Type Description
    bool
    Remarks

    When enabled, users can manually link/unlink their account with this provider.

    View Source

    IsLinkedOnUser

    Gets a value indicating whether this external login provider is linked to the user.

    Declaration
    public bool IsLinkedOnUser { get; }
    Property Value
    Type Description
    bool
    View Source

    ProviderKey

    Gets or sets the provider-specific key identifying the user with this provider.

    Declaration
    public string? ProviderKey { get; set; }
    Property Value
    Type Description
    string

    The provider key, or null if the user is not linked to this provider.

    View Source

    ProviderSchemeName

    Gets the authentication scheme name of the external login provider.

    Declaration
    public string ProviderSchemeName { get; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX