Skip to content

RevocationRequest Class

The transport-bound counterpart of RevocationRequest for the token revocation endpoint (RFC 7009). All bound properties, validation attributes and the projection back onto the core model are generated from the core type.

C#
public record RevocationRequest : System.IEquatable<Abblix.Oidc.Server.Mvc.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.

C#
public string Token { get; init; }

Property Value

System.String

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.

C#
public string? TokenTypeHint { get; init; }

Property Value

System.String

Methods

RevocationRequest.Map() Method

Projects the transport-bound model onto its core counterpart, copying every bound parameter so the core pipeline operates on a transport-agnostic shape.

C#
public Abblix.Oidc.Server.Model.RevocationRequest Map();

Returns

RevocationRequest

Operators

RevocationRequest.implicit operator RevocationRequest(RevocationRequest) Operator

Implicit form of Map(), letting a bound model flow into any core-typed parameter or variable without an explicit call.

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

Parameters

request RevocationRequest

Returns

RevocationRequest