Class BackOfficeExternalLoginProviderOptions
Options used to configure back office external login providers
Inheritance
System.Object
Namespace: Umbraco.Cms.Api.Management.Security
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class BackOfficeExternalLoginProviderOptions
Constructors
View SourceBackOfficeExternalLoginProviderOptions()
Declaration
public BackOfficeExternalLoginProviderOptions()
BackOfficeExternalLoginProviderOptions(ExternalSignInAutoLinkOptions, Boolean)
Declaration
public BackOfficeExternalLoginProviderOptions(ExternalSignInAutoLinkOptions autoLinkOptions = null, bool denyLocalLogin = false)
Parameters
| Type | Name | Description |
|---|---|---|
| ExternalSignInAutoLinkOptions | autoLinkOptions | |
| System.Boolean | denyLocalLogin |
Properties
View SourceAutoLinkOptions
Gets or sets options used to control how users can be auto-linked/created/updated based on the external login provider
Declaration
public ExternalSignInAutoLinkOptions AutoLinkOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| ExternalSignInAutoLinkOptions |
DenyLocalLogin
Gets or sets a value indicating whether when set to true will disable all local user login functionality. This is useful if you want to force users to login with an external provider.
Declaration
public bool DenyLocalLogin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |