Go to developer

SDKs / typescript / oauth

getOAuthUserInfo()

SERVERmethod@keyra/typescript-sdk

GET /oauth/userinfo with Bearer access_token. Optional — validate remains the trust boundary.

Signature

TypeScript
getOAuthUserInfo(accessToken: string): unknown

Parameters

ParameterTypeRequiredDescription
accessTokenstringRequired

Returns

unknown

Underlying API