public static function clear_authentication() { self::$oauth = new PodioOAuth(); if (self::$session_manager) { self::$session_manager->set(self::$oauth, self::$auth_type); } }