public function logout($forceForever = false)
    {
        $this->requireToken()->invalidate($forceForever);

        $this->user = null;
        $this->jwt->unsetToken();
    }
public function logout($forceForever = false)
    {
        $this->requireToken()->invalidate($forceForever);

        $this->user = null;
        $this->jwt->unsetToken();
    }
public function logout ( $ forceForever = false ) { $ this -> requireToken ( ) -> invalidate ( $ forceForever ) ; $ this -> user = null ; $ this -> jwt -> unsetToken ( ) ; }
Logout the user, thus invalidating the token.

@param  bool  $forceForever

@return void
Logout the user thus invalidating the token .