I looked at a tutorial for getting requests with Laravel. But I do not get the Token. Any ideas?
$user->createToken('app')->accessToken;
I am Getting
"token": {
"name": "app",
"abilities": [
"*"
],
But it should be like a long cryptic string
I used this to create token value
$token=Str::random(64);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.