Search Results for

    Show / Hide Table of Contents
    View Source

    Class BackOfficeAuthenticationBuilder

    Custom used to associate external logins with umbraco external login options

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Api.Management.Security
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class BackOfficeAuthenticationBuilder : AuthenticationBuilder

    Constructors

    View Source

    BackOfficeAuthenticationBuilder(IServiceCollection, Nullable<Action<BackOfficeExternalLoginProviderOptions>>)

    Declaration
    public BackOfficeAuthenticationBuilder(IServiceCollection services, Action<BackOfficeExternalLoginProviderOptions>? loginProviderOptions = null)
    Parameters
    Type Name Description
    IServiceCollection services
    System.Nullable<Action<BackOfficeExternalLoginProviderOptions>> loginProviderOptions

    Methods

    View Source

    AddRemoteScheme<TOptions, THandler>(String, String, Nullable<Action<TOptions>>)

    Overridden to track the final authenticationScheme being registered for the external login

    Declaration
    public override AuthenticationBuilder AddRemoteScheme<TOptions, THandler>(string authenticationScheme, string displayName, Action<TOptions>? configureOptions)
    Parameters
    Type Name Description
    System.String authenticationScheme
    System.String displayName
    System.Nullable<Action<TOptions>> configureOptions
    Returns
    Type Description
    AuthenticationBuilder
    Type Parameters
    Name Description
    TOptions
    THandler
    View Source

    SchemeForBackOffice(String)

    Declaration
    public static string SchemeForBackOffice(string scheme)
    Parameters
    Type Name Description
    System.String scheme
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BackOfficeAuthenticationBuilder(IServiceCollection, Nullable<Action<BackOfficeExternalLoginProviderOptions>>)
    • Methods
      • AddRemoteScheme<TOptions, THandler>(String, String, Nullable<Action<TOptions>>)
      • SchemeForBackOffice(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX