@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | */ |
| 142 | 142 | public function getIntrospectTokenUrl(AccessToken $token) |
| 143 | 143 | { |
| 144 | - return $this->getBaseUrlWithRealm() . '/protocol/openid-connect/token/introspect'; |
|
| 144 | + return $this->getBaseUrlWithRealm().'/protocol/openid-connect/token/introspect'; |
|
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 | /** |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | */ |
| 166 | 166 | private function getBaseLogoutUrl() |
| 167 | 167 | { |
| 168 | - return $this->getBaseUrlWithRealm() . '/protocol/openid-connect/logout'; |
|
| 168 | + return $this->getBaseUrlWithRealm().'/protocol/openid-connect/logout'; |
|
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | private function fetchIntrospectToken(AccessToken $token) { |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | // Or get more information with token Introspection |
| 48 | 48 | $user = $provider->getResourceOwnerFromIntrospectedToken($token); |
| 49 | 49 | // Use these details for user roles |
| 50 | - echo '<pre>'. var_export($user->toArray()["realm_access"]).'</pre>'; |
|
| 50 | + echo '<pre>'.var_export($user->toArray()["realm_access"]).'</pre>'; |
|
| 51 | 51 | |
| 52 | 52 | } catch (Exception $e) { |
| 53 | 53 | exit('Failed to get resource owner: '.$e->getMessage()); |