forked from fabric8io/kubernetes-client
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix (kubernetes-client-api) : Add new autoOAuthToken field in Config …
…to differentiate between user and autoconfigured tokens (fabric8io#4802) + Add a new string field autoOAuthToken in Config, this field would be used by Config internally to store token obtained during autoconfiguration process. + Remove setOAuthToken references from token interceptors and Config, it would only be called by user (during `new ConfigBuilder().withOAuthToken("...")` call) whenever custom token is required. + getOAuthToken would give most priority to token from provider, then actual value of `oauthToken` and finally `autoOAuthToken` value. All interceptors would keep using getOAuthToken to get resolved OAuth token value Signed-off-by: Rohan Kumar <[email protected]>
- Loading branch information
1 parent
588d1eb
commit 1091825
Showing
10 changed files
with
435 additions
and
100 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
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.