File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,9 @@ OAuth2 Token (sent as a parameter):
153153$ curl https://api.github.com?access_token=OAUTH-TOKEN
154154</pre >
155155
156- Read [ more about OAuth2] ( /v3/oauth/ ) .
156+ Read [ more about OAuth2] ( /v3/oauth/ ) . Note that OAuth2 tokens can be [ acquired
157+ programmatically] ( /v3/oauth/#create-a-new-authorization ) , for applications that
158+ are not websites.
157159
158160## Pagination
159161
Original file line number Diff line number Diff line change @@ -72,9 +72,12 @@ The access token allows you to make requests to the API on a behalf of a user.
7272
7373 GET https://api.github.com/user?access_token=...
7474
75- ## Desktop Application Flow
75+ ## Non-Web Application Flow
7676
77- Use basic authentication for now...
77+ Use basic authentication to create an OAuth2 token using the [ interface
78+ below] ( /v3/oauth#creating-a-new-authorization ) . With this tecnique, a username
79+ and password need not be stored permanently, and the user can revoke access at
80+ any time.
7881
7982## Redirect URLs
8083
You can’t perform that action at this time.
0 commit comments