Class OpenIdConnectConfiguration
- Namespace
- OpenSettings.Configurations
- Assembly
- OpenSettings.dll
Represents the configuration options for OpenIdConnect authentication. This class holds the necessary settings for connecting to an OpenIdConnect provider and handling authentication.
public class OpenIdConnectConfiguration
- Inheritance
-
OpenIdConnectConfiguration
- Inherited Members
Properties
AllowOfflineAccess
Gets or sets a value indicating whether offline access is allowed. If set to true, offline access tokens can be obtained.
public bool AllowOfflineAccess { get; set; }
Property Value
Remarks
The default value is 'false'.
Authority
Gets or sets the authority Url for the OpenIdConnect provider. The value is trimmed of any trailing slashes.
public string Authority { get; set; }
Property Value
Remarks
e.g. 'https://identity.opensettings.net/'.
ClientId
Gets or sets the client id used to authenticate with the OpenIdConnect provider.
public string ClientId { get; set; }
Property Value
ClientSecret
Gets or sets the client secret used to authenticate with the OpenIdConnect provider.
public string ClientSecret { get; set; }
Property Value
IsActive
Gets or sets a value indicating whether the OpenIdConnect configuration is active. If true, the OpenIdConnect authentication is enabled.
public bool IsActive { get; set; }
Property Value
Remarks
The default value is 'false'.
SignedOutRedirectUri
Gets or sets the URI to redirect to after the user is signed out.
public string SignedOutRedirectUri { get; set; }
Property Value
Remarks
The default value is 'null'. When null, empty or whitespace the default redirect flow is used: - Provider → Spa, Consumer → Spa.