We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 917192c commit 3cff283Copy full SHA for 3cff283
doc/security.md
@@ -41,11 +41,14 @@ The following sample code authenticates as an installation using [lcobucci/jwt 4
41
to generate a JSON Web Token (JWT).
42
43
```php
44
+use Github\HttpClient\Builder;
45
use Lcobucci\JWT\Configuration;
46
use Lcobucci\JWT\Encoding\ChainedFormatter;
47
use Lcobucci\JWT\Signer\Key\LocalFileReference;
48
use Lcobucci\JWT\Signer\Rsa\Sha256;
49
50
+$builder = new Builder(new GuzzleHttp\Client());
51
+
52
$github = new Github\Client($builder, 'machine-man-preview');
53
54
$config = Configuration::forSymmetricSigner(
0 commit comments