-
Notifications
You must be signed in to change notification settings - Fork 13
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
Token request attribute configurable #89
Token request attribute configurable #89
Conversation
On PHP 7.1: There was 1 failure:
|
* @param ResourceServerInterface $resourceServer | ||
*/ | ||
public function __construct(ResourceServerInterface $resourceServer) | ||
public function __construct(ResourceServerInterface $resourceServer, ServerOptions $serverOptions) |
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.
Maybe allow null for server options and use default then?
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.
yeah, I saw too this but didn't want to change it all over the place again.
But if I do I think it is be better to simply pass the option itself, unless there are more then 3 or 4 constructor arguments or the instance needs to pass them on to other dependencies. What do you think?
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.
Ok
3abf61d
to
bbbe022
Compare
No description provided.