Answers for "laravel sanctum Provoking tokens"

PHP
0

laravel sanctum Provoking tokens

// Revoke all tokens...
$user->tokens()->delete();

// Revoke a specific token...
$user->tokens()->where('id', $tokenId)->delete();
Posted by: Guest on July-24-2021

Browse Popular Code Answers by Language