Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Mar. 2nd 2016

What's New in Laravel 5.2: Token-Based Authentication

Episode 5 Run Time 17:46

Download

Laravel 5.2 now includes support for multiple authentication systems. For instance, maybe you want your web users to sign in with the traditional session-based setup that you've been using for years. But what about the API you offer? A login form doesn't make much sense in that case. Instead, we can opt for a different driver all together; a token-based driver.

View the route snippet for this lesson on GitHub.