Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberAuthenticationBuilder

    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.Website.Security
    Assembly: Umbraco.Web.Website.dll
    Syntax
    public class MemberAuthenticationBuilder : AuthenticationBuilder

    Constructors

    View Source

    MemberAuthenticationBuilder(IServiceCollection, Nullable<Action<MemberExternalLoginProviderOptions>>)

    Declaration
    public MemberAuthenticationBuilder(IServiceCollection services, Action<MemberExternalLoginProviderOptions>? loginProviderOptions = null)
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services
    System.Nullable<Action<MemberExternalLoginProviderOptions>> 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
    Microsoft.AspNetCore.Authentication.AuthenticationBuilder
    Type Parameters
    Name Description
    TOptions
    THandler
    View Source

    SchemeForMembers(String)

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