As originally proposed in #65
This PR adds the possibility to use multiple authentication adapters under the same type.
It also introduces an AdapterAbstractFactory that allows to retrieve each adapter from the ServiceManager under the naming convention zf-mvc-auth-authentication-adapters-{type}.
This enables a new method to register custom adapters: using a service name the adapter key of a named adapter configuration.
TO-DO:
Originally posted by @stefanotorresi at zfcampus/zf-mvc-auth#76
As originally proposed in #65
This PR adds the possibility to use multiple authentication adapters under the same
type.It also introduces an
AdapterAbstractFactorythat allows to retrieve each adapter from theServiceManagerunder the naming conventionzf-mvc-auth-authentication-adapters-{type}.This enables a new method to register custom adapters: using a service name the
adapterkey of a named adapter configuration.TO-DO:
Originally posted by @stefanotorresi at zfcampus/zf-mvc-auth#76