IIntrospectionResponseFormatter Interface
Formats the result of a token introspection request into an Microsoft.AspNetCore.Http.IResult.
public interface IIntrospectionResponseFormatterDerived
↳ IntrospectionResponseFormatter
Methods
IIntrospectionResponseFormatter.FormatResponseAsync(IntrospectionRequest, Result<IntrospectionSuccess,OidcError>) Method
Formats the introspection result (RFC 7662 JSON or RFC 9701 JWT on success, OAuth error otherwise).
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult> 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
response Abblix.Utils.Result<IntrospectionSuccess,OidcError>
Returns
System.Threading.Tasks.Task<Microsoft.AspNetCore.Http.IResult>