Skip to main content

ReadClientRequestProcessor Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.DynamicClientManagement

ReadClientRequestProcessor Class

Builds the RFC 7592 §2.1 read-client response from stored client metadata. The client_secret is intentionally omitted because secrets are persisted only as hashes; a registration access token bearing the client's current jti is re-issued so the client can keep using the management endpoint after the read, without invalidating the token it presented (read stays idempotent — only update rotates the jti).

public class ReadClientRequestProcessor : Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IReadClientRequestProcessor

Inheritance System.Object → ReadClientRequestProcessor

Implements IReadClientRequestProcessor

Constructors

ReadClientRequestProcessor(IRegistrationAccessTokenService, IRegistrationAccessTokenStore, ITokenIdGenerator, TimeProvider) Constructor

Builds the RFC 7592 §2.1 read-client response from stored client metadata. The client_secret is intentionally omitted because secrets are persisted only as hashes; a registration access token bearing the client's current jti is re-issued so the client can keep using the management endpoint after the read, without invalidating the token it presented (read stays idempotent — only update rotates the jti).

public ReadClientRequestProcessor(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRegistrationAccessTokenService registrationAccessTokenService, Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.IRegistrationAccessTokenStore registrationAccessTokenStore, Abblix.Oidc.Server.Features.RandomGenerators.ITokenIdGenerator tokenIdGenerator, System.TimeProvider clock);

Parameters

registrationAccessTokenService IRegistrationAccessTokenService
registrationAccessTokenStore IRegistrationAccessTokenStore
tokenIdGenerator ITokenIdGenerator
clock System.TimeProvider

Methods

ReadClientRequestProcessor.ProcessAsync(ValidClientRequest) Method

Produces the response payload for the addressed client, including its current metadata and a refreshed registration access token.

public System.Threading.Tasks.Task<Abblix.Utils.Result<Abblix.Oidc.Server.Model.ReadClientSuccessfulResponse,Abblix.Oidc.Server.Common.OidcError>> ProcessAsync(Abblix.Oidc.Server.Endpoints.DynamicClientManagement.Interfaces.ValidClientRequest request);

Parameters

request ValidClientRequest

A request whose authentication and target client have been validated.

Implements ProcessAsync(ValidClientRequest)

Returns

System.Threading.Tasks.Task<Abblix.Utils.Result<ReadClientSuccessfulResponse,OidcError>>