Closed niro1987 closed 2 years ago
The changes look great, much clearer. A bit hesitant about that the cookie is updated on every request
A bit hesitant about that the cookie is updated on every request
Perhaps I could get rid of the _update_cookie
function and implement it's logic (requesting a new access token) into the cookie_login
function.
@persandstrom How about this?
The new solution would force the user to read installations when refreshing the cookie. Could you break out the refresh part to it's own function for now? After that we can merge the MR, which I believe is a nice refactoring so far.
Yes, you are right.
@persandstrom code updated accordingly, please review.
@persandstrom please review
Looks good!
Thanks. Anything left on your wish-list?
Not right now, thank you. Compared to v1 I believe that it is at a similar feature level.
Or, maybe, If you had some good examples of how to use the session API, I would appreciate if you could add it to the readme
@persandstrom What do you think of these chages so far?