Skip to main content
Module

x/authlete_deno/mod.ts>User

Authlete Library for Deno
Go to Latest
interface User
Re-export
import { type User } from "https://deno.land/x/authlete_deno@v1.2.9/mod.ts";

An interface that represents a resource owner (in the context of OAuth 2.0) or an end user (in the context of OpenID Connect).

Properties

subject: string

The subject (= unique identifier) of the user.

Methods

getClaim(claimName: string, languageTag?: string): any

Get the value of a claim of the user.

getAttribute(attributeName: string): any

The value of an attribute of the user.