forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse expire_in attribute as seconds from now (Azure#32306)
* Parse expire_in attribute as seconds from now * Update sdk/identity/azure-identity/src/main/java/com/azure/identity/implementation/MSIToken.java Co-authored-by: Bill Wert <[email protected]> * fixing expires_in tests * keep expires_on implementation and change only behavior for expires_in * refactor code and add tests. Co-authored-by: Bill Wert <[email protected]> Co-authored-by: Vinay Gera <[email protected]>
- Loading branch information
1 parent
fcf8237
commit 664833d
Showing
2 changed files
with
32 additions
and
16 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