Cache authenticated client session.
- Initialize client with an optional
cache_path
argument; sessions will be persisted when the path is provided; -
client.set_url()
will "switch" the default API URL; -
client.logout()
will invalidate session for the currently set URL.