import { TokenResponse } from "https://deno.land/x/authlete_deno@v1.2.7/src/dto/token_response.ts";
const { Action } = TokenResponse;
The next action that the service implementation should take.
Members
The token request from the client was wrong. The service
implementation should return '400 Bad Request'
to the
client application.
The request from the service was wrong or an error occurred
in Authlete. The service implementation should return '500 Internal Server Error'
to the client application.
Authentication of the client application failed. The service
implementation should return either "400 Bad Request"
or
"401 Unauthorized"
to the client application.
The token request from the client was valid. The service
implementation should return '200 OK'
to the client application
with an access token.