Interface IBackOfficeExternalLoginProviders
Service to return BackOfficeExternalLoginProvider instances
Namespace: Umbraco.Cms.Web.BackOffice.Security
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public interface IBackOfficeExternalLoginProviders
Methods
View SourceGetAsync(String)
Get the BackOfficeExternalLoginProvider for the specified scheme
Declaration
Task<BackOfficeExternaLoginProviderScheme> GetAsync(string authenticationType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | authenticationType |
Returns
| Type | Description |
|---|---|
| Task<BackOfficeExternaLoginProviderScheme> |
GetAutoLoginProvider()
Returns the authentication type for the last registered external login (oauth) provider that specifies an auto-login redirect option
Declaration
string GetAutoLoginProvider()
Returns
| Type | Description |
|---|---|
| System.String |
GetBackOfficeProvidersAsync()
Get all registered BackOfficeExternalLoginProvider
Declaration
Task<IEnumerable<BackOfficeExternaLoginProviderScheme>> GetBackOfficeProvidersAsync()
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<BackOfficeExternaLoginProviderScheme>> |
HasDenyLocalLogin()
Returns true if there is any external provider that has the Deny Local Login option configured
Declaration
bool HasDenyLocalLogin()
Returns
| Type | Description |
|---|---|
| System.Boolean |
InvalidateSessionsIfExternalLoginProvidersChanged()
Used during startup to see if the configured external login providers is different from the persisted information. If they are different, this will invalidate backoffice sessions and clear external logins for removed providers if the external login provider setup has changed.
Declaration
virtual void InvalidateSessionsIfExternalLoginProvidersChanged()