btimby / cloudstrype

Personal cloud
MIT License
3 stars 0 forks source link

Save tokens in OAuth2APIClient. #13

Closed btimby closed 7 years ago

btimby commented 7 years ago

Subclasses can then save custom data with the token. For example, box API client can create the paths .cloudstrype/{00..ff}/ for saving data into, then save the IDs for these directories (to save round-trips later).

btimby commented 7 years ago

Added dict serialization and deserialization to model. Simplifies saving and loading.