deno.land / x / oauth4webapi@v1.2.2 / docs / functions / userInfoRequest.md

userInfoRequest.md

Function: userInfoRequest

💗 Help the project

â–¸ userInfoRequest(as, client, accessToken, options?): Promise<Response>

Performs a UserInfo Request at the as.userinfo_endpoint.

Authorization Header is used to transmit the Access Token value.

see OpenID Connect Core 1.0

see draft-ietf-oauth-dpop-10 - OAuth 2.0 Demonstrating Proof-of-Possession at the Application Layer (DPoP)

Parameters

Name Type Description
as AuthorizationServer Authorization Server Metadata.
client Client Client Metadata.
accessToken string Access Token value.
options? UserInfoRequestOptions -

Returns

Promise<Response>

oauth4webapi

Version Info

Tagged at
2 years ago