Skip to content

ClientJwtRefusal Class

Subtype of OidcError refusing a JWT the server cannot issue to a client, naming why, so that where it is logged the causes are told apart: the client registered a signature algorithm its security profile does not admit, or an encryption algorithm it publishes no key for, which is the client's configuration, or no signing key of the tenant performs the algorithm, which is the server's. The client is answered with unauthorized_client either way (RFC 6749 section 5.2), in each endpoint's own protocol.

C#
public sealed record ClientJwtRefusal : Abblix.Oidc.Server.Common.OidcError, System.IEquatable<Abblix.Oidc.Server.Features.Tokens.Formatters.ClientJwtRefusal>

Inheritance System.Object → OidcError → ClientJwtRefusal

Implements System.IEquatable<ClientJwtRefusal>

Constructors

ClientJwtRefusal(ClientJwtRefusalCause, string) Constructor

Subtype of OidcError refusing a JWT the server cannot issue to a client, naming why, so that where it is logged the causes are told apart: the client registered a signature algorithm its security profile does not admit, or an encryption algorithm it publishes no key for, which is the client's configuration, or no signing key of the tenant performs the algorithm, which is the server's. The client is answered with unauthorized_client either way (RFC 6749 section 5.2), in each endpoint's own protocol.

C#
public ClientJwtRefusal(Abblix.Oidc.Server.Features.Tokens.Formatters.ClientJwtRefusalCause Cause, string ErrorDescription);

Parameters

Cause ClientJwtRefusalCause

Why the JWT cannot be signed.

ErrorDescription System.String

The human-readable description.

Properties

ClientJwtRefusal.Cause Property

Why the JWT cannot be signed.

C#
public Abblix.Oidc.Server.Features.Tokens.Formatters.ClientJwtRefusalCause Cause { get; init; }

Property Value

ClientJwtRefusalCause