forked from Azure/azure-sdk-for-cpp
-
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.
Set token to be expired if response comes back as unauthorized, withi…
…n BeareTokenAuthenticationPolicy. (Azure#6151) * Set token to be expired if response comes back as unauthorized. * Add CL entry. * Update CL. * Use trc MinimumExpiration to invalidate the credential's token cache. * Add test. * Address PR feedback. * Remove comment as it is no longer relevant. * Use initializer list syntax to see if posix compilers are okay with that. * Keep the bool field as non-atomic. * Revert "Keep the bool field as non-atomic." This reverts commit 1b8c762.
- Loading branch information
Showing
4 changed files
with
116 additions
and
5 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
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