Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wallforfry
Copy link

This Merge Request allow the ressourceOwner to get more informations about user by token introspection.

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';
}

Copy link

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!

@stevenmaguire
Copy link
Owner

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) {
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants