name | example | route | scope | type |
---|---|---|---|---|
Get the authenticated user |
octokit.rest.users.getAuthenticated() |
GET /user |
users |
API method |
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();
This endpoint has no parameters
See also: GitHub Developer Guide documentation.