Skip to content

IIntrospectionResponseFormatter Interface

Defines an interface for formatting an OAuth 2.0 introspection response document as a low-level response object to return it to the client.

C#
public interface IIntrospectionResponseFormatter

Derived
IntrospectionResponseFormatter

Methods

IIntrospectionResponseFormatter.FormatResponseAsync(IntrospectionRequest, Result<IntrospectionSuccess,OidcError>) Method

Formats an OAuth 2.0 introspection response document asynchronously as a low-level response object to return it to the client.

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

Parameters

request IntrospectionRequest

The introspection request.

response Abblix.Utils.Result<IntrospectionSuccess,OidcError>

The introspection 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.