View Source
Class BackOfficeAuthenticationBuilder
Custom used to associate external logins with umbraco external login options
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class BackOfficeAuthenticationBuilder : AuthenticationBuilder
Constructors
View Source
BackOfficeAuthenticationBuilder(IServiceCollection, Nullable<Action<BackOfficeExternalLoginProviderOptions>>)
Declaration
public BackOfficeAuthenticationBuilder(IServiceCollection services, Action<BackOfficeExternalLoginProviderOptions>? loginProviderOptions = null)
Parameters
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 |
AuthenticationBuilder |
|
Type Parameters
Name |
Description |
TOptions |
|
THandler |
|
View Source
SchemeForBackOffice(String)
Declaration
public static string SchemeForBackOffice(string scheme)
Parameters
Type |
Name |
Description |
System.String |
scheme |
|
Returns
Type |
Description |
System.String |
|