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 b6a7c4a commit f20dbacCopy full SHA for f20dbac
src/Introspect.php
@@ -29,8 +29,14 @@ protected function getIntrospectionResult()
29
return $this->result;
30
}
31
32
+ $token = $this->request->bearerToken();
33
+
34
+ if (empty($token)) {
35
+ throw new AuthenticationException();
36
+ }
37
38
try {
- $this->result = $this->client->introspect($this->request->bearerToken());
39
+ $this->result = $this->client->introspect($token);
40
} catch (RequestException $e) {
41
if ($e->hasResponse()) {
42
$result = json_decode((string) $e->getResponse()->getBody(), true);
0 commit comments