You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/v3/oauth_authorizations.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,9 @@ title: Authorizations | GitHub API
7
7
* TOC
8
8
{:toc}
9
9
10
-
There is an API for users to manage their own tokens. You can only access your
11
-
own tokens, and only via[Basic Authentication](/v3/auth#basic-authentication).
12
-
(Make sure you understand how to[work with two-factor
13
-
authentication](/v3/auth/#working-with-two-factor-authentication) if you or your
14
-
users have two-factor authentication enabled.)
10
+
You can use this API to manage your OAuth applications. You can only access this API via[Basic Authentication](/v3/auth#basic-authentication) using your username and password, not tokens.
11
+
12
+
Make sure you understand how to[work with two-factor authentication](/v3/auth/#working-with-two-factor-authentication) if you or your users have two-factor authentication enabled.
15
13
16
14
##List your authorizations
17
15
@@ -148,9 +146,9 @@ will return `404 NOT FOUND`.
148
146
149
147
OAuth applications can use this API method to reset a valid OAuth token without
150
148
end user involvement. Applications must save the "token" property in the
151
-
response, because changes take effect immediately. You must use
149
+
response, because changes take effect immediately. You must use
152
150
[Basic Authentication](/v3/auth#basic-authentication) when accessing it, where
153
-
the username is the OAuth application`client_id` and the password is its
151
+
the username is the OAuth application`client_id` and the password is its
154
152
`client_secret`. Invalid tokens will return`404 NOT FOUND`.
155
153
156
154
POST /applications/:client_id/tokens/:access_token