Skip to content

Cache authenticated client session.

Danil Kister requested to merge 5-cache-auth-token into master

@murphy as requested by Arek:

  • 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.

Merge request reports