Skip to content

Mdsf#50

Merged
usernamealreadyis merged 3 commits into
masterfrom
md
Jun 27, 2016
Merged

Mdsf#50
usernamealreadyis merged 3 commits into
masterfrom
md

Conversation

@usernamealreadyis

@usernamealreadyis usernamealreadyis commented Jun 27, 2016

Copy link
Copy Markdown

Check if an OAuth token is valid for a specific @app.
@GistIcon/bola @GistIcon/bola @GistIcon/ussernamealradyis
Note that this operation requires the use of BasicAuth, but where the username is the OAuth application clientID, and the password is its clientSecret. Invalid tokens will return a 404 Not Found.

The returned Authorization.User field will be populated.

but you can always use any other library that provides an http.Client. If you have an OAuth2 access token (for example, a personal API token), you can use it with the oauth2 library using:
@usernamealreadyis usernamealreadyis added this to the Bug 1130559 milestone Jun 27, 2016
@GistIcon GistIcon locked and limited conversation to collaborators Jun 27, 2016
@usernamealreadyis usernamealreadyis merged commit f48fe8d into master Jun 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant