You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #892 Don't use deprecated auth in examples (GrahamCampbell)
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
`AUTH_HTTP_TOKEN` is deprecated, and all examples should instead use `AUTH_ACCESS_TOKEN`.
Commits
-------
e851bd0 Don't use deprecated auth in example
5f1e6f7 Update security.md
Copy file name to clipboardExpand all lines: doc/security.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -51,11 +51,11 @@ Note however that GitHub describes this method as deprecated. In most case you s
51
51
### Authenticating as an Integration
52
52
53
53
To authenticate as an integration you need to supply a JSON Web Token with `Github\Client::AUTH_JWT` to request
54
-
and installation access token which is then usable with `Github\Client::AUTH_HTTP_TOKEN`. [Github´s integration
54
+
and installation access token which is then usable with `Github\Client::AUTH_ACCESS_TOKEN`. [Github´s integration
55
55
authentication docs](https://developer.github.com/apps/building-github-apps/authentication-options-for-github-apps/#authenticating-as-a-github-app) describe the flow in detail.
56
56
It´s important for integration requests to use the custom Accept header `application/vnd.github.machine-man-preview`.
57
57
58
-
The following sample code authenticates as an installation using [lcobucci/jwt](https://github.com/lcobucci/jwt/tree/3.2.0)
58
+
The following sample code authenticates as an installation using [lcobucci/jwt](https://github.com/lcobucci/jwt/tree/3.3.2)
0 commit comments