laravel sanctum Provoking tokens

33

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

// Revoke a specific token...
$user->tokens()->where('id', $tokenId)->delete();

Comments

Submit
0 Comments