Open
Description
We have an API which integrates with Sharepoint, where ideally we don't obtain tokens for each API call.
But from what I can tell, there are no infra to handle expiring tokens/refreshing them.
Should I:
- just accept this, or
- refresh on expiry or
- do a PR for handing refresh or
- did miss something, and handling of this is handled somewhere?
PS. I'm basing this on this from TokenResponse:
def is_valid(self):
return self.accessToken is not None and self.tokenType == 'Bearer'
Seems not to check anything RE expiry