lundi 23 novembre 2015

Invision Power Board (IPB) implimentation in Laravel 5.1 - Custom authentication

I want to use IPS's authentication in Laravel.

I'd like to extend Laravel's Guard or UserProvider to allow me to login and logout of IPS and also be able to check authentication there. IPS would be the master and Laravel would act like a slave service.

So Laravel implementation would not actually have a user's table in database, it'll just interact with IPB's SDK and at most keep a cookie.

I am confused about how to go about this implementation. I know I need to create a auth service provider and then extend guard or user provider to do this but I need some example.

Actually right now I am just looking to create a dummy service, which if I call would give me a random user or not logged in info.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire