I
I
Ivan Kondratiev2016-05-24 08:56:58
Laravel
Ivan Kondratiev, 2016-05-24 08:56:58

How to get api_token in laravel 5.2?

In laravel 5.2 there was a possibility of authorization through a token API Token Authentication in Laravel 5.2
I've been trying to figure out how to get this token all morning?
The code below is not suitable because it brings the user into the session

Auth::attempt(['email' => $email, 'password' => $password])

Tell me how to get a token by login and password?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Kondratiev, 2016-05-24
@inik23

Dug up the answer, if anyone is interested
, it's here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question