You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
api-client HeaderAuthentication assumes that all Bearer tokens are valid.
When these token expire or are invalidated at the server,
Describe the solution you'd like
Add authenticate or bearer_authenticate method that defines how to get a valid Bearer token. Bonus: This method should implement backoff and error-handling.
Describe alternatives you've considered
Define and a BaseAuthentication class to contain the methods for getting an authorization.
Additional context
This is a hard request, and I am very interested in hearing what designs sound good to others.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
api-client
HeaderAuthentication assumes that all Bearer tokens are valid.When these token expire or are invalidated at the server,
Describe the solution you'd like
authenticate
orbearer_authenticate
method that defines how to get a valid Bearer token. Bonus: This method should implement backoff and error-handling.Describe alternatives you've considered
Additional context
This is a hard request, and I am very interested in hearing what designs sound good to others.
The text was updated successfully, but these errors were encountered: