Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Try to use AuthenticationServiceInterface for the Identity helper #155

Merged
merged 7 commits into from Dec 6, 2018
Merged

Try to use AuthenticationServiceInterface for the Identity helper #155

merged 7 commits into from Dec 6, 2018

Conversation

gszy
Copy link
Contributor

@gszy gszy commented Jun 17, 2018

src/Helper/Service/IdentityFactory.php Outdated Show resolved Hide resolved
@froschdesign froschdesign added this to the 2.10.1 milestone Jul 13, 2018
@gszy
Copy link
Contributor Author

gszy commented Jul 13, 2018

@froschdesign, updated.

@froschdesign froschdesign modified the milestones: 2.10.1, 2.11.0 Nov 12, 2018
@froschdesign
Copy link
Member

Please use the develop branch and add also an unit test for the factory. (Hint: look at your own PR on zend-mvc-plugin-identity 😉)

Thank you in advance!

@gszy gszy changed the base branch from master to develop November 20, 2018 12:22
@gszy gszy changed the title Try to use AuthenticationServiceInterface for the Identity helper WIP: Try to use AuthenticationServiceInterface for the Identity helper Nov 20, 2018
@gszy gszy changed the title WIP: Try to use AuthenticationServiceInterface for the Identity helper Try to use AuthenticationServiceInterface for the Identity helper Nov 20, 2018
gszy and others added 7 commits December 6, 2018 16:26
It supports both `AuthenticationService` and
`AuthenticationServiceInterface`.
Extracts the method `discoverAuthenticationService()` from
`IdentityFactory::__invoke()`, allowing removal of an if/else, and
simplifying the logic of the main factory method.
@weierophinney weierophinney dismissed froschdesign’s stale review December 6, 2018 22:36

Author provided changes as requested.

@weierophinney weierophinney merged commit fcdeea8 into zendframework:develop Dec 6, 2018
@weierophinney
Copy link
Member

Thanks, @gscscnd!

@gszy gszy deleted the use-authenticationserviceinterface-in-identity-view-helper branch December 7, 2018 09:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants