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

Request to Authlete /auth/userinfo/issue API

Properties

optional
claims: string

The claims of the end-user (= pieces of information about the end-user) in JSON format.

The authorization server implementation is required to retrieve claims of the subject (= information about the end-user) from its database and format them in JSON format.

For example, if given_name claim, family_name claim and email claim are requested, the authorization server implementation should generate a JSON object like the following and set this claims property to its string representation.

{
  "given_name": "Takahiko",
  "family_name": "Kawasaki",
  "email": "takahiko.kawasaki@example.com"
}

For more details, see OpenID Connect Core 1.0, 5.1. Standard Claims.

optional
sub: string

The value of the "sub" claim. If a non-empty value is given, it is used as the value of the "sub" claim. Otherwise, the value of the subject associated with the access token is used.

optional
token: string

The access token which has been issued by Authlete. The access token is the one that has come along with the userinfo request from the client application.