Handler for requests to an introspection endpoint (RFC 7662).
More...
|
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...
|
|
Handler for requests to an introspection endpoint (RFC 7662).
◆ IntrospectionRequestHandler()
Constructor.
- Parameters
-
api | An implementation of the IAuthleteApi interface. |
◆ 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
-
parameters | Request parameters of an introspection request. |
- Exceptions
-
The documentation for this class was generated from the following file:
- Authlete/Handler/IntrospectionRequestHandler.cs