Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

laravel sanctum

return $user->createToken('token-name', ['server:update'])->plainTextToken;
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #sanctum
ADD COMMENT
Topic
Name
8+5 =