-
Notifications
You must be signed in to change notification settings - Fork 68
feat: add support for new setAllowHardBoundTokens field. #3467
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
Changes from 2 commits
09eb2b2
db51f4e
fd1015e
960084d
ddb3b79
60dafd0
e193cc9
0e40f22
6a27af6
591ef68
90a32af
a7f8384
4fe44cb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,6 +33,7 @@ | |
| import com.google.api.core.InternalExtensionOnly; | ||
| import com.google.auth.Credentials; | ||
| import java.io.IOException; | ||
| import java.util.ArrayList; | ||
| import java.util.Map; | ||
| import java.util.concurrent.Executor; | ||
| import java.util.concurrent.ScheduledExecutorService; | ||
|
|
@@ -97,6 +98,9 @@ public interface TransportChannelProvider { | |
| */ | ||
| TransportChannelProvider withEndpoint(String endpoint); | ||
|
|
||
| /** Sets the allowed hard bound token types. */ | ||
| TransportChannelProvider setAllowHardBoundTokens(ArrayList<String> allowedValues); | ||
|
||
|
|
||
| /** | ||
| * Reports whether this provider allows pool size customization. | ||
| * | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this variable name be more specific? Reading it alone doesn't tell you where these values will be used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for calling this out! I updated this variable name to
allowedHardBoundTokenTypes, WDYT?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.