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

Call Authlete /api/auth/authorization/issue 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.

subject: string

The subject (= unique identifier) of the end-user.

authTime: number

The time at which the end-user was authenticated. The value should be seconds since the Unix epoch (1970-Jan-1).

acr: string | null

The Authentication Context Class Reference performed for the end-user authentication.

sub: string | null

The value of the "sub" claim which is embedded in an ID token. If this argument is null, the value of 'subject' will be used instead.

claims: { [key: string]: any; } | null

The claims about the end-user.

properties: Property[] | null

Arbitrary properties to be associated with an access token and/or an authorization code.

scopes: string[] | null

Scopes to be associated with an access token and/or an authorization code.