Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 798 Bytes

README.md

File metadata and controls

26 lines (14 loc) · 798 Bytes

When I started to use HybridAuth, I feel something was missing.

What if I want to have 2 twitter or 2 facebook account for my account ?

I would like to have more than one account, and be able to log in with only one provider.

The relationship between an account on your website and a Connection Provider should be N<->N

This is what I tried to do here.

To use this library, you just need to define 4 functions :

accountsFromProviderIdFunction getAccountFunction createAccountFunction addProviderToAccount

For more details, please look for https://github.com/ombr/MultiAuth-Examples-Doctrine

This library can be integrated into every project by just implementing this 4 functions.

You can change the behavior, just by modifying the implementation of these 4 function.

Hope you like it !