app/Http/Controllers/AuthController.php
/**
     * Log the user out (Invalidate the token).
     *
     * @return \Illuminate\Http\JsonResponse
     */
Log the user out (Invalidate the token).
Log the user out ( Invalidate the token ) .
public function logout()
    {
        auth()->logout();
        return response()->json(['message' => __('auth.logout')]);
    }
public function logout ( ) { auth ( ) -> logout ( ) ; return response ( ) -> json ( [ 'message' => __ ( 'auth.logout' ) ] ) ; }
Log the user out (Invalidate the token).
Log the user out ( Invalidate the token ) .