Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 2faa052

Browse files
committed
publish latest docs
1 parent aefbcd0 commit 2faa052

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

v3/auth/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ <h3 id="via-username-and-password">Via Username and Password</h3>
6767
(cURL will prompt you to enter the password.)</p>
6868

6969
<pre class="terminal">
70-
curl -u <username> https://api.github.com/user
71-
70+
$ curl -u &lt;username&gt; https://api.github.com/user
71+
</pre>
7272

7373
### Via OAuth Tokens
7474

@@ -79,8 +79,8 @@ <h3 id="via-username-and-password">Via Username and Password</h3>
7979
the following command:
8080

8181
<pre class="terminal">
82-
curl -u <token>:x-oauth-basic https://api.github.com/user
83-
82+
$ curl -u &lt;token&gt;:x-oauth-basic https://api.github.com/user
83+
</pre>
8484

8585
This approach is useful if your tools only support Basic Authentication but you
8686
want to take advantage of OAuth access token security features.

0 commit comments

Comments
 (0)