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

    Constructors

    View Source

    MemberAuthenticationBuilder(IServiceCollection, Action<MemberExternalLoginProviderOptions>?)

    Declaration
    public MemberAuthenticationBuilder(IServiceCollection services, Action<MemberExternalLoginProviderOptions>? loginProviderOptions = null)
    Parameters
    Type Name Description
    IServiceCollection services
    Action<MemberExternalLoginProviderOptions> 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
    string authenticationScheme
    string displayName
    Action<TOptions> configureOptions
    Returns
    Type Description
    AuthenticationBuilder
    Type Parameters
    Name Description
    TOptions
    THandler
    View Source

    SchemeForMembers(string)

    Declaration
    public string SchemeForMembers(string scheme)
    Parameters
    Type Name Description
    string scheme
    Returns
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX