Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 675 Bytes

File metadata and controls

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

Get the authenticated user

If the authenticated user is authenticated with an OAuth token with the user scope, then the response lists public and private profile information.

If the authenticated user is authenticated through OAuth without the user scope, then the response lists only public profile information.

octokit.rest.users.getAuthenticated();

Parameters

This endpoint has no parameters

See also: GitHub Developer Guide documentation.