[Laravel 5] Custom auth in laravel 5 with session tracking in auth service provi...

Hi. I'm using Laravel to build a frontend to a server which is running a json-rpc based API. So I made json-rpc provider that performs requests from laravel frontend to server backend. But server requires authentication: "user_login" method request with "login", "password" credentials and if success server returns "token" which I have to put in every next request. Can't get how to pass "token" to each request and where to store it?

astlin
astlin
  • 1 week ago