Class OAuth2.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
io.envoyproxy.envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OAuth2OrBuilder,Cloneable
- Enclosing class:
- OAuth2
public static final class OAuth2.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
implements OAuth2OrBuilder
OAuth2 extension can be used to retrieve an OAuth2 access token from an authorization server and inject it into the proxied requests. Currently, only the Client Credentials Grant flow is supported. The access token will be injected into the request headers using the ``Authorization`` header as a bearer token. [#next-free-field: 6]Protobuf type
envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2-
Method Summary
Modifier and TypeMethodDescriptionaddAllEndpointParams(Iterable<? extends OAuth2.EndpointParameter> values) Optional list of additional parameters to send to the token endpoint.addAllScopes(Iterable<String> values) Optional list of OAuth scopes to be claimed in the authorization request.addEndpointParams(int index, OAuth2.EndpointParameter value) Optional list of additional parameters to send to the token endpoint.addEndpointParams(int index, OAuth2.EndpointParameter.Builder builderForValue) Optional list of additional parameters to send to the token endpoint.Optional list of additional parameters to send to the token endpoint.addEndpointParams(OAuth2.EndpointParameter.Builder builderForValue) Optional list of additional parameters to send to the token endpoint.Optional list of additional parameters to send to the token endpoint.addEndpointParamsBuilder(int index) Optional list of additional parameters to send to the token endpoint.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Optional list of OAuth scopes to be claimed in the authorization request.addScopesBytes(com.google.protobuf.ByteString value) Optional list of OAuth scopes to be claimed in the authorization request.build()clear()Client Credentials Grant.Optional list of additional parameters to send to the token endpoint.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional list of OAuth scopes to be claimed in the authorization request.Endpoint on the authorization server to retrieve the access token from.The interval between two successive retries to fetch token from Identity Provider.clone()Client Credentials Grant.Client Credentials Grant.Client Credentials Grant.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEndpointParams(int index) Optional list of additional parameters to send to the token endpoint.getEndpointParamsBuilder(int index) Optional list of additional parameters to send to the token endpoint.Optional list of additional parameters to send to the token endpoint.intOptional list of additional parameters to send to the token endpoint.Optional list of additional parameters to send to the token endpoint.getEndpointParamsOrBuilder(int index) Optional list of additional parameters to send to the token endpoint.List<? extends OAuth2.EndpointParameterOrBuilder>Optional list of additional parameters to send to the token endpoint.getScopes(int index) Optional list of OAuth scopes to be claimed in the authorization request.com.google.protobuf.ByteStringgetScopesBytes(int index) Optional list of OAuth scopes to be claimed in the authorization request.intOptional list of OAuth scopes to be claimed in the authorization request.com.google.protobuf.ProtocolStringListOptional list of OAuth scopes to be claimed in the authorization request.Endpoint on the authorization server to retrieve the access token from.Endpoint on the authorization server to retrieve the access token from.Endpoint on the authorization server to retrieve the access token from.com.google.protobuf.DurationThe interval between two successive retries to fetch token from Identity Provider.com.google.protobuf.Duration.BuilderThe interval between two successive retries to fetch token from Identity Provider.com.google.protobuf.DurationOrBuilderThe interval between two successive retries to fetch token from Identity Provider.booleanClient Credentials Grant.booleanEndpoint on the authorization server to retrieve the access token from.booleanThe interval between two successive retries to fetch token from Identity Provider.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanClient Credentials Grant.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTokenEndpoint(HttpUri value) Endpoint on the authorization server to retrieve the access token from.mergeTokenFetchRetryInterval(com.google.protobuf.Duration value) The interval between two successive retries to fetch token from Identity Provider.final OAuth2.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeEndpointParams(int index) Optional list of additional parameters to send to the token endpoint.Client Credentials Grant.setClientCredentials(OAuth2.ClientCredentials.Builder builderForValue) Client Credentials Grant.setEndpointParams(int index, OAuth2.EndpointParameter value) Optional list of additional parameters to send to the token endpoint.setEndpointParams(int index, OAuth2.EndpointParameter.Builder builderForValue) Optional list of additional parameters to send to the token endpoint.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Optional list of OAuth scopes to be claimed in the authorization request.setTokenEndpoint(HttpUri value) Endpoint on the authorization server to retrieve the access token from.setTokenEndpoint(HttpUri.Builder builderForValue) Endpoint on the authorization server to retrieve the access token from.setTokenFetchRetryInterval(com.google.protobuf.Duration value) The interval between two successive retries to fetch token from Identity Provider.setTokenFetchRetryInterval(com.google.protobuf.Duration.Builder builderForValue) The interval between two successive retries to fetch token from Identity Provider.final OAuth2.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
setRepeatedField
public OAuth2.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
addRepeatedField
public OAuth2.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OAuth2.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
mergeFrom
public OAuth2.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OAuth2.Builder>- Throws:
IOException
-
getFlowTypeCase
- Specified by:
getFlowTypeCasein interfaceOAuth2OrBuilder
-
clearFlowType
-
hasTokenEndpoint
public boolean hasTokenEndpoint()Endpoint on the authorization server to retrieve the access token from. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
.envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }- Specified by:
hasTokenEndpointin interfaceOAuth2OrBuilder- Returns:
- Whether the tokenEndpoint field is set.
-
getTokenEndpoint
Endpoint on the authorization server to retrieve the access token from. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
.envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }- Specified by:
getTokenEndpointin interfaceOAuth2OrBuilder- Returns:
- The tokenEndpoint.
-
setTokenEndpoint
Endpoint on the authorization server to retrieve the access token from. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
.envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... } -
setTokenEndpoint
Endpoint on the authorization server to retrieve the access token from. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
.envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... } -
mergeTokenEndpoint
Endpoint on the authorization server to retrieve the access token from. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
.envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... } -
clearTokenEndpoint
Endpoint on the authorization server to retrieve the access token from. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
.envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... } -
getTokenEndpointBuilder
Endpoint on the authorization server to retrieve the access token from. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
.envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... } -
getTokenEndpointOrBuilder
Endpoint on the authorization server to retrieve the access token from. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
.envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }- Specified by:
getTokenEndpointOrBuilderin interfaceOAuth2OrBuilder
-
getScopesList
public com.google.protobuf.ProtocolStringList getScopesList()Optional list of OAuth scopes to be claimed in the authorization request. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
repeated string scopes = 2;- Specified by:
getScopesListin interfaceOAuth2OrBuilder- Returns:
- A list containing the scopes.
-
getScopesCount
public int getScopesCount()Optional list of OAuth scopes to be claimed in the authorization request. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
repeated string scopes = 2;- Specified by:
getScopesCountin interfaceOAuth2OrBuilder- Returns:
- The count of scopes.
-
getScopes
Optional list of OAuth scopes to be claimed in the authorization request. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
repeated string scopes = 2;- Specified by:
getScopesin interfaceOAuth2OrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The scopes at the given index.
-
getScopesBytes
public com.google.protobuf.ByteString getScopesBytes(int index) Optional list of OAuth scopes to be claimed in the authorization request. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
repeated string scopes = 2;- Specified by:
getScopesBytesin interfaceOAuth2OrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the scopes at the given index.
-
setScopes
Optional list of OAuth scopes to be claimed in the authorization request. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
repeated string scopes = 2;- Parameters:
index- The index to set the value at.value- The scopes to set.- Returns:
- This builder for chaining.
-
addScopes
Optional list of OAuth scopes to be claimed in the authorization request. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
repeated string scopes = 2;- Parameters:
value- The scopes to add.- Returns:
- This builder for chaining.
-
addAllScopes
Optional list of OAuth scopes to be claimed in the authorization request. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
repeated string scopes = 2;- Parameters:
values- The scopes to add.- Returns:
- This builder for chaining.
-
clearScopes
Optional list of OAuth scopes to be claimed in the authorization request. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
repeated string scopes = 2;- Returns:
- This builder for chaining.
-
addScopesBytes
Optional list of OAuth scopes to be claimed in the authorization request. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
repeated string scopes = 2;- Parameters:
value- The bytes of the scopes to add.- Returns:
- This builder for chaining.
-
hasClientCredentials
public boolean hasClientCredentials()Client Credentials Grant. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
.envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;- Specified by:
hasClientCredentialsin interfaceOAuth2OrBuilder- Returns:
- Whether the clientCredentials field is set.
-
getClientCredentials
Client Credentials Grant. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
.envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;- Specified by:
getClientCredentialsin interfaceOAuth2OrBuilder- Returns:
- The clientCredentials.
-
setClientCredentials
Client Credentials Grant. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
.envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3; -
setClientCredentials
Client Credentials Grant. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
.envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3; -
mergeClientCredentials
Client Credentials Grant. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
.envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3; -
clearClientCredentials
Client Credentials Grant. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
.envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3; -
getClientCredentialsBuilder
Client Credentials Grant. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
.envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3; -
getClientCredentialsOrBuilder
Client Credentials Grant. Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
.envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;- Specified by:
getClientCredentialsOrBuilderin interfaceOAuth2OrBuilder
-
hasTokenFetchRetryInterval
public boolean hasTokenFetchRetryInterval()The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs. The interval must be at least 1 second.
.google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }- Specified by:
hasTokenFetchRetryIntervalin interfaceOAuth2OrBuilder- Returns:
- Whether the tokenFetchRetryInterval field is set.
-
getTokenFetchRetryInterval
public com.google.protobuf.Duration getTokenFetchRetryInterval()The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs. The interval must be at least 1 second.
.google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }- Specified by:
getTokenFetchRetryIntervalin interfaceOAuth2OrBuilder- Returns:
- The tokenFetchRetryInterval.
-
setTokenFetchRetryInterval
The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs. The interval must be at least 1 second.
.google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... } -
setTokenFetchRetryInterval
public OAuth2.Builder setTokenFetchRetryInterval(com.google.protobuf.Duration.Builder builderForValue) The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs. The interval must be at least 1 second.
.google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... } -
mergeTokenFetchRetryInterval
The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs. The interval must be at least 1 second.
.google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... } -
clearTokenFetchRetryInterval
The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs. The interval must be at least 1 second.
.google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... } -
getTokenFetchRetryIntervalBuilder
public com.google.protobuf.Duration.Builder getTokenFetchRetryIntervalBuilder()The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs. The interval must be at least 1 second.
.google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... } -
getTokenFetchRetryIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getTokenFetchRetryIntervalOrBuilder()The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs. The interval must be at least 1 second.
.google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }- Specified by:
getTokenFetchRetryIntervalOrBuilderin interfaceOAuth2OrBuilder
-
getEndpointParamsList
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;- Specified by:
getEndpointParamsListin interfaceOAuth2OrBuilder
-
getEndpointParamsCount
public int getEndpointParamsCount()Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;- Specified by:
getEndpointParamsCountin interfaceOAuth2OrBuilder
-
getEndpointParams
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;- Specified by:
getEndpointParamsin interfaceOAuth2OrBuilder
-
setEndpointParams
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
setEndpointParams
public OAuth2.Builder setEndpointParams(int index, OAuth2.EndpointParameter.Builder builderForValue) Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
addEndpointParams
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
addEndpointParams
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
addEndpointParams
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
addEndpointParams
public OAuth2.Builder addEndpointParams(int index, OAuth2.EndpointParameter.Builder builderForValue) Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
addAllEndpointParams
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
clearEndpointParams
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
removeEndpointParams
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
getEndpointParamsBuilder
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
getEndpointParamsOrBuilder
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;- Specified by:
getEndpointParamsOrBuilderin interfaceOAuth2OrBuilder
-
getEndpointParamsOrBuilderList
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;- Specified by:
getEndpointParamsOrBuilderListin interfaceOAuth2OrBuilder
-
addEndpointParamsBuilder
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
addEndpointParamsBuilder
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
getEndpointParamsBuilderList
Optional list of additional parameters to send to the token endpoint. These parameters will be URL-encoded and included in the token request body.
repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
-