Skip to content

Commit a1d135c

Browse files
authored
minor #933 Fix: Missing auth method in list of omitted passwords. (tobyS)
This PR was merged into the 2.x branch. Discussion ---------- Commits ------- 9fbd6d1 Fix: Missing auth method in list of omitted passwords.
2 parents 8dac429 + 9fbd6d1 commit a1d135c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ and guess what should contain `$password`. The `$method` can contain one of the
2727
* `Github\Client::AUTH_JWT` - https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app
2828

2929
The required value of `$password` depends on the chosen `$method`. For `Github\Client::AUTH_URL_TOKEN`,
30-
`Github\Client::AUTH_HTTP_TOKEN` and `Github\Client::JWT` methods you should provide the API token in
30+
`Github\Client::AUTH_HTTP_TOKEN`, `Github\Client::AUTH_ACCESS_TOKEN` and `Github\Client::JWT` methods you should provide the API token in
3131
`$usernameOrToken` variable (`$password` is omitted in this particular case). For the
3232
`Github\Client::AUTH_HTTP_PASSWORD`, you should provide the password of the account. When using `Github\Client::AUTH_URL_CLIENT_ID`
3333
`$usernameOrToken` should contain your client ID, and `$password` should contain client secret.

0 commit comments

Comments
 (0)