Skip to content

Refactor creation of authorization request by extracting to method - #1111

Merged
Sephster merged 2 commits into
thephpleague:9.0.0-WIPfrom
lordrhodos:move-authorization-request-creation-into-own-function
Apr 18, 2020
Merged

Refactor creation of authorization request by extracting to method#1111
Sephster merged 2 commits into
thephpleague:9.0.0-WIPfrom
lordrhodos:move-authorization-request-creation-into-own-function

Conversation

@lordrhodos

Copy link
Copy Markdown

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