Skip to main content

ValidRevocationRequest Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.Revocation.Interfaces

ValidRevocationRequest Class

Represents a valid revocation request, including the request model and the associated token, if available.

public record ValidRevocationRequest : System.IEquatable<Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest>

Inheritance System.Object → ValidRevocationRequest

Implements System.IEquatable<ValidRevocationRequest>

Constructors

ValidRevocationRequest(RevocationRequest, JsonWebToken) Constructor

Initializes a valid revocation request with the provided model and token.

public ValidRevocationRequest(Abblix.Oidc.Server.Model.RevocationRequest model, Abblix.Jwt.JsonWebToken token);

Parameters

model RevocationRequest
token JsonWebToken

Properties

ValidRevocationRequest.Model Property

The revocation request model.

public Abblix.Oidc.Server.Model.RevocationRequest Model { get; }

Property Value

RevocationRequest

ValidRevocationRequest.Token Property

The associated token, if available.

public Abblix.Jwt.JsonWebToken? Token { get; }

Property Value

JsonWebToken

Methods

ValidRevocationRequest.InvalidToken(RevocationRequest) Method

Creates a valid revocation request for an invalid token without a token association.

public static Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.ValidRevocationRequest InvalidToken(Abblix.Oidc.Server.Model.RevocationRequest model);

Parameters

model RevocationRequest

Returns

ValidRevocationRequest

Remarks

Invalid tokens do not cause an error response since the client cannot handle such an error in a reasonable way. Moreover, the purpose of the revocation request, invalidating the particular token, is already achieved. See https://www.rfc-editor.org/rfc/rfc7009\#section-2.2