Class BackOfficeAuthenticationBuilder
- Namespace
- Umbraco.Cms.Web.BackOffice.Security
- Assembly
- Umbraco.Web.BackOffice.dll
Custom AuthenticationBuilder used to associate external logins with umbraco external login options
public class BackOfficeAuthenticationBuilder : AuthenticationBuilder
- Inheritance
-
BackOfficeAuthenticationBuilder
- Inherited Members
Constructors
BackOfficeAuthenticationBuilder(IServiceCollection, Action<BackOfficeExternalLoginProviderOptions>?)
public BackOfficeAuthenticationBuilder(IServiceCollection services, Action<BackOfficeExternalLoginProviderOptions>? loginProviderOptions = null)
Parameters
servicesIServiceCollectionloginProviderOptionsAction<BackOfficeExternalLoginProviderOptions>
Methods
AddRemoteScheme<TOptions, THandler>(string, string?, Action<TOptions>?)
Overridden to track the final authenticationScheme being registered for the external login
public override AuthenticationBuilder AddRemoteScheme<TOptions, THandler>(string authenticationScheme, string? displayName, Action<TOptions>? configureOptions) where TOptions : RemoteAuthenticationOptions, new() where THandler : RemoteAuthenticationHandler<TOptions>
Parameters
Returns
Type Parameters
TOptionsTHandler
SchemeForBackOffice(string)
public string? SchemeForBackOffice(string scheme)
Parameters
schemestring