Class BackOfficeExternalLoginProvider
An external login (OAuth) provider for the back office
Inheritance
Namespace: Umbraco.Cms.Api.Management.Security
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class BackOfficeExternalLoginProvider
Constructors
View SourceBackOfficeExternalLoginProvider(string, IOptionsMonitor<BackOfficeExternalLoginProviderOptions>)
Initializes a new instance of the BackOfficeExternalLoginProvider class with the specified authentication type and options.
Declaration
public BackOfficeExternalLoginProvider(string authenticationType, IOptionsMonitor<BackOfficeExternalLoginProviderOptions> properties)
Parameters
| Type | Name | Description |
|---|---|---|
| string | authenticationType | The authentication type used by the external login provider. |
| IOptionsMonitor<BackOfficeExternalLoginProviderOptions> | properties | An Microsoft.Extensions.Options.IOptionsMonitor<TOptions> instance for monitoring BackOfficeExternalLoginProviderOptions. |
Properties
View SourceAuthenticationType
The authentication "Scheme"
Declaration
public string AuthenticationType { get; }
Property Value
| Type | Description |
|---|---|
| string |
Options
Gets the BackOfficeExternalLoginProviderOptions that configure this back office external login provider.
Declaration
public BackOfficeExternalLoginProviderOptions Options { get; }
Property Value
| Type | Description |
|---|---|
| BackOfficeExternalLoginProviderOptions |
Methods
View SourceEquals(object?)
Determines whether the specified object is equal to the current BackOfficeExternalLoginProvider.
Declaration
public override bool Equals(object? obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current BackOfficeExternalLoginProvider. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current BackOfficeExternalLoginProvider; otherwise, false. |
Equals(BackOfficeExternalLoginProvider?)
Determines whether the specified BackOfficeExternalLoginProvider is equal to the current instance.
Declaration
public bool Equals(BackOfficeExternalLoginProvider? other)
Parameters
| Type | Name | Description |
|---|---|---|
| BackOfficeExternalLoginProvider | other | The BackOfficeExternalLoginProvider to compare with the current instance. |
Returns
| Type | Description |
|---|---|
| bool |
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |