Skip to content

ClientAuthorizationRequest Class

Authorizes permission to manage a client per RFC 7592 Dynamic Client Registration Management Protocol. Identifies the client and provides authentication credentials without dictating the management action. The actual operation (read, update, or delete) is determined by the HTTP verb.

C#
public record ClientAuthorizationRequest : System.IEquatable<Abblix.Oidc.Server.Mvc.Model.ClientAuthorizationRequest>

Inheritance System.Object → ClientAuthorizationRequest

Implements System.IEquatable<ClientAuthorizationRequest>

Remarks

Deliberately hand-written rather than generated: it is not a transport mirror of the core client request but a narrow projection of it specific to the management endpoints, where the client identifier travels in the URL path - a routing concept the core deliberately does not know about.

Properties

ClientAuthorizationRequest.AuthorizationHeader Property

The registration_access_token from the Authorization header. Used to authenticate client management operations per RFC 7592.

C#
public System.Net.Http.Headers.AuthenticationHeaderValue? AuthorizationHeader { get; init; }

Property Value

System.Net.Http.Headers.AuthenticationHeaderValue

ClientAuthorizationRequest.ClientId Property

The client identifier from the URL path parameter.

C#
public string ClientId { get; init; }

Property Value

System.String

Methods

ClientAuthorizationRequest.ToClientRequest() Method

Projects the management authorization onto the core client request model.

C#
public Abblix.Oidc.Server.Model.ClientRequest ToClientRequest();

Returns

ClientRequest

Operators

ClientAuthorizationRequest.implicit operator ClientRequest(ClientAuthorizationRequest) Operator

Implicit form of ToClientRequest(), letting the management authorization flow into any core-typed parameter or variable without an explicit call.

C#
public static Abblix.Oidc.Server.Model.ClientRequest implicit operator Abblix.Oidc.Server.Model.ClientRequest(Abblix.Oidc.Server.Mvc.Model.ClientAuthorizationRequest request);

Parameters

request ClientAuthorizationRequest

Returns

ClientRequest