Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method AuthorizationRequestBaseHandler.prototype.authorizationFail
Re-export
import { AuthorizationRequestBaseHandler } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";

Call Authlete /api/auth/authorization/fail API and generate an instance of Deno's standard Response class (defined in https://deno.land/std/http/server.ts) according to the value of the action parameter in the response from the API.

Parameters

ticket: string

An ticket issued by Authlete /auth/authorization API.

reason: Reason

The reason of the failure of the authorization request.