Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 526 Bytes

getAuthenticated.md

File metadata and controls

21 lines (15 loc) · 526 Bytes
name example route scope type
Get the authenticated user
octokit.rest.users.getAuthenticated()
GET /user
users
API method

Get the authenticated user

OAuth app tokens and personal access tokens (classic) need the user scope in order for the response to include private profile information.

octokit.rest.users.getAuthenticated();

Parameters

This endpoint has no parameters

See also: GitHub Developer Guide documentation.