-
Notifications
You must be signed in to change notification settings - Fork 184
Add support for refreshing Azure tokens. #77
Conversation
We use tox to test |
Thanks, filed kubernetes-client/python#579 for requirements.txt |
config/kube_config.py
Outdated
client_id = config['client-id'] | ||
token_response = context.acquire_token_with_refresh_token( | ||
refresh_token, client_id, '00000002-0000-0000-c000-000000000000') | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the CI pycodestyle complains about blank line containing whitespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed....
Codecov Report
@@ Coverage Diff @@
## master #77 +/- ##
=========================================
- Coverage 93.14% 91.85% -1.3%
=========================================
Files 11 11
Lines 977 994 +17
=========================================
+ Hits 910 913 +3
- Misses 67 81 +14
Continue to review full report at Codecov.
|
/lgtm |
@roycaihw
This requires an update to the 'requirements.txt' to import the
adal
library, but it appears that is in a different repo?@roycaihw is there advice for how to add dependencies?
Thanks!