dwavesystems / dwavesystems/dwave-cloud-client
Add `AuthFlow` as token/auth source for `LeapAccount`/`LeapAPIClient`
Open
feature
- Dominant language
- Python
- Stars
- 63
- Forks
- 44
- Avg merge
- 13h 45m
- Merged PRs (30d)
- 1
Description
Perhaps add `.from_auth_flow()` or similar:
```
flow = LeapAuthFlow.from_config(...)
account = LeapAccount.from_auth_flow(flow)
```
In addition (perhaps in a separate issue/pr), ensure token is refreshed when request fails with `Unauthorized`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.