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

The next action that the service implementation should take.

Members

BAD_REQUEST

The request from the caller was wrong. For example, this happens when the accessToken request parameter was missing.

FORBIDDEN

The request from the caller was not allowed. For example, this happens when the access token identified by the accessToken request parameter does not belong to the service identified by the API key used for the API call.

INTERNAL_SERVER_ERROR

An error occurred on Authlete side.

NOT_FOUND

The specified access token does not exist.

OK

The access token was updated successfully.