RevocationRequest Class
The token revocation request (RFC 7009). The bound properties, BindAsync and the projection onto the core
model are generated from RevocationRequest by the Minimal API model source generator.
public record RevocationRequest : System.IEquatable<Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest>Inheritance System.Object → RevocationRequest
Implements System.IEquatable<RevocationRequest>
Properties
RevocationRequest.Token Property
The token parameter (RFC 7009 §2.1): the access token or refresh token string the client
is asking the authorization server to revoke. Required.
public string Token { get; init; }Property Value
RevocationRequest.TokenTypeHint Property
The optional token_type_hint (RFC 7009 §2.1) advising whether Token is an
access_token or refresh_token, allowing the server to look it up faster.
public string? TokenTypeHint { get; init; }Property Value
Methods
RevocationRequest.BindAsync(HttpContext) Method
Binds the model from the request's form, query, headers and TLS connection.
public static System.Threading.Tasks.ValueTask<Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest?> BindAsync(Microsoft.AspNetCore.Http.HttpContext context);Parameters
context Microsoft.AspNetCore.Http.HttpContext
Returns
System.Threading.Tasks.ValueTask<RevocationRequest>
Operators
RevocationRequest.implicit operator RevocationRequest(RevocationRequest) Operator
Projects the transport-bound model onto its core counterpart.
public static Abblix.Oidc.Server.Model.RevocationRequest implicit operator Abblix.Oidc.Server.Model.RevocationRequest(Abblix.Oidc.Server.MinimalApi.Model.RevocationRequest request);