tappleby / laravel-auth-token

Hooks into the laravel auth module and provides an auth token upon success. This token is really only secure in https environment. This main purpose for this module was to provide an auth token to javascript web app which could be used to identify users on api calls.
MIT License
255 stars 64 forks source link

Laravel 5 support #41

Open bocmanis2007 opened 10 years ago

bocmanis2007 commented 10 years ago

I have a problem by using Auth token package in laravel 4.3

Fix: Tappleby\AuthToken\AuthToken.php row 11. use \Illuminate\Contracts\Support\ArrayableInterface;

Tappleby\AuthToken\DatabaseAuthTokenProvider.php row 10. use \Illuminate\Contracts\Auth\User as UserInterface;

Tappleby\AuthToken\AuthTokenProviderInterface.php row 13. use \Illuminate\Contracts\Auth\User as UserInterface;

Tappleby\AuthToken\AuthTokenDriver.php row 10. use \Illuminate\Contracts\Auth\User as UserInterface;

when support for Laravel 4.3 will shows up?

tappleby commented 10 years ago

Laravel 4.3 support will show up a bit closer to its release date, 4.3 is still in development and things are subject to change.

The interface changes cause some issues for backwards compatibility with 4.2, need to look into the best method to handle this.

Hesesses commented 9 years ago

Do you have any estimates when this supports Laravel 5?

elynnaie commented 9 years ago

Laravel 5 has been officially released. Just wondering when we might expect an update to this project?

luimiruiz commented 9 years ago

I updated the package to support Laravel 5, here is my fork https://github.com/luimiruiz/laravel-auth-token

daniel-seitz commented 9 years ago

What about 5.1? Would you edit the README.md?

luimiruiz commented 9 years ago

Yes. You can use it with laravel 5.1.

On Fri, Aug 21, 2015, 1:31 PM didadan notifications@github.com wrote:

What about 5.1?

— Reply to this email directly or view it on GitHub https://github.com/tappleby/laravel-auth-token/issues/41#issuecomment-133505267 .

Mahmoudz commented 8 years ago

@luimiruiz Thanks :+1: