forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement token autorefresh (Azure#21834)
* removed options bag, enabled and fixed tests * fix build problems * initial implementation of configurable autorefresh * python 2.7 compat changes * py27 compat changes * fixed linting problems + comments * py27 fixed flaky test * linting issues * CommunicationTokenCredential async implemenation & tests are added * split async code not to break py27 * lock issue for python 3.10 is fixed * asyncio.sleep in async tests are removed * test refactored * updates in _shared duplicated in chat * updates in _shared duplicated in sms * updates in _shared duplicated in networktraversal * updates in _shared duplicated in phonenumbers * lint issue fix in utils * python 2 compatibility fix for generate_token_with_custom_expiry & fixed sync tests termination * removed unneccasary user credential tests from sms,chat, networktraversal,phonenumber * reduced the default refresh interval (api review) * time renamed to interval (api review) * removed config for refresh time interval * sync changes across modalities * linting issues * linting issues * implemented fractional backoff + fixed tests * unify test with the sync version * fractional backoff tests + linting * added changelog records + bumped versions * Removed ayncio.Lock workaround for a bug in Python 3.10 * fixed linting issues * phonenumbers changelog updated * fixed PR comments * removed user_token_refresh_options from communication SDKs * fix cspell issues * type hinting fix * reverted back type hint fix * PR comment fix * reflected changes to the identity package & updated tests * added samples for CommunicationTokenCredential * renaming proactive refresh flag * latest PR comments fix * samples are refactored * reflecting shared folder changes to other modalitites * fixed a typo * fix for pypy threading issue * fixed test files * fixed latest PR comments Co-authored-by: Aigerim Beishenbekova <aigerimb@WIN-8O5AC9CE1AP.reddog.microsoft.com> Co-authored-by: Aigerim Beishenbekova <aigerimb@Aigerims-MacBook-Pro-2.local> Co-authored-by: Aigerim <aykobb@gmail.com> Co-authored-by: Aigerim Beishenbekova <aigerimb@microsoft.com>
- Loading branch information
1 parent
4e862ff
commit 7461ffd
Showing
57 changed files
with
2,550 additions
and
739 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.