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

The next action that the service implementation should take.

Members

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.

NOT_EXIST

The user code does not exist. The authorization server implementation should tell the end-user that the user code is invalid and urge her to retry to input a valid user code.

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.

VALID

The user code is valid. This means that the user code exists, has not expired, and belongs to the service. The authorization server implementation should interact with the end-user to ask whether she approves or rejects the authorization request from the device.