Skip to content

ClientAuthorizationRequest Class

Authorizes a client-management operation (RFC 7592): the client identifier travels in the URL path and the registration access token in the Authorization header. The HTTP verb decides the operation.

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

Inheritance System.Object → ClientAuthorizationRequest

Implements System.IEquatable<ClientAuthorizationRequest>

Properties

ClientAuthorizationRequest.AuthorizationHeader Property

The registration access token from the Authorization header.

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 {clientId} route parameter.

C#
public string ClientId { get; init; }

Property Value

System.String

Methods

ClientAuthorizationRequest.BindAsync(HttpContext) Method

Binds the model from the route value and the Authorization header.

C#
public static System.Threading.Tasks.ValueTask<Abblix.Oidc.Server.MinimalApi.Model.ClientAuthorizationRequest?> BindAsync(Microsoft.AspNetCore.Http.HttpContext context);

Parameters

context Microsoft.AspNetCore.Http.HttpContext

Returns

System.Threading.Tasks.ValueTask<ClientAuthorizationRequest>

Operators

ClientAuthorizationRequest.implicit operator ClientRequest(ClientAuthorizationRequest) Operator

Projects the management authorization onto the core client request model.

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

Parameters

request ClientAuthorizationRequest

Returns

ClientRequest