Skip to main content

EncryptedResponseAlgorithmsValidator Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Validation

EncryptedResponseAlgorithmsValidator Class

Validates the JWE algorithms a client requests for the JWTs this server encrypts or decrypts: id_token_encrypted_response_alg/enc and userinfo_encrypted_response_alg/enc (OIDC Core), request_object_encryption_alg/enc (RFC 9101) and authorization_encrypted_response_alg/enc (JARM §3). Each key-management (alg) value must appear in the server's supported key-management algorithms and each content-encryption (enc) value in its supported content-encryption algorithms.

public class EncryptedResponseAlgorithmsValidator : Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Validation.SyncClientRegistrationContextValidator

Inheritance System.ObjectSyncClientRegistrationContextValidator → EncryptedResponseAlgorithmsValidator

Constructors

EncryptedResponseAlgorithmsValidator(IJsonWebTokenValidator) Constructor

Validates the JWE algorithms a client requests for the JWTs this server encrypts or decrypts: id_token_encrypted_response_alg/enc and userinfo_encrypted_response_alg/enc (OIDC Core), request_object_encryption_alg/enc (RFC 9101) and authorization_encrypted_response_alg/enc (JARM §3). Each key-management (alg) value must appear in the server's supported key-management algorithms and each content-encryption (enc) value in its supported content-encryption algorithms.

public EncryptedResponseAlgorithmsValidator(Abblix.Jwt.IJsonWebTokenValidator jwtValidator);

Parameters

jwtValidator IJsonWebTokenValidator

Source of the JWE algorithms the server supports (the registered encryptors).