|
Protected Member Functions inherited from AuthorizationRequestBaseHandler |
async Task< HttpResponseMessage > | AuthorizationIssue (string ticket, string subject, long authTime, string acr, IDictionary< string, object > claims, Property[] properties, string[] scopes, string sub) |
| Call Authlete's /api/auth/authorization/issue API and generate an HttpResponseMessage instance according to the value of the "action" parameter in the response from the API. Read the description of AuthorizationIssueRequest for details about the parameters given to this method. More...
|
|
async Task< HttpResponseMessage > | AuthorizationFail (string ticket, AuthorizationFailReason reason) |
| Call Authlete's /api/auth/authorization/fail API and generate an HttpResponseMessage instance according to the value of the "action" parameter in the response from the API. Read the description of AuthorizationFailRequest for details about the parameters given to this method. 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 error cases of authorization requests.
A response from Authlete's /api/auth/authorization
API contains an "action"
response parameter. When the value of the response parameter is neither "NO_INTERACTION"
nor "INTERACTION"
, the authorization request should be handled as an error case. This class is a handler for such error cases.