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

The next action that the service implementation should take.

Members

NO_ACTION

The OpenID provider implementation does not have to take any immediate action for this API response. The remaining task is just to handle polling requests from the client to the token endpoint. This action code is returned when the backchannel token delivery mode is poll.

NOTIFICATION

The OpenID provider implementation must send a notification to the client's notification endpoint. This action code is returned when the backchannel token delivery mode is ping or push.

SERVER_ERROR

An error occurred either because the ticket included in the API call was invalid or because an error occurred on Authlete side.

If an error occurred after Authlete succeeded in retrieving data associated with the ticket from the database and if the backchannel token delivery mode is ping or push, NOTIFICATION is used as the value of action instead of SERVER_ERROR. In the case, responseContent contains "error":"server_error".