Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
enum UserInfoIssueResponse.Action
import { UserInfoIssueResponse } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";
const { Action } = UserInfoIssueResponse;

The next action that the service implementation should take.

Members

BAD_REQUEST

The request does not contain an access token. The service implementation should return "400 Bad Request" to the client application.

FORBIDDEN

The access token does not cover the required scopes. To be concrete, the access token does not include the "openid" scope. The service implementation should return "403 Forbidden" to the client application.

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.

JSON

The access token was valid and a userinfo response was generated successfully in JSON format. The service implementation should return "200 OK" to the client application with the content type "application/json;charset=UTF-8".

JWT

The access token was valid and a userinfo response token was generated successfully in JWT format. The service implementation should return "200 OK" to the client application with the content type "application/jwt".

UNAUTHORIZED

The access token does not exist or has expired. The service implementation should return "401 Unauthorized" to the client application.

Members

BAD_REQUEST

The request does not contain an access token. The service implementation should return "400 Bad Request" to the client application.

FORBIDDEN

The access token does not cover the required scopes. To be concrete, the access token does not include the "openid" scope. The service implementation should return "403 Forbidden" to the client application.

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.

JSON

The access token was valid and a userinfo response was generated successfully in JSON format. The service implementation should return "200 OK" to the client application with the content type "application/json;charset=UTF-8".

JWT

The access token was valid and a userinfo response token was generated successfully in JWT format. The service implementation should return "200 OK" to the client application with the content type "application/jwt".

UNAUTHORIZED

The access token does not exist or has expired. The service implementation should return "401 Unauthorized" to the client application.