Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth4webapi/src/index.ts>userInfoRequest

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
function userInfoRequest
import { userInfoRequest } from "https://deno.land/x/oauth4webapi@v2.17.0/src/index.ts";

Performs a UserInfo Request at the AuthorizationServer.userinfo_endpoint | as.userinfo_endpoint.

Authorization Header is used to transmit the Access Token value.

Parameters

Authorization Server Metadata.

client: Client

Client Metadata.

accessToken: string

Access Token value.

optional
options: UserInfoRequestOptions