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

The next action that the service implementation should take.

Members

BAD_REQUEST

The implementation of the backchannel authentication endpoint should return a 400 Bad Request response to the client application.

FORBIDDEN

The implementation of the backchannel authentication endpoint should return a 403 Forbidden response to the client application.

This value is used only when the reason request parameter of the API call was ACCESS_DENIED.

INTERNAL_SERVER_ERROR

The implementation of the backchannel authentication endpoint should return a 500 Internal Server Error response to the client application. However, in most cases, commercial implementations prefer to use other HTTP status code than 5xx.

This value is used when (1) the reason request parameter of the API call was SERVER_ERROR, (2) an error occurred on Authlete side, or (3) the request parameters of the API call were wrong.