Class BackOfficeExternalLoginProviderOptions
Options used to configure back office external login providers
Inheritance
Namespace: Umbraco.Web.Security
Assembly: Umbraco.Web.dll
Syntax
public class BackOfficeExternalLoginProviderOptions
Properties
View SourceAutoLinkOptions
Options used to control how users can be auto-linked/created/updated based on the external login provider
Declaration
[IgnoreDataMember]
public ExternalSignInAutoLinkOptions AutoLinkOptions { get; set; }
Property Value
Type | Description |
---|---|
ExternalSignInAutoLinkOptions |
AutoRedirectLoginToExternalProvider
When specified this will automatically redirect to the OAuth login provider instead of prompting the user to click on the OAuth button first.
Declaration
public bool AutoRedirectLoginToExternalProvider { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This is generally used in conjunction with DenyLocalLogin. If more than one OAuth provider specifies this, the last registered provider's redirect settings will win.
CustomBackOfficeView
A virtual path to a custom angular view that is used to replace the entire UI that renders the external login button that the user interacts with
Declaration
public string CustomBackOfficeView { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If this view is specified it is 100% up to the user to render the html responsible for rendering the link/un-link buttons along with showing any errors that occur. This overrides what Umbraco normally does by default.
DenyLocalLogin
When set to true will disable all local user login functionality
Declaration
public bool DenyLocalLogin { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
OnChallenge
When specified this will be called to retrieve the
Declaration
[IgnoreDataMember]
public Func<IOwinContext, AuthenticationProperties> OnChallenge { get; set; }
Property Value
Type | Description |
---|---|
System.Func<IOwinContext, AuthenticationProperties> |
Remarks
This will generally not be needed since OpenIdConnect.RedirectToIdentityProvider options should be used instead