Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 872 Bytes

auth_and_cache.md

File metadata and controls

21 lines (12 loc) · 872 Bytes

Auth & Cache strategies

In order to help you manage authentication or cache systems, this lib provides you with useful strategies managements.

Since theses classes are register as event listener (it use the event dispatcher of Symfony), you can add multiple strategies of each feature.

The cache strategy

These classes implements the CacheStrategyInterface.

You register them using the method useCache of the ApiFactory.

The authentication strategy

These classes implements the AuthStrategyInterface.

You register them using the method useAuthentication of the ApiFactory.