View Source
Class BackOfficeAuthenticationBuilder
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.BackOffice.dll
Syntax
public class BackOfficeAuthenticationBuilder : AuthenticationBuilder
Constructors
View Source
BackOfficeAuthenticationBuilder(IServiceCollection, Action<BackOfficeExternalLoginProviderOptions>)
Declaration
public BackOfficeAuthenticationBuilder(IServiceCollection services, Action<BackOfficeExternalLoginProviderOptions> loginProviderOptions = null)
Parameters
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 |
System.String |
authenticationScheme |
|
System.String |
displayName |
|
System.Action<TOptions> |
configureOptions |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Authentication.AuthenticationBuilder |
|
Type Parameters
Name |
Description |
TOptions |
|
THandler |
|
View Source
SchemeForBackOffice(String)
Declaration
public string SchemeForBackOffice(string scheme)
Parameters
Type |
Name |
Description |
System.String |
scheme |
|
Returns
Type |
Description |
System.String |
|