Search Results for

    Show / Hide Table of Contents
    View Source

    Class BackOfficeExternalLoginProviders

    Service to return BackOfficeExternalLoginProvider instances

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.BackOffice.Security
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public class BackOfficeExternalLoginProviders : IBackOfficeExternalLoginProviders

    Constructors

    View Source

    BackOfficeExternalLoginProviders(IEnumerable<BackOfficeExternalLoginProvider>, IAuthenticationSchemeProvider)

    Declaration
    public BackOfficeExternalLoginProviders(IEnumerable<BackOfficeExternalLoginProvider> externalLogins, IAuthenticationSchemeProvider authenticationSchemeProvider)
    Parameters
    Type Name Description
    IEnumerable<BackOfficeExternalLoginProvider> externalLogins
    Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authenticationSchemeProvider

    Methods

    View Source

    GetAsync(String)

    Get the BackOfficeExternalLoginProvider for the specified scheme

    Declaration
    public async Task<BackOfficeExternaLoginProviderScheme> GetAsync(string authenticationType)
    Parameters
    Type Name Description
    System.String authenticationType
    Returns
    Type Description
    Task<BackOfficeExternaLoginProviderScheme>
    View Source

    GetAutoLoginProvider()

    Returns the authentication type for the last registered external login (oauth) provider that specifies an auto-login redirect option

    Declaration
    public string GetAutoLoginProvider()
    Returns
    Type Description
    System.String
    View Source

    GetBackOfficeProvidersAsync()

    Get all registered BackOfficeExternalLoginProvider

    Declaration
    public async Task<IEnumerable<BackOfficeExternaLoginProviderScheme>> GetBackOfficeProvidersAsync()
    Returns
    Type Description
    Task<IEnumerable<BackOfficeExternaLoginProviderScheme>>
    View Source

    HasDenyLocalLogin()

    Returns true if there is any external provider that has the Deny Local Login option configured

    Declaration
    public bool HasDenyLocalLogin()
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX