Class ClientConfiguration
The OpenID client configuration.
Inherited Members
Namespace: ComponentSpace.OpenID.Configuration
Assembly: ComponentSpace.OpenID.dll
Syntax
public class ClientConfiguration : Entity
Properties
ClientCertificates
Gets or sets the client certificates.
Declaration
public Certificate[]? ClientCertificates { get; set; }
Property Value
| Type | Description |
|---|---|
| Certificate[] | The client certificates. |
ClientID
Gets or sets the client ID.
Declaration
public string? ClientID { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client ID. |
ClientSecret
Gets or sets the client secret.
Declaration
public string? ClientSecret { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client secret. |
Description
Gets or sets the description.
Declaration
public string? Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The description. |
EncryptAccessTokens
Gets or sets the flag specifying whether access tokens should be encrypted.
Declaration
public bool? EncryptAccessTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | The flag specifying whether access tokens should be encrypted. |
EncryptIDTokens
Gets or sets the flag specifying whether ID tokens should be encrypted.
Declaration
public bool? EncryptIDTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | The flag specifying whether ID tokens should be encrypted. |
EncryptUserInfo
Gets or sets the flag specifying whether user info should be encrypted.
Declaration
public bool? EncryptUserInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | The flag specifying whether user info should be encrypted. |
EncryptionAlgorithm
Gets or sets the encryption algorithm.
Declaration
public string? EncryptionAlgorithm { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The encryption algorithm. |
KeyManagementAlgorithm
Gets or sets the key management algorithm.
Declaration
public string? KeyManagementAlgorithm { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The key management algorithm. |
PostLogoutRedirectUris
Gets or sets the post logout redirect URIs.
Declaration
public string[]? PostLogoutRedirectUris { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] | The post logout redirect URIs. |
RedirectUris
Gets or sets the redirect URIs.
Declaration
public string[]? RedirectUris { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] | The redirect URIs. |
RedirectUrisAreRegex
Gets or sets the flag specifying whether redirect URIs are regular expressions.
Declaration
public bool? RedirectUrisAreRegex { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | The flag specifying whether redirect URIs are regular expressions. |
RequireCodeChallenge
Gets or sets the flag specifying whether a Proof Key for Code Exchange (PKCE) code challenge is required.
Declaration
public bool? RequireCodeChallenge { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | The flag specifying whether Proof Key for Code Exchange (PKCE) code challenge is required. |
SignAccessTokens
Gets or sets the flag specifying whether access tokens should be signed.
Declaration
public bool? SignAccessTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | The flag specifying whether access tokens should be signed. |
SignIDTokens
Gets or sets the flag specifying whether ID tokens should be signed.
Declaration
public bool? SignIDTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | The flag specifying whether ID tokens should be signed. |
SignUserInfo
Gets or sets the flag specifying whether user info should be signed.
Declaration
public bool? SignUserInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | The flag specifying whether user info should be signed. |
SignatureAlgorithm
Gets or sets the signature algorithm.
Declaration
public string? SignatureAlgorithm { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The signature algorithm. |
Methods
GetClientCertificates(CertificateStatus, CertificateUse)
Gets the client certificates with the specified use.
Declaration
public IList<Certificate> GetClientCertificates(CertificateStatus certificateStatus = CertificateStatus.Active, CertificateUse certificateUse = CertificateUse.Any)
Parameters
| Type | Name | Description |
|---|---|---|
| CertificateStatus | certificateStatus | The certificate use. |
| CertificateUse | certificateUse | The certificate use. |
Returns
| Type | Description |
|---|---|
| IList<Certificate> | The client certificates. |