-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(IamAuthenticator): support refresh token flow in IamAuthenticator
This commit updates the IamAuthenticator so that it supports the "refresh token" auth flow. In this scenario, the user constructs an IamAuthenticator with a refresh token (and client id/secret) instead of an apikey. The authenticator will use the "POST /identity/token" operation with grant_type "refresh_token" to obtain an IAM access token. In this commit, I also added a new "builder" for the IamAuthenticator as well, and deprecated the legacy ctor function although it is still supported.
- Loading branch information
Showing
7 changed files
with
774 additions
and
262 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
Oops, something went wrong.