Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Modified content/v3/auth.md#765

Merged
hubot merged 1 commit intomasterfromupdate-1430853472
May 5, 2015
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletionscontent/v3/auth.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,14 +39,11 @@ $ curl -u <username> https://api.github.com/user

### Via OAuth Tokens

Alternatively, you can authenticate using [personal access
tokens][personal-access-tokens] or OAuth tokens. To do so, provide the token as
the username and provide a blank password or a password of `x-oauth-basic`. If
you're accessing the API via cURL, replace `<token>` with your OAuth token in
the following command:
Alternatively, you can use [personal access
tokens][personal-access-tokens] or OAuth tokens instead of your password.

<pre class='terminal'>
$ curl -u &lt;token&gt;:x-oauth-basic https://api.github.com/user
$ curl -u &lt;username&gt;:&lt;token&gt; https://api.github.com/user
</pre>

This approach is useful if your tools only support Basic Authentication but you
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp