We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9c990a0 + 4c4e9cc commit 5283017Copy full SHA for 5283017
1 file changed
README.md
@@ -24,15 +24,17 @@ Create a Github instance.
24
```js
25
var github = new Github({
26
username: "YOU_USER",
27
- password: "YOUR_PASSWORD"
+ password: "YOUR_PASSWORD",
28
+ auth: "basic"
29
});
30
```
31
32
Or if you prefer OAuth, it looks like this:
33
34
35
- token: "OAUTH_TOKEN"
36
+ token: "OAUTH_TOKEN",
37
+ auth: "oauth"
38
39
40
0 commit comments