Skip to content

Commit

Permalink
Merge pull request github-tools#99 from michael/edit-readme
Browse files Browse the repository at this point in the history
Edit "auth" on reamde
  • Loading branch information
michael committed Jan 6, 2014
2 parents 9c990a0 + 4c4e9cc commit 5283017
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@ Create a Github instance.
```js
var github = new Github({
username: "YOU_USER",
password: "YOUR_PASSWORD"
password: "YOUR_PASSWORD",
auth: "basic"
});
```

Or if you prefer OAuth, it looks like this:

```js
var github = new Github({
token: "OAUTH_TOKEN"
token: "OAUTH_TOKEN",
auth: "oauth"
});
```

Expand Down

0 comments on commit 5283017

Please sign in to comment.