IRevocationResponseFormatter Interface
Formats the result of a token revocation request into an Microsoft.AspNetCore.Http.IResult.
public interface IRevocationResponseFormatterDerived
↳ RevocationResponseFormatter
Methods
IRevocationResponseFormatter.FormatResponseAsync(RevocationRequest, Result<TokenRevoked,OidcError>) Method
Formats the revocation result (empty 200 on success, OAuth error otherwise).
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult> 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
response Abblix.Utils.Result<TokenRevoked,OidcError>
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult>