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 3b6003e commit 46c9988Copy full SHA for 46c9988
mercure.rst
@@ -403,7 +403,7 @@ And here is the controller::
403
$token = (new Builder())
404
// set other appropriate JWT claims, such as an expiration date
405
->set('mercure', ['subscribe' => "http://example.com/user/$username"]) // could also include the security roles, or anything else
406
- ->sign(new Sha256(), this->getParameter('mercure_secret_key')) // don't forget to set this parameter! Test value: aVerySecretKey
+ ->sign(new Sha256(), $this->getParameter('mercure_secret_key')) // don't forget to set this parameter! Test value: aVerySecretKey
407
->getToken();
408
409
$response = $this->json(['@id' => '/demo/books/1', 'availability' => 'https://schema.org/InStock']);
0 commit comments