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

The next action that the service implementation should take.

Members

BAD_REQUEST

The backchannel authentication request is invalid. The authorization server implementation should return an error response with 400 Bad Request and application/json to the client application.

INTERNAL_SERVER_ERROR

The API call from the authorization server implementation was wrong or an error occurred on Authlete side. The authorization server implementation should return an error response with 500 Internal Server Error and application/json to the client application.

UNAUTHORIZED

Client authentication of the backchannel authentication request failed. The authorization server implementation should return an error response with 401 Unauthorized and application/json to the client application.

USER_IDENTIFICATION

The backchannel authentication request was valid. The authorization server implementation is required to (1) identify the subject of the end-user from the given hint, (2) issue auth_req_id to the client application, (3) communicate with an authentication device of the end-user to perform end-user authentication and authorization, etc. See the API document of BackchannelAuthenticationResponse for details.