Search Results for

    Show / Hide Table of Contents
    View Source

    Class BackOfficeExternalLoginsBuilder

    Used to add back office login providers

    Inheritance
    object
    Namespace: Umbraco.Cms.Api.Management.Security
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class BackOfficeExternalLoginsBuilder

    Constructors

    View Source

    BackOfficeExternalLoginsBuilder(IServiceCollection)

    Initializes a new instance of the BackOfficeExternalLoginsBuilder class for configuring external login providers in the backoffice.

    Declaration
    public BackOfficeExternalLoginsBuilder(IServiceCollection services)
    Parameters
    Type Name Description
    IServiceCollection services

    The Microsoft.Extensions.DependencyInjection.IServiceCollection to which external login services will be added.

    Methods

    View Source

    AddBackOfficeLogin(Action<BackOfficeAuthenticationBuilder>, Action<BackOfficeExternalLoginProviderOptions>?)

    Add a back office login provider with options

    Declaration
    public BackOfficeExternalLoginsBuilder AddBackOfficeLogin(Action<BackOfficeAuthenticationBuilder> build, Action<BackOfficeExternalLoginProviderOptions>? loginProviderOptions = null)
    Parameters
    Type Name Description
    Action<BackOfficeAuthenticationBuilder> build

    The builder action to configure the authentication scheme.

    Action<BackOfficeExternalLoginProviderOptions> loginProviderOptions

    Optional configuration for the login provider.

    Returns
    Type Description
    BackOfficeExternalLoginsBuilder

    The builder for chaining.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX