$tokens = $user->tokens->pluck('id'); Token::whereIn('id', $tokens) ->update(['revoked', true]); RefreshToken::whereIn('access_token_id', $tokens)->update(['revoked' => true]);
$tokens = $user->tokens->pluck('id'); Token::whereIn('id', $tokens) ->update(['revoked', true]); RefreshToken::whereIn('access_token_id', $tokens)->update(['revoked' => true]);