Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The expires_in attribute of AuthClient is never set #27

Open
vprusso opened this issue Jan 22, 2022 · 1 comment
Open

The expires_in attribute of AuthClient is never set #27

vprusso opened this issue Jan 22, 2022 · 1 comment

Comments

@vprusso
Copy link

vprusso commented Jan 22, 2022

self.expires_in = None

This value never appears to be updated anywhere in the project. So no matter when this variable is referenced--it will always be None. One would imagine that this would need to be updated at some point, right? Of course, I could be missing something here as well.

@indepndnt
Copy link

it's set by the call to send_request -- self is passed to that method, and the method applies the data retrieved from the API to as attributes of that object. expires_in is one of the keys in the object received from the calls to get or refresh a token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants