Open Argonoize opened 1 month ago
I would like to have to ability to configure if I can display the Token index.
For auth:sanctum middleware it isn't necessary to give it the Token index
With a small adjustment $token = $user->createToken('auth_token')->plainTextToken; $tokenValue = explode('|', $token, 2)[1];
You are able to Display just the token without the index.
Would be great to have this configuration
I would like to have to ability to configure if I can display the Token index.
For auth:sanctum middleware it isn't necessary to give it the Token index
With a small adjustment $token = $user->createToken('auth_token')->plainTextToken; $tokenValue = explode('|', $token, 2)[1];
You are able to Display just the token without the index.
Would be great to have this configuration