Completed
Pull Request — master (#12)
by
unknown
04:53
created
src/Provider/Keycloak.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
examples/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.