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.
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.
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.
public string ClientId { get; init; }Property Value
Methods
ClientAuthorizationRequest.BindAsync(HttpContext) Method
Binds the model from the route value and the Authorization header.
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.
public static Abblix.Oidc.Server.Model.ClientRequest implicit operator Abblix.Oidc.Server.Model.ClientRequest(Abblix.Oidc.Server.MinimalApi.Model.ClientAuthorizationRequest request);