Airship\Engine\Bolt\Security::completeLogOut PHP Method

completeLogOut() public method

Completely wipe all authentication mechanisms (Session, Cookie)
public completeLogOut ( ) : boolean
return boolean
    public function completeLogOut() : bool
    {
        if (!$this->airship_auth instanceof Authentication) {
            $this->tightenSecurityBolt();
        }
        $_SESSION = [];
        Cookie::setcookie('airship_token', null);
        Session::regenerate(true);
        return true;
    }