-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Implement token autorefresh #21834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
LuChen-Microsoft
merged 52 commits into
Azure:main
from
petrsvihlik:petrsvihlik/feature/autorefresh
Jun 3, 2022
Merged
Implement token autorefresh #21834
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
e195168
removed options bag, enabled and fixed tests
petrsvihlik 0cc9878
fix build problems
petrsvihlik 0f91e80
initial implementation of configurable autorefresh
petrsvihlik b375e2f
python 2.7 compat changes
petrsvihlik 2e26dfb
py27 compat changes
petrsvihlik 64ac5df
fixed linting problems + comments
petrsvihlik 4c11b16
py27 fixed flaky test
petrsvihlik 623bb1b
linting issues
petrsvihlik 13c4469
CommunicationTokenCredential async implemenation & tests are added
599c47c
split async code not to break py27
petrsvihlik 2c70227
lock issue for python 3.10 is fixed
c4ee92e
asyncio.sleep in async tests are removed
7589e7a
test refactored
petrsvihlik dda3a63
updates in _shared duplicated in chat
5f9addb
updates in _shared duplicated in sms
f2aa5be
updates in _shared duplicated in networktraversal
c05185b
updates in _shared duplicated in phonenumbers
c000311
lint issue fix in utils
1f5516a
python 2 compatibility fix for generate_token_with_custom_expiry & fi…
b410688
removed unneccasary user credential tests from sms,chat, networktrave…
a283f24
reduced the default refresh interval (api review)
petrsvihlik 1a9eea3
time renamed to interval (api review)
petrsvihlik 70df098
removed config for refresh time interval
petrsvihlik f1be525
sync changes across modalities
petrsvihlik 5d3653b
linting issues
petrsvihlik 6965577
linting issues
petrsvihlik 4773029
implemented fractional backoff + fixed tests
petrsvihlik 784d837
unify test with the sync version
petrsvihlik 00b1cdd
fractional backoff tests + linting
petrsvihlik 7bbf212
added changelog records + bumped versions
petrsvihlik 3553b88
Removed ayncio.Lock workaround for a bug in Python 3.10
385917e
fixed linting issues
859fb8d
phonenumbers changelog updated
026aebf
fixed PR comments
bd9647f
removed user_token_refresh_options from communication SDKs
8dc6336
fix cspell issues
b9dec62
type hinting fix
b239725
Merge branch 'main' into petrsvihlik/feature/autorefresh
AikoBB fd69d2b
reverted back type hint fix
f9324b9
PR comment fix
030273a
reflected changes to the identity package & updated tests
730d895
added samples for CommunicationTokenCredential
2c44b1a
renaming proactive refresh flag
22bf69f
latest PR comments fix
4ec2b1d
samples are refactored
d412335
reflecting shared folder changes to other modalitites
834431a
Merge branch 'main' into petrsvihlik/feature/autorefresh
petrsvihlik 8b374d1
fixed a typo
petrsvihlik 226d12f
Merge branch 'petrsvihlik/feature/autorefresh' of https://github.com/…
petrsvihlik 3fec4f9
fix for pypy threading issue
AikoBB dcf0e82
fixed test files
AikoBB be1aa9f
fixed latest PR comments
AikoBB File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.