-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature token introspection #12
base: master
Are you sure you want to change the base?
Feature token introspection #12
Conversation
Add getResourceOwnFromIntrospectedToken to allow ResourceOwner to have more informations like user Roles
Update example to use getResourceOwnerFromIntrospectedToken
Update Readme for getResourceOwnerFromIntrospectedToken
{ | ||
return $this->getBaseUrlWithRealm() . '/protocol/openid-connect/token/introspect'; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
With this token introspection would finally work!
I've invited @mstefan21 as a collaborator on this project. He may be able to evaluate this and push it through. |
@@ -154,6 +168,23 @@ private function getBaseLogoutUrl() | |||
return $this->getBaseUrlWithRealm() . '/protocol/openid-connect/logout'; | |||
} | |||
|
|||
private function fetchIntrospectToken(AccessToken $token) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix your code, to same coding style (opening bracet on new line) and fill PHPDoc
This Merge Request allow the ressourceOwner to get more informations about user by token introspection.