Skip to main content
Latest
enum AuthorizationResponse.Action
import { AuthorizationResponse } from "https://deno.land/x/authlete_deno@v1.2.10/mod.ts";
const { Action } = AuthorizationResponse;

Members

BAD_REQUEST

The authorization request was wrong and the service implementation should notify the client application of the error by '400 Bad Request'.

FORM

The authorization request was wrong and the service implementation should notify the client application of the error by '200 OK' with an HTML which triggers redirection by JavaScript.

For more details, see OAuth 2.0 Form Post Response Mode.

INTERACTION

The authorization request was valid and the service implementation should display UI to ask for authorization from the end-user.

INTERNAL_SERVER_ERROR

The request from the service implementation was wrong or an error occurred in Authlete. The service implementation should return '500 Internal Server Error' to the client application.

LOCATION

The authorization request was wrong and the service implementation should notify the client application of the error by '302 Found'.

NO_INTERACTION

The authorization request was valid and the service implementation should issue an authorization code, an ID token and/or an access token without interaction with the end-user.