Show / Hide Table of Contents

Class ClientConfiguration

The OpenID client configuration.

Inheritance
System.Object
Entity
ClientConfiguration
Inherited Members
Entity.Id
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
System.String

The client ID.

ClientSecret

Gets or sets the client secret.

Declaration
public string ClientSecret { get; set; }
Property Value
Type Description
System.String

The client secret.

Description

Gets or sets the description.

Declaration
public string Description { get; set; }
Property Value
Type Description
System.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
System.Nullable<System.Boolean>

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
System.Nullable<System.Boolean>

The flag specifying whether ID tokens should be encrypted.

EncryptionAlgorithm

Gets or sets the encryption algorithm.

Declaration
public string EncryptionAlgorithm { get; set; }
Property Value
Type Description
System.String

The encryption algorithm.

EncryptUserInfo

Gets or sets the flag specifying whether user info should be encrypted.

Declaration
public bool? EncryptUserInfo { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

The flag specifying whether user info should be encrypted.

KeyManagementAlgorithm

Gets or sets the key management algorithm.

Declaration
public string KeyManagementAlgorithm { get; set; }
Property Value
Type Description
System.String

The key management algorithm.

PostLogoutRedirectUris

Gets or sets the post logout redirect URIs.

Declaration
public string[] PostLogoutRedirectUris { get; set; }
Property Value
Type Description
System.String[]

The post logout redirect URIs.

RedirectUris

Gets or sets the redirect URIs.

Declaration
public string[] RedirectUris { get; set; }
Property Value
Type Description
System.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
System.Nullable<System.Boolean>

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
System.Nullable<System.Boolean>

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
System.Nullable<System.Boolean>

The flag specifying whether access tokens should be signed.

SignatureAlgorithm

Gets or sets the signature algorithm.

Declaration
public string SignatureAlgorithm { get; set; }
Property Value
Type Description
System.String

The signature algorithm.

SignIDTokens

Gets or sets the flag specifying whether ID tokens should be signed.

Declaration
public bool? SignIDTokens { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

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
System.Nullable<System.Boolean>

The flag specifying whether user info should be signed.

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.

In This Article
  • Properties
    • ClientCertificates
    • ClientID
    • ClientSecret
    • Description
    • EncryptAccessTokens
    • EncryptIDTokens
    • EncryptionAlgorithm
    • EncryptUserInfo
    • KeyManagementAlgorithm
    • PostLogoutRedirectUris
    • RedirectUris
    • RedirectUrisAreRegex
    • RequireCodeChallenge
    • SignAccessTokens
    • SignatureAlgorithm
    • SignIDTokens
    • SignUserInfo
  • Methods
    • GetClientCertificates(CertificateStatus, CertificateUse)
Back to top Copyright © ComponentSpace Pty Ltd 2022. All rights reserved.