This PR updates the library to follow oauth best practices. The client ID, access token, and refresh token are encrypted with AES-256 encryption using the account password and then stored to disk. Tokens are automatically refreshed when we receive a 401 from the endpoints.
This PR updates the library to follow oauth best practices. The client ID, access token, and refresh token are encrypted with AES-256 encryption using the account password and then stored to disk. Tokens are automatically refreshed when we receive a 401 from the endpoints.