Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oauth4webapi/mod.ts>userInfoRequest

OAuth 2 / OpenID Connect for JavaScript Runtimes
Go to Latest
function userInfoRequest
import { userInfoRequest } from "https://deno.land/x/oauth4webapi@v2.7.0/mod.ts";

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

Authorization Header is used to transmit the Access Token value.

Parameters

as: AuthorizationServer

Authorization Server Metadata.

client: Client

Client Metadata.

accessToken: string

Access Token value.

optional
options: UserInfoRequestOptions