Skip to content

IRevocationResponseFormatter Interface

Defines an interface for formatting a revocation response as a low-level response object to return to the client.

C#
public interface IRevocationResponseFormatter

Derived
RevocationResponseFormatter

Methods

IRevocationResponseFormatter.FormatResponseAsync(RevocationRequest, Result<TokenRevoked,OidcError>) Method

Formats a revocation response asynchronously as a low-level response object to return to the client.

C#
System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult> FormatResponseAsync(Abblix.Oidc.Server.Model.RevocationRequest request, Abblix.Utils.Result<Abblix.Oidc.Server.Endpoints.Revocation.Interfaces.TokenRevoked,Abblix.Oidc.Server.Common.OidcError> response);

Parameters

request RevocationRequest

The revocation request.

response Abblix.Utils.Result<TokenRevoked,OidcError>

The revocation response to be formatted.

Returns

System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.ActionResult>
A System.Threading.Tasks.Task representing the asynchronous operation, with the formatted response as an Microsoft.AspNetCore.Mvc.ActionResult.