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.
2 parents 56c7e26 + 5323632 commit 7a7a1edCopy full SHA for 7a7a1ed
src/TokenGenerator.php
@@ -210,6 +210,6 @@ private function makeJwkThumbprint($dpop): string
210
private function getJwks() {
211
$key = $this->config->getKeys()->getPublicKey();
212
$jwks = new Jwks($key);
213
- return json_decode($jwks->__toString(), true);
+ return json_decode((string) $jwks, true);
214
}
215
src/Utils/Bearer.php
@@ -22,6 +22,9 @@
22
/**
23
* This class contains code to fetch the WebId from a request
24
* that is make in legacy mode (bearer token with pop)
25
+ *
26
+ * @ TODO: Make sure this code complies with the spec and validate the tokens properly;
27
+ * https://datatracker.ietf.org/doc/html/rfc7800
28
*/
29
class Bearer {
30
0 commit comments