Class BackOfficeExternalLoginsBuilder
Used to add back office login providers
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.BackOffice.Security
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class BackOfficeExternalLoginsBuilder
Constructors
View SourceBackOfficeExternalLoginsBuilder(IServiceCollection)
Declaration
public BackOfficeExternalLoginsBuilder(IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services |
Methods
View SourceAddBackOfficeLogin(Action<BackOfficeAuthenticationBuilder>, Nullable<Action<BackOfficeExternalLoginProviderOptions>>)
Add a back office login provider with options
Declaration
public BackOfficeExternalLoginsBuilder AddBackOfficeLogin(Action<BackOfficeAuthenticationBuilder> build, Action<BackOfficeExternalLoginProviderOptions>? loginProviderOptions = null)
Parameters
Type | Name | Description |
---|---|---|
Action<BackOfficeAuthenticationBuilder> | build | |
System.Nullable<Action<BackOfficeExternalLoginProviderOptions>> | loginProviderOptions |
Returns
Type | Description |
---|---|
BackOfficeExternalLoginsBuilder |