• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class BackOfficeAuthenticationBuilder

    Custom Microsoft.AspNetCore.Authentication.AuthenticationBuilder used to associate external logins with umbraco external login options

    Inheritance
    System.Object
    Microsoft.AspNetCore.Authentication.AuthenticationBuilder
    Namespace: Umbraco.Cms.Web.BackOffice.Security
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public class BackOfficeAuthenticationBuilder : AuthenticationBuilder

    Constructors

    View Source

    BackOfficeAuthenticationBuilder(IServiceCollection, Action<BackOfficeExternalLoginProviderOptions>)

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

    Methods

    View Source

    AddRemoteScheme<TOptions, THandler>(String, String, 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)
        where TOptions : RemoteAuthenticationOptions, new()
        where THandler : RemoteAuthenticationHandler<TOptions>
    Parameters
    Type Name Description
    System.String authenticationScheme
    System.String displayName
    System.Action<TOptions> configureOptions
    Returns
    Type Description
    Microsoft.AspNetCore.Authentication.AuthenticationBuilder
    Type Parameters
    Name Description
    TOptions
    THandler
    View Source

    SchemeForBackOffice(String)

    Declaration
    public 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, Action<BackOfficeExternalLoginProviderOptions>)
    • Methods
      • AddRemoteScheme<TOptions, THandler>(String, String, Action<TOptions>)
      • SchemeForBackOffice(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX