Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
enum DeviceCompleteResponse.Action
import { DeviceCompleteResponse } from "https://deno.land/x/authlete_deno@v1.2.9/src/dto/device_complete_response.ts";
const { Action } = DeviceCompleteResponse;

The next action that the service implementation should take.

Members

INVALID_REQUEST

The API call is invalid. Probably, the authorization server implementation has some bugs.

SERVER_ERROR

An error occurred on Authlete side. The authorization server implementation should tell the end-user that something wrong happened and urge her to re-initiate a device flow.

SUCCESS

The API call has been processed successfully. The authorization server should return a successful response to the web browser the end-user is using.

USER_CODE_EXPIRED

The user code has expired. The authorization server implementation should tell the end-user that the user code has expired and urge her to re-initiate a device flow.

USER_CODE_NOT_EXIST

The user code does not exist. The authorization server implementation should tell the end-user that the user code has been invalidated and urge her to re-initiate a device flow.