First, your two lib OAuth1 & 2 are awesome: that's exactly what I'm looking for : simple, clear & clean (after struggling with the HWIOAuthBundle, it's a big change).
I need both library in my app (for twitter & facebook authentication) so: is there a plan to unify or at least create some common interfaces between the two lib because OAuth2..\AbstractProvider and OAuth1...\Server for example have a lot of common behaviors ?
Is it a good idea ? Is it even possible ? Is it planned ? I understand that Twitter will someday change to OAuth2 so it's not a priority.
Today I'm working on a Bridge pattern for encapsulating each Provider. In this way my security layer (in symfony2) will deal with only one type of object.
Hello,
First, your two lib OAuth1 & 2 are awesome: that's exactly what I'm looking for : simple, clear & clean (after struggling with the HWIOAuthBundle, it's a big change).
I need both library in my app (for twitter & facebook authentication) so: is there a plan to unify or at least create some common interfaces between the two lib because OAuth2..\AbstractProvider and OAuth1...\Server for example have a lot of common behaviors ?
Is it a good idea ? Is it even possible ? Is it planned ? I understand that Twitter will someday change to OAuth2 so it's not a priority.
Today I'm working on a Bridge pattern for encapsulating each Provider. In this way my security layer (in symfony2) will deal with only one type of object.
Anyway, thanks for your opinion.