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

Refactor creation of authorization request by extracting to method #1111

Conversation

lordrhodos
Copy link

This PR extracts the creation of the AuthorizationRequest to a dedicated factory function in AbstractAuthorizeGrant::createAuthorizationRequest. This allows to easily override the factory method if you want to use a custom implementation of AuthorizationRequestInterface

Related to discussions going on in PRs #1110 and #1003

Patrick Rodacker and others added 2 commits April 17, 2020 07:38
@Sephster Sephster merged commit 21d1f9a into thephpleague:9.0.0-WIP Apr 18, 2020
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.

2 participants