symfony - Symfony2 RESTApi authentication architecture -


i'm planning on building single page applications polymer , angular.

as symfony2 developer searched bundle provides me json token authentication feature restapi.

so found 2 bundles:

https://github.com/friendsofsymfony/fosoauthserverbundle

and

https://github.com/lexik/lexikjwtauthenticationbundle

+

https://github.com/gfreeau/gfreeaugetjwtbundle

my main goal here log in user(username + password) without having redirect him other page, , of course give him access protected api methods

what pros , cons of each 1 ?

sry english.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -