Skip to main content
Go to Latest
class AuthorizationRequestErrorHandler
import { AuthorizationRequestErrorHandler } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";

Handler for error cases of authorization requests.

A response from Authlete /api/auth/authorization API contains an action response parameter. When the value of the response parameter is neither NO_INTERACTION nor INTERACTION, the authorization request should be handled as an error case. This class is a handler for such error cases.

Methods

Handle an error case of an authorization request.

NOTE: Don't call this method when the value of the action parameter of the response is neither NO_INTERACTION nor INTERACTION.