Class OAuth2Config.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
io.envoyproxy.envoy.extensions.filters.http.oauth2.v3.OAuth2Config.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OAuth2ConfigOrBuilder,Cloneable
- Enclosing class:
- OAuth2Config
public static final class OAuth2Config.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
implements OAuth2ConfigOrBuilder
OAuth config [#next-free-field: 27]Protobuf type
envoy.extensions.filters.http.oauth2.v3.OAuth2Config-
Method Summary
Modifier and TypeMethodDescriptionaddAllAuthScopes(Iterable<String> values) Optional list of OAuth scopes to be claimed in the authorization request.addAllDenyRedirectMatcher(Iterable<? extends HeaderMatcher> values) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.addAllPassThroughMatcher(Iterable<? extends HeaderMatcher> values) Any request that matches any of the provided matchers will be passed through without OAuth validation.addAllResources(Iterable<String> values) Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707addAuthScopes(String value) Optional list of OAuth scopes to be claimed in the authorization request.addAuthScopesBytes(com.google.protobuf.ByteString value) Optional list of OAuth scopes to be claimed in the authorization request.addDenyRedirectMatcher(int index, HeaderMatcher value) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.addDenyRedirectMatcher(int index, HeaderMatcher.Builder builderForValue) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.addDenyRedirectMatcher(HeaderMatcher.Builder builderForValue) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.addDenyRedirectMatcherBuilder(int index) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.addPassThroughMatcher(int index, HeaderMatcher value) Any request that matches any of the provided matchers will be passed through without OAuth validation.addPassThroughMatcher(int index, HeaderMatcher.Builder builderForValue) Any request that matches any of the provided matchers will be passed through without OAuth validation.Any request that matches any of the provided matchers will be passed through without OAuth validation.addPassThroughMatcher(HeaderMatcher.Builder builderForValue) Any request that matches any of the provided matchers will be passed through without OAuth validation.Any request that matches any of the provided matchers will be passed through without OAuth validation.addPassThroughMatcherBuilder(int index) Any request that matches any of the provided matchers will be passed through without OAuth validation.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addResources(String value) Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707addResourcesBytes(com.google.protobuf.ByteString value) Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707build()clear()The endpoint redirect to for authorization in response to unauthorized requests.Optional list of OAuth scopes to be claimed in the authorization request.Defines how ``client_id`` and ``client_secret`` are sent in OAuth client to OAuth server requests.Optional expiration time for the code verifier cookie.Controls for attributes that can be set on the cookies.Credentials used for OAuth.Optional expiration time for the CSRF protection token cookie.The default lifetime in seconds of the access token, if omitted by the authorization server.The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT.Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.If set to true, the client will not set a cookie for Access Token even if one is received from the Identity Provider.If set to true, the client will not set a cookie for ID Token even if one is received from the Identity Provider.If set to true, the client will not set a cookie for Refresh Token even if one is received from the Identity Provider.Disable token encryption.The endpoint at the authorization server to request the user be logged out of the Authorization server.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Forward the OAuth token as a Bearer to upstream web service.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Any request that matches any of the provided matchers will be passed through without OAuth validation.If set to true, preserve the existing authorization header.Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.The redirect URI passed to the authorization endpoint.Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707Specifies the retry policy for requests to the OAuth server.The path to sign a user out, clearing their credential cookies.Optional additional prefix to use when emitting statistics.Endpoint on the authorization server to retrieve the access token from.If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that.clone()The endpoint redirect to for authorization in response to unauthorized requests.com.google.protobuf.ByteStringThe endpoint redirect to for authorization in response to unauthorized requests.getAuthScopes(int index) Optional list of OAuth scopes to be claimed in the authorization request.com.google.protobuf.ByteStringgetAuthScopesBytes(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.Defines how ``client_id`` and ``client_secret`` are sent in OAuth client to OAuth server requests.intDefines how ``client_id`` and ``client_secret`` are sent in OAuth client to OAuth server requests.com.google.protobuf.DurationOptional expiration time for the code verifier cookie.com.google.protobuf.Duration.BuilderOptional expiration time for the code verifier cookie.com.google.protobuf.DurationOrBuilderOptional expiration time for the code verifier cookie.Controls for attributes that can be set on the cookies.Controls for attributes that can be set on the cookies.Controls for attributes that can be set on the cookies.Credentials used for OAuth.Credentials used for OAuth.Credentials used for OAuth.com.google.protobuf.DurationOptional expiration time for the CSRF protection token cookie.com.google.protobuf.Duration.BuilderOptional expiration time for the CSRF protection token cookie.com.google.protobuf.DurationOrBuilderOptional expiration time for the CSRF protection token cookie.com.google.protobuf.DurationThe default lifetime in seconds of the access token, if omitted by the authorization server.com.google.protobuf.Duration.BuilderThe default lifetime in seconds of the access token, if omitted by the authorization server.com.google.protobuf.DurationOrBuilderThe default lifetime in seconds of the access token, if omitted by the authorization server.com.google.protobuf.DurationThe default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT.com.google.protobuf.Duration.BuilderThe default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT.com.google.protobuf.DurationOrBuilderThe default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT.getDenyRedirectMatcher(int index) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.getDenyRedirectMatcherBuilder(int index) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.intAny request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.getDenyRedirectMatcherOrBuilder(int index) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.List<? extends HeaderMatcherOrBuilder>Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf set to true, the client will not set a cookie for Access Token even if one is received from the Identity Provider.booleanIf set to true, the client will not set a cookie for ID Token even if one is received from the Identity Provider.booleanIf set to true, the client will not set a cookie for Refresh Token even if one is received from the Identity Provider.booleanDisable token encryption.The endpoint at the authorization server to request the user be logged out of the Authorization server.com.google.protobuf.ByteStringThe endpoint at the authorization server to request the user be logged out of the Authorization server.booleanForward the OAuth token as a Bearer to upstream web service.getPassThroughMatcher(int index) Any request that matches any of the provided matchers will be passed through without OAuth validation.getPassThroughMatcherBuilder(int index) Any request that matches any of the provided matchers will be passed through without OAuth validation.Any request that matches any of the provided matchers will be passed through without OAuth validation.intAny request that matches any of the provided matchers will be passed through without OAuth validation.Any request that matches any of the provided matchers will be passed through without OAuth validation.getPassThroughMatcherOrBuilder(int index) Any request that matches any of the provided matchers will be passed through without OAuth validation.List<? extends HeaderMatcherOrBuilder>Any request that matches any of the provided matchers will be passed through without OAuth validation.booleanIf set to true, preserve the existing authorization header.Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.The redirect URI passed to the authorization endpoint.com.google.protobuf.ByteStringThe redirect URI passed to the authorization endpoint.getResources(int index) Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707com.google.protobuf.ByteStringgetResourcesBytes(int index) Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707intOptional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707com.google.protobuf.ProtocolStringListOptional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707Specifies the retry policy for requests to the OAuth server.Specifies the retry policy for requests to the OAuth server.Specifies the retry policy for requests to the OAuth server.The path to sign a user out, clearing their credential cookies.The path to sign a user out, clearing their credential cookies.The path to sign a user out, clearing their credential cookies.Optional additional prefix to use when emitting statistics.com.google.protobuf.ByteStringOptional additional prefix to use when emitting statistics.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.BoolValueIf set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that.com.google.protobuf.BoolValue.BuilderIf set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that.com.google.protobuf.BoolValueOrBuilderIf set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that.booleanOptional expiration time for the code verifier cookie.booleanControls for attributes that can be set on the cookies.booleanCredentials used for OAuth.booleanOptional expiration time for the CSRF protection token cookie.booleanThe default lifetime in seconds of the access token, if omitted by the authorization server.booleanThe default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT.booleanMatching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.booleanSpecifies the retry policy for requests to the OAuth server.booleanThe path to sign a user out, clearing their credential cookies.booleanEndpoint on the authorization server to retrieve the access token from.booleanIf set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCodeVerifierTokenExpiresIn(com.google.protobuf.Duration value) Optional expiration time for the code verifier cookie.mergeCookieConfigs(CookieConfigs value) Controls for attributes that can be set on the cookies.Credentials used for OAuth.mergeCsrfTokenExpiresIn(com.google.protobuf.Duration value) Optional expiration time for the CSRF protection token cookie.mergeDefaultExpiresIn(com.google.protobuf.Duration value) The default lifetime in seconds of the access token, if omitted by the authorization server.mergeDefaultRefreshTokenExpiresIn(com.google.protobuf.Duration value) The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(OAuth2Config other) Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.mergeRetryPolicy(RetryPolicy value) Specifies the retry policy for requests to the OAuth server.mergeSignoutPath(PathMatcher value) The path to sign a user out, clearing their credential cookies.mergeTokenEndpoint(HttpUri value) Endpoint on the authorization server to retrieve the access token from.final OAuth2Config.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUseRefreshToken(com.google.protobuf.BoolValue value) If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that.removeDenyRedirectMatcher(int index) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.removePassThroughMatcher(int index) Any request that matches any of the provided matchers will be passed through without OAuth validation.setAuthorizationEndpoint(String value) The endpoint redirect to for authorization in response to unauthorized requests.setAuthorizationEndpointBytes(com.google.protobuf.ByteString value) The endpoint redirect to for authorization in response to unauthorized requests.setAuthScopes(int index, String value) Optional list of OAuth scopes to be claimed in the authorization request.setAuthType(OAuth2Config.AuthType value) Defines how ``client_id`` and ``client_secret`` are sent in OAuth client to OAuth server requests.setAuthTypeValue(int value) Defines how ``client_id`` and ``client_secret`` are sent in OAuth client to OAuth server requests.setCodeVerifierTokenExpiresIn(com.google.protobuf.Duration value) Optional expiration time for the code verifier cookie.setCodeVerifierTokenExpiresIn(com.google.protobuf.Duration.Builder builderForValue) Optional expiration time for the code verifier cookie.setCookieConfigs(CookieConfigs value) Controls for attributes that can be set on the cookies.setCookieConfigs(CookieConfigs.Builder builderForValue) Controls for attributes that can be set on the cookies.setCredentials(OAuth2Credentials value) Credentials used for OAuth.setCredentials(OAuth2Credentials.Builder builderForValue) Credentials used for OAuth.setCsrfTokenExpiresIn(com.google.protobuf.Duration value) Optional expiration time for the CSRF protection token cookie.setCsrfTokenExpiresIn(com.google.protobuf.Duration.Builder builderForValue) Optional expiration time for the CSRF protection token cookie.setDefaultExpiresIn(com.google.protobuf.Duration value) The default lifetime in seconds of the access token, if omitted by the authorization server.setDefaultExpiresIn(com.google.protobuf.Duration.Builder builderForValue) The default lifetime in seconds of the access token, if omitted by the authorization server.setDefaultRefreshTokenExpiresIn(com.google.protobuf.Duration value) The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT.setDefaultRefreshTokenExpiresIn(com.google.protobuf.Duration.Builder builderForValue) The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT.setDenyRedirectMatcher(int index, HeaderMatcher value) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.setDenyRedirectMatcher(int index, HeaderMatcher.Builder builderForValue) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid.setDisableAccessTokenSetCookie(boolean value) If set to true, the client will not set a cookie for Access Token even if one is received from the Identity Provider.setDisableIdTokenSetCookie(boolean value) If set to true, the client will not set a cookie for ID Token even if one is received from the Identity Provider.setDisableRefreshTokenSetCookie(boolean value) If set to true, the client will not set a cookie for Refresh Token even if one is received from the Identity Provider.setDisableTokenEncryption(boolean value) Disable token encryption.setEndSessionEndpoint(String value) The endpoint at the authorization server to request the user be logged out of the Authorization server.setEndSessionEndpointBytes(com.google.protobuf.ByteString value) The endpoint at the authorization server to request the user be logged out of the Authorization server.setForwardBearerToken(boolean value) Forward the OAuth token as a Bearer to upstream web service.setPassThroughMatcher(int index, HeaderMatcher value) Any request that matches any of the provided matchers will be passed through without OAuth validation.setPassThroughMatcher(int index, HeaderMatcher.Builder builderForValue) Any request that matches any of the provided matchers will be passed through without OAuth validation.setPreserveAuthorizationHeader(boolean value) If set to true, preserve the existing authorization header.Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.setRedirectPathMatcher(PathMatcher.Builder builderForValue) Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.setRedirectUri(String value) The redirect URI passed to the authorization endpoint.setRedirectUriBytes(com.google.protobuf.ByteString value) The redirect URI passed to the authorization endpoint.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResources(int index, String value) Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707setRetryPolicy(RetryPolicy value) Specifies the retry policy for requests to the OAuth server.setRetryPolicy(RetryPolicy.Builder builderForValue) Specifies the retry policy for requests to the OAuth server.setSignoutPath(PathMatcher value) The path to sign a user out, clearing their credential cookies.setSignoutPath(PathMatcher.Builder builderForValue) The path to sign a user out, clearing their credential cookies.setStatPrefix(String value) Optional additional prefix to use when emitting statistics.setStatPrefixBytes(com.google.protobuf.ByteString value) Optional additional prefix to use when emitting statistics.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.final OAuth2Config.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUseRefreshToken(com.google.protobuf.BoolValue value) If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that.setUseRefreshToken(com.google.protobuf.BoolValue.Builder builderForValue) If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that.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<OAuth2Config.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<OAuth2Config.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<OAuth2Config.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<OAuth2Config.Builder>
-
setField
public OAuth2Config.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
-
setRepeatedField
public OAuth2Config.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<OAuth2Config.Builder>
-
addRepeatedField
public OAuth2Config.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<OAuth2Config.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OAuth2Config.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
-
mergeFrom
public OAuth2Config.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<OAuth2Config.Builder>- Throws:
IOException
-
hasTokenEndpoint
public boolean hasTokenEndpoint()Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1;- Specified by:
hasTokenEndpointin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the tokenEndpoint field is set.
-
getTokenEndpoint
Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1;- Specified by:
getTokenEndpointin interfaceOAuth2ConfigOrBuilder- Returns:
- The tokenEndpoint.
-
setTokenEndpoint
Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1; -
setTokenEndpoint
Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1; -
mergeTokenEndpoint
Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1; -
clearTokenEndpoint
Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1; -
getTokenEndpointBuilder
Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1; -
getTokenEndpointOrBuilder
Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1;- Specified by:
getTokenEndpointOrBuilderin interfaceOAuth2ConfigOrBuilder
-
hasRetryPolicy
public boolean hasRetryPolicy()Specifies the retry policy for requests to the OAuth server. If not specified, then no retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 18;- Specified by:
hasRetryPolicyin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
Specifies the retry policy for requests to the OAuth server. If not specified, then no retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 18;- Specified by:
getRetryPolicyin interfaceOAuth2ConfigOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
Specifies the retry policy for requests to the OAuth server. If not specified, then no retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 18; -
setRetryPolicy
Specifies the retry policy for requests to the OAuth server. If not specified, then no retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 18; -
mergeRetryPolicy
Specifies the retry policy for requests to the OAuth server. If not specified, then no retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 18; -
clearRetryPolicy
Specifies the retry policy for requests to the OAuth server. If not specified, then no retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 18; -
getRetryPolicyBuilder
Specifies the retry policy for requests to the OAuth server. If not specified, then no retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 18; -
getRetryPolicyOrBuilder
Specifies the retry policy for requests to the OAuth server. If not specified, then no retries will be performed.
.envoy.config.core.v3.RetryPolicy retry_policy = 18;- Specified by:
getRetryPolicyOrBuilderin interfaceOAuth2ConfigOrBuilder
-
getAuthorizationEndpoint
The endpoint redirect to for authorization in response to unauthorized requests.
string authorization_endpoint = 2 [(.validate.rules) = { ... }- Specified by:
getAuthorizationEndpointin interfaceOAuth2ConfigOrBuilder- Returns:
- The authorizationEndpoint.
-
getAuthorizationEndpointBytes
public com.google.protobuf.ByteString getAuthorizationEndpointBytes()The endpoint redirect to for authorization in response to unauthorized requests.
string authorization_endpoint = 2 [(.validate.rules) = { ... }- Specified by:
getAuthorizationEndpointBytesin interfaceOAuth2ConfigOrBuilder- Returns:
- The bytes for authorizationEndpoint.
-
setAuthorizationEndpoint
The endpoint redirect to for authorization in response to unauthorized requests.
string authorization_endpoint = 2 [(.validate.rules) = { ... }- Parameters:
value- The authorizationEndpoint to set.- Returns:
- This builder for chaining.
-
clearAuthorizationEndpoint
The endpoint redirect to for authorization in response to unauthorized requests.
string authorization_endpoint = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setAuthorizationEndpointBytes
The endpoint redirect to for authorization in response to unauthorized requests.
string authorization_endpoint = 2 [(.validate.rules) = { ... }- Parameters:
value- The bytes for authorizationEndpoint to set.- Returns:
- This builder for chaining.
-
getEndSessionEndpoint
The endpoint at the authorization server to request the user be logged out of the Authorization server. This field is optional and should be set only if openid is in the auth_scopes and the authorization server supports the OpenID Connect RP-Initiated Logout specification. For more information, see https://openid.net/specs/openid-connect-rpinitiated-1_0.html If configured, the OAuth2 filter will redirect users to this endpoint when they access the signout_path.
string end_session_endpoint = 23;- Specified by:
getEndSessionEndpointin interfaceOAuth2ConfigOrBuilder- Returns:
- The endSessionEndpoint.
-
getEndSessionEndpointBytes
public com.google.protobuf.ByteString getEndSessionEndpointBytes()The endpoint at the authorization server to request the user be logged out of the Authorization server. This field is optional and should be set only if openid is in the auth_scopes and the authorization server supports the OpenID Connect RP-Initiated Logout specification. For more information, see https://openid.net/specs/openid-connect-rpinitiated-1_0.html If configured, the OAuth2 filter will redirect users to this endpoint when they access the signout_path.
string end_session_endpoint = 23;- Specified by:
getEndSessionEndpointBytesin interfaceOAuth2ConfigOrBuilder- Returns:
- The bytes for endSessionEndpoint.
-
setEndSessionEndpoint
The endpoint at the authorization server to request the user be logged out of the Authorization server. This field is optional and should be set only if openid is in the auth_scopes and the authorization server supports the OpenID Connect RP-Initiated Logout specification. For more information, see https://openid.net/specs/openid-connect-rpinitiated-1_0.html If configured, the OAuth2 filter will redirect users to this endpoint when they access the signout_path.
string end_session_endpoint = 23;- Parameters:
value- The endSessionEndpoint to set.- Returns:
- This builder for chaining.
-
clearEndSessionEndpoint
The endpoint at the authorization server to request the user be logged out of the Authorization server. This field is optional and should be set only if openid is in the auth_scopes and the authorization server supports the OpenID Connect RP-Initiated Logout specification. For more information, see https://openid.net/specs/openid-connect-rpinitiated-1_0.html If configured, the OAuth2 filter will redirect users to this endpoint when they access the signout_path.
string end_session_endpoint = 23;- Returns:
- This builder for chaining.
-
setEndSessionEndpointBytes
The endpoint at the authorization server to request the user be logged out of the Authorization server. This field is optional and should be set only if openid is in the auth_scopes and the authorization server supports the OpenID Connect RP-Initiated Logout specification. For more information, see https://openid.net/specs/openid-connect-rpinitiated-1_0.html If configured, the OAuth2 filter will redirect users to this endpoint when they access the signout_path.
string end_session_endpoint = 23;- Parameters:
value- The bytes for endSessionEndpoint to set.- Returns:
- This builder for chaining.
-
hasCredentials
public boolean hasCredentials()Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }- Specified by:
hasCredentialsin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the credentials field is set.
-
getCredentials
Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }- Specified by:
getCredentialsin interfaceOAuth2ConfigOrBuilder- Returns:
- The credentials.
-
setCredentials
Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... } -
setCredentials
Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... } -
mergeCredentials
Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... } -
clearCredentials
Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... } -
getCredentialsBuilder
Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... } -
getCredentialsOrBuilder
Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }- Specified by:
getCredentialsOrBuilderin interfaceOAuth2ConfigOrBuilder
-
getRedirectUri
The redirect URI passed to the authorization endpoint. Supports header formatting tokens. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`. This URI should not contain any query parameters.
string redirect_uri = 4 [(.validate.rules) = { ... }- Specified by:
getRedirectUriin interfaceOAuth2ConfigOrBuilder- Returns:
- The redirectUri.
-
getRedirectUriBytes
public com.google.protobuf.ByteString getRedirectUriBytes()The redirect URI passed to the authorization endpoint. Supports header formatting tokens. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`. This URI should not contain any query parameters.
string redirect_uri = 4 [(.validate.rules) = { ... }- Specified by:
getRedirectUriBytesin interfaceOAuth2ConfigOrBuilder- Returns:
- The bytes for redirectUri.
-
setRedirectUri
The redirect URI passed to the authorization endpoint. Supports header formatting tokens. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`. This URI should not contain any query parameters.
string redirect_uri = 4 [(.validate.rules) = { ... }- Parameters:
value- The redirectUri to set.- Returns:
- This builder for chaining.
-
clearRedirectUri
The redirect URI passed to the authorization endpoint. Supports header formatting tokens. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`. This URI should not contain any query parameters.
string redirect_uri = 4 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setRedirectUriBytes
The redirect URI passed to the authorization endpoint. Supports header formatting tokens. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`. This URI should not contain any query parameters.
string redirect_uri = 4 [(.validate.rules) = { ... }- Parameters:
value- The bytes for redirectUri to set.- Returns:
- This builder for chaining.
-
hasRedirectPathMatcher
public boolean hasRedirectPathMatcher()Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
.envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }- Specified by:
hasRedirectPathMatcherin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the redirectPathMatcher field is set.
-
getRedirectPathMatcher
Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
.envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }- Specified by:
getRedirectPathMatcherin interfaceOAuth2ConfigOrBuilder- Returns:
- The redirectPathMatcher.
-
setRedirectPathMatcher
Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
.envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... } -
setRedirectPathMatcher
Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
.envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... } -
mergeRedirectPathMatcher
Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
.envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... } -
clearRedirectPathMatcher
Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
.envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... } -
getRedirectPathMatcherBuilder
Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
.envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... } -
getRedirectPathMatcherOrBuilder
Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
.envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }- Specified by:
getRedirectPathMatcherOrBuilderin interfaceOAuth2ConfigOrBuilder
-
hasSignoutPath
public boolean hasSignoutPath()The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }- Specified by:
hasSignoutPathin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the signoutPath field is set.
-
getSignoutPath
The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }- Specified by:
getSignoutPathin interfaceOAuth2ConfigOrBuilder- Returns:
- The signoutPath.
-
setSignoutPath
The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... } -
setSignoutPath
The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... } -
mergeSignoutPath
The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... } -
clearSignoutPath
The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... } -
getSignoutPathBuilder
The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... } -
getSignoutPathOrBuilder
The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }- Specified by:
getSignoutPathOrBuilderin interfaceOAuth2ConfigOrBuilder
-
getForwardBearerToken
public boolean getForwardBearerToken()Forward the OAuth token as a Bearer to upstream web service.
bool forward_bearer_token = 7;- Specified by:
getForwardBearerTokenin interfaceOAuth2ConfigOrBuilder- Returns:
- The forwardBearerToken.
-
setForwardBearerToken
Forward the OAuth token as a Bearer to upstream web service.
bool forward_bearer_token = 7;- Parameters:
value- The forwardBearerToken to set.- Returns:
- This builder for chaining.
-
clearForwardBearerToken
Forward the OAuth token as a Bearer to upstream web service.
bool forward_bearer_token = 7;- Returns:
- This builder for chaining.
-
getPreserveAuthorizationHeader
public boolean getPreserveAuthorizationHeader()If set to true, preserve the existing authorization header. By default the client strips the existing authorization header before forwarding upstream. Can not be set to true if forward_bearer_token is already set to true. Default value is false.
bool preserve_authorization_header = 16;- Specified by:
getPreserveAuthorizationHeaderin interfaceOAuth2ConfigOrBuilder- Returns:
- The preserveAuthorizationHeader.
-
setPreserveAuthorizationHeader
If set to true, preserve the existing authorization header. By default the client strips the existing authorization header before forwarding upstream. Can not be set to true if forward_bearer_token is already set to true. Default value is false.
bool preserve_authorization_header = 16;- Parameters:
value- The preserveAuthorizationHeader to set.- Returns:
- This builder for chaining.
-
clearPreserveAuthorizationHeader
If set to true, preserve the existing authorization header. By default the client strips the existing authorization header before forwarding upstream. Can not be set to true if forward_bearer_token is already set to true. Default value is false.
bool preserve_authorization_header = 16;- Returns:
- This builder for chaining.
-
getPassThroughMatcherList
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;- Specified by:
getPassThroughMatcherListin interfaceOAuth2ConfigOrBuilder
-
getPassThroughMatcherCount
public int getPassThroughMatcherCount()Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;- Specified by:
getPassThroughMatcherCountin interfaceOAuth2ConfigOrBuilder
-
getPassThroughMatcher
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;- Specified by:
getPassThroughMatcherin interfaceOAuth2ConfigOrBuilder
-
setPassThroughMatcher
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
setPassThroughMatcher
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
addPassThroughMatcher
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
addPassThroughMatcher
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
addPassThroughMatcher
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
addPassThroughMatcher
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
addAllPassThroughMatcher
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
clearPassThroughMatcher
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
removePassThroughMatcher
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
getPassThroughMatcherBuilder
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
getPassThroughMatcherOrBuilder
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;- Specified by:
getPassThroughMatcherOrBuilderin interfaceOAuth2ConfigOrBuilder
-
getPassThroughMatcherOrBuilderList
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;- Specified by:
getPassThroughMatcherOrBuilderListin interfaceOAuth2ConfigOrBuilder
-
addPassThroughMatcherBuilder
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
addPassThroughMatcherBuilder
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
getPassThroughMatcherBuilderList
Any request that matches any of the provided matchers will be passed through without OAuth validation.
repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8; -
getAuthScopesList
public com.google.protobuf.ProtocolStringList getAuthScopesList()Optional list of OAuth scopes to be claimed in the authorization request. If not specified, defaults to "user" scope. OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
repeated string auth_scopes = 9;- Specified by:
getAuthScopesListin interfaceOAuth2ConfigOrBuilder- Returns:
- A list containing the authScopes.
-
getAuthScopesCount
public int getAuthScopesCount()Optional list of OAuth scopes to be claimed in the authorization request. If not specified, defaults to "user" scope. OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
repeated string auth_scopes = 9;- Specified by:
getAuthScopesCountin interfaceOAuth2ConfigOrBuilder- Returns:
- The count of authScopes.
-
getAuthScopes
Optional list of OAuth scopes to be claimed in the authorization request. If not specified, defaults to "user" scope. OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
repeated string auth_scopes = 9;- Specified by:
getAuthScopesin interfaceOAuth2ConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The authScopes at the given index.
-
getAuthScopesBytes
public com.google.protobuf.ByteString getAuthScopesBytes(int index) Optional list of OAuth scopes to be claimed in the authorization request. If not specified, defaults to "user" scope. OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
repeated string auth_scopes = 9;- Specified by:
getAuthScopesBytesin interfaceOAuth2ConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the authScopes at the given index.
-
setAuthScopes
Optional list of OAuth scopes to be claimed in the authorization request. If not specified, defaults to "user" scope. OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
repeated string auth_scopes = 9;- Parameters:
index- The index to set the value at.value- The authScopes to set.- Returns:
- This builder for chaining.
-
addAuthScopes
Optional list of OAuth scopes to be claimed in the authorization request. If not specified, defaults to "user" scope. OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
repeated string auth_scopes = 9;- Parameters:
value- The authScopes to add.- Returns:
- This builder for chaining.
-
addAllAuthScopes
Optional list of OAuth scopes to be claimed in the authorization request. If not specified, defaults to "user" scope. OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
repeated string auth_scopes = 9;- Parameters:
values- The authScopes to add.- Returns:
- This builder for chaining.
-
clearAuthScopes
Optional list of OAuth scopes to be claimed in the authorization request. If not specified, defaults to "user" scope. OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
repeated string auth_scopes = 9;- Returns:
- This builder for chaining.
-
addAuthScopesBytes
Optional list of OAuth scopes to be claimed in the authorization request. If not specified, defaults to "user" scope. OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
repeated string auth_scopes = 9;- Parameters:
value- The bytes of the authScopes to add.- Returns:
- This builder for chaining.
-
getResourcesList
public com.google.protobuf.ProtocolStringList getResourcesList()Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707
repeated string resources = 10;- Specified by:
getResourcesListin interfaceOAuth2ConfigOrBuilder- Returns:
- A list containing the resources.
-
getResourcesCount
public int getResourcesCount()Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707
repeated string resources = 10;- Specified by:
getResourcesCountin interfaceOAuth2ConfigOrBuilder- Returns:
- The count of resources.
-
getResources
Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707
repeated string resources = 10;- Specified by:
getResourcesin interfaceOAuth2ConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resources at the given index.
-
getResourcesBytes
public com.google.protobuf.ByteString getResourcesBytes(int index) Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707
repeated string resources = 10;- Specified by:
getResourcesBytesin interfaceOAuth2ConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resources at the given index.
-
setResources
Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707
repeated string resources = 10;- Parameters:
index- The index to set the value at.value- The resources to set.- Returns:
- This builder for chaining.
-
addResources
Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707
repeated string resources = 10;- Parameters:
value- The resources to add.- Returns:
- This builder for chaining.
-
addAllResources
Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707
repeated string resources = 10;- Parameters:
values- The resources to add.- Returns:
- This builder for chaining.
-
clearResources
Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707
repeated string resources = 10;- Returns:
- This builder for chaining.
-
addResourcesBytes
Optional resource parameter for authorization request RFC: https://tools.ietf.org/html/rfc8707
repeated string resources = 10;- Parameters:
value- The bytes of the resources to add.- Returns:
- This builder for chaining.
-
getAuthTypeValue
public int getAuthTypeValue()Defines how ``client_id`` and ``client_secret`` are sent in OAuth client to OAuth server requests. RFC https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1
.envoy.extensions.filters.http.oauth2.v3.OAuth2Config.AuthType auth_type = 11 [(.validate.rules) = { ... }- Specified by:
getAuthTypeValuein interfaceOAuth2ConfigOrBuilder- Returns:
- The enum numeric value on the wire for authType.
-
setAuthTypeValue
Defines how ``client_id`` and ``client_secret`` are sent in OAuth client to OAuth server requests. RFC https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1
.envoy.extensions.filters.http.oauth2.v3.OAuth2Config.AuthType auth_type = 11 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for authType to set.- Returns:
- This builder for chaining.
-
getAuthType
Defines how ``client_id`` and ``client_secret`` are sent in OAuth client to OAuth server requests. RFC https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1
.envoy.extensions.filters.http.oauth2.v3.OAuth2Config.AuthType auth_type = 11 [(.validate.rules) = { ... }- Specified by:
getAuthTypein interfaceOAuth2ConfigOrBuilder- Returns:
- The authType.
-
setAuthType
Defines how ``client_id`` and ``client_secret`` are sent in OAuth client to OAuth server requests. RFC https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1
.envoy.extensions.filters.http.oauth2.v3.OAuth2Config.AuthType auth_type = 11 [(.validate.rules) = { ... }- Parameters:
value- The authType to set.- Returns:
- This builder for chaining.
-
clearAuthType
Defines how ``client_id`` and ``client_secret`` are sent in OAuth client to OAuth server requests. RFC https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1
.envoy.extensions.filters.http.oauth2.v3.OAuth2Config.AuthType auth_type = 11 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
hasUseRefreshToken
public boolean hasUseRefreshToken()If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that. Default value is true.
.google.protobuf.BoolValue use_refresh_token = 12;- Specified by:
hasUseRefreshTokenin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the useRefreshToken field is set.
-
getUseRefreshToken
public com.google.protobuf.BoolValue getUseRefreshToken()If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that. Default value is true.
.google.protobuf.BoolValue use_refresh_token = 12;- Specified by:
getUseRefreshTokenin interfaceOAuth2ConfigOrBuilder- Returns:
- The useRefreshToken.
-
setUseRefreshToken
If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that. Default value is true.
.google.protobuf.BoolValue use_refresh_token = 12; -
setUseRefreshToken
public OAuth2Config.Builder setUseRefreshToken(com.google.protobuf.BoolValue.Builder builderForValue) If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that. Default value is true.
.google.protobuf.BoolValue use_refresh_token = 12; -
mergeUseRefreshToken
If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that. Default value is true.
.google.protobuf.BoolValue use_refresh_token = 12; -
clearUseRefreshToken
If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that. Default value is true.
.google.protobuf.BoolValue use_refresh_token = 12; -
getUseRefreshTokenBuilder
public com.google.protobuf.BoolValue.Builder getUseRefreshTokenBuilder()If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that. Default value is true.
.google.protobuf.BoolValue use_refresh_token = 12; -
getUseRefreshTokenOrBuilder
public com.google.protobuf.BoolValueOrBuilder getUseRefreshTokenOrBuilder()If set to true, allows automatic access token refresh using the associated refresh token (see `RFC 6749 section 6 <https://datatracker.ietf.org/doc/html/rfc6749#section-6>`_), provided that the OAuth server supports that. Default value is true.
.google.protobuf.BoolValue use_refresh_token = 12;- Specified by:
getUseRefreshTokenOrBuilderin interfaceOAuth2ConfigOrBuilder
-
hasDefaultExpiresIn
public boolean hasDefaultExpiresIn()The default lifetime in seconds of the access token, if omitted by the authorization server. If this value is not set, it will default to ``0s``. In this case, the expiry must be set by the authorization server or the OAuth flow will fail.
.google.protobuf.Duration default_expires_in = 13;- Specified by:
hasDefaultExpiresInin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the defaultExpiresIn field is set.
-
getDefaultExpiresIn
public com.google.protobuf.Duration getDefaultExpiresIn()The default lifetime in seconds of the access token, if omitted by the authorization server. If this value is not set, it will default to ``0s``. In this case, the expiry must be set by the authorization server or the OAuth flow will fail.
.google.protobuf.Duration default_expires_in = 13;- Specified by:
getDefaultExpiresInin interfaceOAuth2ConfigOrBuilder- Returns:
- The defaultExpiresIn.
-
setDefaultExpiresIn
The default lifetime in seconds of the access token, if omitted by the authorization server. If this value is not set, it will default to ``0s``. In this case, the expiry must be set by the authorization server or the OAuth flow will fail.
.google.protobuf.Duration default_expires_in = 13; -
setDefaultExpiresIn
public OAuth2Config.Builder setDefaultExpiresIn(com.google.protobuf.Duration.Builder builderForValue) The default lifetime in seconds of the access token, if omitted by the authorization server. If this value is not set, it will default to ``0s``. In this case, the expiry must be set by the authorization server or the OAuth flow will fail.
.google.protobuf.Duration default_expires_in = 13; -
mergeDefaultExpiresIn
The default lifetime in seconds of the access token, if omitted by the authorization server. If this value is not set, it will default to ``0s``. In this case, the expiry must be set by the authorization server or the OAuth flow will fail.
.google.protobuf.Duration default_expires_in = 13; -
clearDefaultExpiresIn
The default lifetime in seconds of the access token, if omitted by the authorization server. If this value is not set, it will default to ``0s``. In this case, the expiry must be set by the authorization server or the OAuth flow will fail.
.google.protobuf.Duration default_expires_in = 13; -
getDefaultExpiresInBuilder
public com.google.protobuf.Duration.Builder getDefaultExpiresInBuilder()The default lifetime in seconds of the access token, if omitted by the authorization server. If this value is not set, it will default to ``0s``. In this case, the expiry must be set by the authorization server or the OAuth flow will fail.
.google.protobuf.Duration default_expires_in = 13; -
getDefaultExpiresInOrBuilder
public com.google.protobuf.DurationOrBuilder getDefaultExpiresInOrBuilder()The default lifetime in seconds of the access token, if omitted by the authorization server. If this value is not set, it will default to ``0s``. In this case, the expiry must be set by the authorization server or the OAuth flow will fail.
.google.protobuf.Duration default_expires_in = 13;- Specified by:
getDefaultExpiresInOrBuilderin interfaceOAuth2ConfigOrBuilder
-
getDenyRedirectMatcherList
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14;- Specified by:
getDenyRedirectMatcherListin interfaceOAuth2ConfigOrBuilder
-
getDenyRedirectMatcherCount
public int getDenyRedirectMatcherCount()Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14;- Specified by:
getDenyRedirectMatcherCountin interfaceOAuth2ConfigOrBuilder
-
getDenyRedirectMatcher
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14;- Specified by:
getDenyRedirectMatcherin interfaceOAuth2ConfigOrBuilder
-
setDenyRedirectMatcher
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
setDenyRedirectMatcher
public OAuth2Config.Builder setDenyRedirectMatcher(int index, HeaderMatcher.Builder builderForValue) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
addDenyRedirectMatcher
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
addDenyRedirectMatcher
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
addDenyRedirectMatcher
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
addDenyRedirectMatcher
public OAuth2Config.Builder addDenyRedirectMatcher(int index, HeaderMatcher.Builder builderForValue) Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
addAllDenyRedirectMatcher
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
clearDenyRedirectMatcher
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
removeDenyRedirectMatcher
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
getDenyRedirectMatcherBuilder
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
getDenyRedirectMatcherOrBuilder
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14;- Specified by:
getDenyRedirectMatcherOrBuilderin interfaceOAuth2ConfigOrBuilder
-
getDenyRedirectMatcherOrBuilderList
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14;- Specified by:
getDenyRedirectMatcherOrBuilderListin interfaceOAuth2ConfigOrBuilder
-
addDenyRedirectMatcherBuilder
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
addDenyRedirectMatcherBuilder
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
getDenyRedirectMatcherBuilderList
Any request that matches any of the provided matchers won't be redirected to OAuth server when tokens are not valid. Automatic access token refresh will be performed for these requests, if enabled. This behavior can be useful for AJAX requests.
repeated .envoy.config.route.v3.HeaderMatcher deny_redirect_matcher = 14; -
hasDefaultRefreshTokenExpiresIn
public boolean hasDefaultRefreshTokenExpiresIn()The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT. If this value is not set, it will default to ``604800s``. In this case, the cookie with the refresh token will be expired in a week. This setting is only considered if ``use_refresh_token`` is set to true, otherwise the authorization server expiration or ``default_expires_in`` is used.
.google.protobuf.Duration default_refresh_token_expires_in = 15;- Specified by:
hasDefaultRefreshTokenExpiresInin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the defaultRefreshTokenExpiresIn field is set.
-
getDefaultRefreshTokenExpiresIn
public com.google.protobuf.Duration getDefaultRefreshTokenExpiresIn()The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT. If this value is not set, it will default to ``604800s``. In this case, the cookie with the refresh token will be expired in a week. This setting is only considered if ``use_refresh_token`` is set to true, otherwise the authorization server expiration or ``default_expires_in`` is used.
.google.protobuf.Duration default_refresh_token_expires_in = 15;- Specified by:
getDefaultRefreshTokenExpiresInin interfaceOAuth2ConfigOrBuilder- Returns:
- The defaultRefreshTokenExpiresIn.
-
setDefaultRefreshTokenExpiresIn
The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT. If this value is not set, it will default to ``604800s``. In this case, the cookie with the refresh token will be expired in a week. This setting is only considered if ``use_refresh_token`` is set to true, otherwise the authorization server expiration or ``default_expires_in`` is used.
.google.protobuf.Duration default_refresh_token_expires_in = 15; -
setDefaultRefreshTokenExpiresIn
public OAuth2Config.Builder setDefaultRefreshTokenExpiresIn(com.google.protobuf.Duration.Builder builderForValue) The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT. If this value is not set, it will default to ``604800s``. In this case, the cookie with the refresh token will be expired in a week. This setting is only considered if ``use_refresh_token`` is set to true, otherwise the authorization server expiration or ``default_expires_in`` is used.
.google.protobuf.Duration default_refresh_token_expires_in = 15; -
mergeDefaultRefreshTokenExpiresIn
The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT. If this value is not set, it will default to ``604800s``. In this case, the cookie with the refresh token will be expired in a week. This setting is only considered if ``use_refresh_token`` is set to true, otherwise the authorization server expiration or ``default_expires_in`` is used.
.google.protobuf.Duration default_refresh_token_expires_in = 15; -
clearDefaultRefreshTokenExpiresIn
The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT. If this value is not set, it will default to ``604800s``. In this case, the cookie with the refresh token will be expired in a week. This setting is only considered if ``use_refresh_token`` is set to true, otherwise the authorization server expiration or ``default_expires_in`` is used.
.google.protobuf.Duration default_refresh_token_expires_in = 15; -
getDefaultRefreshTokenExpiresInBuilder
public com.google.protobuf.Duration.Builder getDefaultRefreshTokenExpiresInBuilder()The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT. If this value is not set, it will default to ``604800s``. In this case, the cookie with the refresh token will be expired in a week. This setting is only considered if ``use_refresh_token`` is set to true, otherwise the authorization server expiration or ``default_expires_in`` is used.
.google.protobuf.Duration default_refresh_token_expires_in = 15; -
getDefaultRefreshTokenExpiresInOrBuilder
public com.google.protobuf.DurationOrBuilder getDefaultRefreshTokenExpiresInOrBuilder()The default lifetime in seconds of the refresh token, if the exp (expiration time) claim is omitted in the refresh token or the refresh token is not JWT. If this value is not set, it will default to ``604800s``. In this case, the cookie with the refresh token will be expired in a week. This setting is only considered if ``use_refresh_token`` is set to true, otherwise the authorization server expiration or ``default_expires_in`` is used.
.google.protobuf.Duration default_refresh_token_expires_in = 15;- Specified by:
getDefaultRefreshTokenExpiresInOrBuilderin interfaceOAuth2ConfigOrBuilder
-
getDisableIdTokenSetCookie
public boolean getDisableIdTokenSetCookie()If set to true, the client will not set a cookie for ID Token even if one is received from the Identity Provider. This may be useful in cases where the ID Token is too large for HTTP cookies (longer than 4096 characters). Enabling this option will only disable setting the cookie response header, the filter will still process incoming ID Tokens as part of the HMAC if they are there. This is to ensure compatibility while switching this setting on. Future sessions would not set the IdToken cookie header.
bool disable_id_token_set_cookie = 17;- Specified by:
getDisableIdTokenSetCookiein interfaceOAuth2ConfigOrBuilder- Returns:
- The disableIdTokenSetCookie.
-
setDisableIdTokenSetCookie
If set to true, the client will not set a cookie for ID Token even if one is received from the Identity Provider. This may be useful in cases where the ID Token is too large for HTTP cookies (longer than 4096 characters). Enabling this option will only disable setting the cookie response header, the filter will still process incoming ID Tokens as part of the HMAC if they are there. This is to ensure compatibility while switching this setting on. Future sessions would not set the IdToken cookie header.
bool disable_id_token_set_cookie = 17;- Parameters:
value- The disableIdTokenSetCookie to set.- Returns:
- This builder for chaining.
-
clearDisableIdTokenSetCookie
If set to true, the client will not set a cookie for ID Token even if one is received from the Identity Provider. This may be useful in cases where the ID Token is too large for HTTP cookies (longer than 4096 characters). Enabling this option will only disable setting the cookie response header, the filter will still process incoming ID Tokens as part of the HMAC if they are there. This is to ensure compatibility while switching this setting on. Future sessions would not set the IdToken cookie header.
bool disable_id_token_set_cookie = 17;- Returns:
- This builder for chaining.
-
getDisableAccessTokenSetCookie
public boolean getDisableAccessTokenSetCookie()If set to true, the client will not set a cookie for Access Token even if one is received from the Identity Provider. Enabling this option will only disable setting the cookie response header, the filter will still process incoming Access Tokens as part of the HMAC if they are there. This is to ensure compatibility while switching this setting on. Future sessions would not set the Access Token cookie header.
bool disable_access_token_set_cookie = 19;- Specified by:
getDisableAccessTokenSetCookiein interfaceOAuth2ConfigOrBuilder- Returns:
- The disableAccessTokenSetCookie.
-
setDisableAccessTokenSetCookie
If set to true, the client will not set a cookie for Access Token even if one is received from the Identity Provider. Enabling this option will only disable setting the cookie response header, the filter will still process incoming Access Tokens as part of the HMAC if they are there. This is to ensure compatibility while switching this setting on. Future sessions would not set the Access Token cookie header.
bool disable_access_token_set_cookie = 19;- Parameters:
value- The disableAccessTokenSetCookie to set.- Returns:
- This builder for chaining.
-
clearDisableAccessTokenSetCookie
If set to true, the client will not set a cookie for Access Token even if one is received from the Identity Provider. Enabling this option will only disable setting the cookie response header, the filter will still process incoming Access Tokens as part of the HMAC if they are there. This is to ensure compatibility while switching this setting on. Future sessions would not set the Access Token cookie header.
bool disable_access_token_set_cookie = 19;- Returns:
- This builder for chaining.
-
getDisableRefreshTokenSetCookie
public boolean getDisableRefreshTokenSetCookie()If set to true, the client will not set a cookie for Refresh Token even if one is received from the Identity Provider. Enabling this option will only disable setting the cookie response header, the filter will still process incoming Refresh Tokens as part of the HMAC if they are there. This is to ensure compatibility while switching this setting on. Future sessions would not set the Refresh Token cookie header.
bool disable_refresh_token_set_cookie = 20;- Specified by:
getDisableRefreshTokenSetCookiein interfaceOAuth2ConfigOrBuilder- Returns:
- The disableRefreshTokenSetCookie.
-
setDisableRefreshTokenSetCookie
If set to true, the client will not set a cookie for Refresh Token even if one is received from the Identity Provider. Enabling this option will only disable setting the cookie response header, the filter will still process incoming Refresh Tokens as part of the HMAC if they are there. This is to ensure compatibility while switching this setting on. Future sessions would not set the Refresh Token cookie header.
bool disable_refresh_token_set_cookie = 20;- Parameters:
value- The disableRefreshTokenSetCookie to set.- Returns:
- This builder for chaining.
-
clearDisableRefreshTokenSetCookie
If set to true, the client will not set a cookie for Refresh Token even if one is received from the Identity Provider. Enabling this option will only disable setting the cookie response header, the filter will still process incoming Refresh Tokens as part of the HMAC if they are there. This is to ensure compatibility while switching this setting on. Future sessions would not set the Refresh Token cookie header.
bool disable_refresh_token_set_cookie = 20;- Returns:
- This builder for chaining.
-
hasCookieConfigs
public boolean hasCookieConfigs()Controls for attributes that can be set on the cookies.
.envoy.extensions.filters.http.oauth2.v3.CookieConfigs cookie_configs = 21;- Specified by:
hasCookieConfigsin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the cookieConfigs field is set.
-
getCookieConfigs
Controls for attributes that can be set on the cookies.
.envoy.extensions.filters.http.oauth2.v3.CookieConfigs cookie_configs = 21;- Specified by:
getCookieConfigsin interfaceOAuth2ConfigOrBuilder- Returns:
- The cookieConfigs.
-
setCookieConfigs
Controls for attributes that can be set on the cookies.
.envoy.extensions.filters.http.oauth2.v3.CookieConfigs cookie_configs = 21; -
setCookieConfigs
Controls for attributes that can be set on the cookies.
.envoy.extensions.filters.http.oauth2.v3.CookieConfigs cookie_configs = 21; -
mergeCookieConfigs
Controls for attributes that can be set on the cookies.
.envoy.extensions.filters.http.oauth2.v3.CookieConfigs cookie_configs = 21; -
clearCookieConfigs
Controls for attributes that can be set on the cookies.
.envoy.extensions.filters.http.oauth2.v3.CookieConfigs cookie_configs = 21; -
getCookieConfigsBuilder
Controls for attributes that can be set on the cookies.
.envoy.extensions.filters.http.oauth2.v3.CookieConfigs cookie_configs = 21; -
getCookieConfigsOrBuilder
Controls for attributes that can be set on the cookies.
.envoy.extensions.filters.http.oauth2.v3.CookieConfigs cookie_configs = 21;- Specified by:
getCookieConfigsOrBuilderin interfaceOAuth2ConfigOrBuilder
-
getStatPrefix
Optional additional prefix to use when emitting statistics.
string stat_prefix = 22;- Specified by:
getStatPrefixin interfaceOAuth2ConfigOrBuilder- Returns:
- The statPrefix.
-
getStatPrefixBytes
public com.google.protobuf.ByteString getStatPrefixBytes()Optional additional prefix to use when emitting statistics.
string stat_prefix = 22;- Specified by:
getStatPrefixBytesin interfaceOAuth2ConfigOrBuilder- Returns:
- The bytes for statPrefix.
-
setStatPrefix
Optional additional prefix to use when emitting statistics.
string stat_prefix = 22;- Parameters:
value- The statPrefix to set.- Returns:
- This builder for chaining.
-
clearStatPrefix
Optional additional prefix to use when emitting statistics.
string stat_prefix = 22;- Returns:
- This builder for chaining.
-
setStatPrefixBytes
Optional additional prefix to use when emitting statistics.
string stat_prefix = 22;- Parameters:
value- The bytes for statPrefix to set.- Returns:
- This builder for chaining.
-
hasCsrfTokenExpiresIn
public boolean hasCsrfTokenExpiresIn()Optional expiration time for the CSRF protection token cookie. The CSRF token prevents cross-site request forgery attacks during the OAuth2 flow. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration csrf_token_expires_in = 24;- Specified by:
hasCsrfTokenExpiresInin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the csrfTokenExpiresIn field is set.
-
getCsrfTokenExpiresIn
public com.google.protobuf.Duration getCsrfTokenExpiresIn()Optional expiration time for the CSRF protection token cookie. The CSRF token prevents cross-site request forgery attacks during the OAuth2 flow. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration csrf_token_expires_in = 24;- Specified by:
getCsrfTokenExpiresInin interfaceOAuth2ConfigOrBuilder- Returns:
- The csrfTokenExpiresIn.
-
setCsrfTokenExpiresIn
Optional expiration time for the CSRF protection token cookie. The CSRF token prevents cross-site request forgery attacks during the OAuth2 flow. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration csrf_token_expires_in = 24; -
setCsrfTokenExpiresIn
public OAuth2Config.Builder setCsrfTokenExpiresIn(com.google.protobuf.Duration.Builder builderForValue) Optional expiration time for the CSRF protection token cookie. The CSRF token prevents cross-site request forgery attacks during the OAuth2 flow. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration csrf_token_expires_in = 24; -
mergeCsrfTokenExpiresIn
Optional expiration time for the CSRF protection token cookie. The CSRF token prevents cross-site request forgery attacks during the OAuth2 flow. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration csrf_token_expires_in = 24; -
clearCsrfTokenExpiresIn
Optional expiration time for the CSRF protection token cookie. The CSRF token prevents cross-site request forgery attacks during the OAuth2 flow. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration csrf_token_expires_in = 24; -
getCsrfTokenExpiresInBuilder
public com.google.protobuf.Duration.Builder getCsrfTokenExpiresInBuilder()Optional expiration time for the CSRF protection token cookie. The CSRF token prevents cross-site request forgery attacks during the OAuth2 flow. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration csrf_token_expires_in = 24; -
getCsrfTokenExpiresInOrBuilder
public com.google.protobuf.DurationOrBuilder getCsrfTokenExpiresInOrBuilder()Optional expiration time for the CSRF protection token cookie. The CSRF token prevents cross-site request forgery attacks during the OAuth2 flow. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration csrf_token_expires_in = 24;- Specified by:
getCsrfTokenExpiresInOrBuilderin interfaceOAuth2ConfigOrBuilder
-
hasCodeVerifierTokenExpiresIn
public boolean hasCodeVerifierTokenExpiresIn()Optional expiration time for the code verifier cookie. The code verifier is stored in a secure, HTTP-only cookie during the OAuth2 authorization process. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration code_verifier_token_expires_in = 25;- Specified by:
hasCodeVerifierTokenExpiresInin interfaceOAuth2ConfigOrBuilder- Returns:
- Whether the codeVerifierTokenExpiresIn field is set.
-
getCodeVerifierTokenExpiresIn
public com.google.protobuf.Duration getCodeVerifierTokenExpiresIn()Optional expiration time for the code verifier cookie. The code verifier is stored in a secure, HTTP-only cookie during the OAuth2 authorization process. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration code_verifier_token_expires_in = 25;- Specified by:
getCodeVerifierTokenExpiresInin interfaceOAuth2ConfigOrBuilder- Returns:
- The codeVerifierTokenExpiresIn.
-
setCodeVerifierTokenExpiresIn
Optional expiration time for the code verifier cookie. The code verifier is stored in a secure, HTTP-only cookie during the OAuth2 authorization process. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration code_verifier_token_expires_in = 25; -
setCodeVerifierTokenExpiresIn
public OAuth2Config.Builder setCodeVerifierTokenExpiresIn(com.google.protobuf.Duration.Builder builderForValue) Optional expiration time for the code verifier cookie. The code verifier is stored in a secure, HTTP-only cookie during the OAuth2 authorization process. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration code_verifier_token_expires_in = 25; -
mergeCodeVerifierTokenExpiresIn
Optional expiration time for the code verifier cookie. The code verifier is stored in a secure, HTTP-only cookie during the OAuth2 authorization process. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration code_verifier_token_expires_in = 25; -
clearCodeVerifierTokenExpiresIn
Optional expiration time for the code verifier cookie. The code verifier is stored in a secure, HTTP-only cookie during the OAuth2 authorization process. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration code_verifier_token_expires_in = 25; -
getCodeVerifierTokenExpiresInBuilder
public com.google.protobuf.Duration.Builder getCodeVerifierTokenExpiresInBuilder()Optional expiration time for the code verifier cookie. The code verifier is stored in a secure, HTTP-only cookie during the OAuth2 authorization process. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration code_verifier_token_expires_in = 25; -
getCodeVerifierTokenExpiresInOrBuilder
public com.google.protobuf.DurationOrBuilder getCodeVerifierTokenExpiresInOrBuilder()Optional expiration time for the code verifier cookie. The code verifier is stored in a secure, HTTP-only cookie during the OAuth2 authorization process. If not specified, defaults to ``600s`` (10 minutes), which should provide sufficient time for users to complete the OAuth2 authorization flow.
.google.protobuf.Duration code_verifier_token_expires_in = 25;- Specified by:
getCodeVerifierTokenExpiresInOrBuilderin interfaceOAuth2ConfigOrBuilder
-
getDisableTokenEncryption
public boolean getDisableTokenEncryption()Disable token encryption. When set to true, both the access token and the ID token will be stored in plain text. This option should only be used in secure environments where token encryption is not required. Default is false (tokens are encrypted).
bool disable_token_encryption = 26;- Specified by:
getDisableTokenEncryptionin interfaceOAuth2ConfigOrBuilder- Returns:
- The disableTokenEncryption.
-
setDisableTokenEncryption
Disable token encryption. When set to true, both the access token and the ID token will be stored in plain text. This option should only be used in secure environments where token encryption is not required. Default is false (tokens are encrypted).
bool disable_token_encryption = 26;- Parameters:
value- The disableTokenEncryption to set.- Returns:
- This builder for chaining.
-
clearDisableTokenEncryption
Disable token encryption. When set to true, both the access token and the ID token will be stored in plain text. This option should only be used in secure environments where token encryption is not required. Default is false (tokens are encrypted).
bool disable_token_encryption = 26;- Returns:
- This builder for chaining.
-
setUnknownFields
public final OAuth2Config.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
-
mergeUnknownFields
public final OAuth2Config.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OAuth2Config.Builder>
-