Authlete
IntrospectionRequestHandler Class Reference

Handler for requests to an introspection endpoint (RFC 7662). More...

Inheritance diagram for IntrospectionRequestHandler:
BaseRequestHandler

Public Member Functions

 IntrospectionRequestHandler (IAuthleteApi api)
 Constructor. More...
 
async Task< HttpResponseMessage > Handle (string parameters)
 Handle an introspection request. This method calls Authlete's /api/auth/introspection/standard API. More...
 
- Public Member Functions inherited from BaseRequestHandler
 BaseRequestHandler (IAuthleteApi api)
 Constructor with an implementation of the IAuthleteApi interface. The given value can be referred to as the value of the Api property later. More...
 

Additional Inherited Members

- Protected Member Functions inherited from BaseRequestHandler
HttpResponseMessage UnknownAction (string apiPath)
 A utility method to generate an HttpResponseMessage instance with "500 Internal Server Error" and an error message in JSON. This method is expected to be used when the value of the "action" parameter in a response from an Authlete API holds an unexpected value. More...
 
- Properties inherited from BaseRequestHandler
IAuthleteApi Api [get]
 The implementation of the IAuthleteApi interface. It is the value given to the constructor. More...
 

Detailed Description

Handler for requests to an introspection endpoint (RFC 7662).

Constructor & Destructor Documentation

◆ IntrospectionRequestHandler()

Constructor.

Parameters
apiAn implementation of the IAuthleteApi interface.

Member Function Documentation

◆ Handle()

async Task<HttpResponseMessage> Handle ( string  parameters)
inline

Handle an introspection request. This method calls Authlete's /api/auth/introspection/standard API.

Returns
An HTTP response that should be returned from the introspection endpoint implementation to the client application.
Parameters
parametersRequest parameters of an introspection request.
Exceptions
AuthleteApiException

The documentation for this class was generated from the following file: