Skip to content

[WIP] Composite auth adapter #17

Description

@weierophinney

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:

  • Provide a way to use the composite adapter as a default one for all APIs
  • Integration Tests
  • Update the README

Originally posted by @stefanotorresi at zfcampus/zf-mvc-auth#76

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions