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
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
Declaration
public string SchemeForMembers(string scheme)
Parameters
Type |
Name |
Description |
System.String |
scheme |
|
Returns
Type |
Description |
System.String |
|