Table of Contents

Class IdentityServerConstants.ParsedSecretTypes

Namespace
Fdyay.IdentityServer
Assembly
Fdyay.IdentityServer.Core.dll

The kinds of credential a secret parser can produce, which decide which validator handles it.

public static class IdentityServerConstants.ParsedSecretTypes
Inheritance
IdentityServerConstants.ParsedSecretTypes
Inherited Members

Remarks

Distinct from IdentityServerConstants.SecretTypes: those name what is stored against a client, these name what arrived on the request. A shared secret is stored hashed and arrives in the clear; a JWK is stored as a public key and arrives as a signed assertion.

Fields

JwtBearer

A client assertion (RFC 7523): the client_assertion_type it arrived as. Duende's.

public const string JwtBearer = "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"

Field Value

string

Remarks

The success event's AuthenticationMethod for such a client. "JwtBearer" until 0.165.0.

SharedSecret

A shared secret, presented in the clear, as client_secret_basic or client_secret_post deliver it.

public const string SharedSecret = "SharedSecret"

Field Value

string

X509Certificate

The client certificate of a mutual-TLS connection (RFC 8705).

public const string X509Certificate = "X509Certificate"

Field Value

string