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

Use UserInterface from zend-expressive-authentication #12

Closed
pdrosos opened this issue Nov 20, 2017 · 2 comments
Closed

Use UserInterface from zend-expressive-authentication #12

pdrosos opened this issue Nov 20, 2017 · 2 comments

Comments

@pdrosos
Copy link

pdrosos commented Nov 20, 2017

@weierophinney
Could this be changed, so it uses the Zend\Expressive\Authentication\UserInterface instead?

$role = $request->getAttribute(AuthorizationInterface::class, false);

Would be great if it's with the changes from zendframework/zend-expressive-authentication#4, so user can have multiple roles.

@weierophinney
Copy link
Member

@pdrosos I think that was the plan from the beginning, but because we published this package first, we went with an interim solution.

@ezimuel, can you weigh in?

@ezimuel
Copy link
Contributor

ezimuel commented Nov 29, 2017

@pdrosos it's changed now with ver 0.2

@ezimuel ezimuel closed this as completed Nov 29, 2017
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

No branches or pull requests

3 participants