public final class OAuth2Config extends com.google.protobuf.GeneratedMessageV3 implements OAuth2ConfigOrBuilder
OAuth config [#next-free-field: 9]Protobuf type
envoy.extensions.filters.http.oauth2.v3alpha.OAuth2Config| Modifier and Type | Class and Description |
|---|---|
static class |
OAuth2Config.Builder
OAuth config
[#next-free-field: 9]
Protobuf type
envoy.extensions.filters.http.oauth2.v3alpha.OAuth2Config |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTHORIZATION_ENDPOINT_FIELD_NUMBER |
static int |
CREDENTIALS_FIELD_NUMBER |
static int |
FORWARD_BEARER_TOKEN_FIELD_NUMBER |
static int |
PASS_THROUGH_MATCHER_FIELD_NUMBER |
static int |
REDIRECT_PATH_MATCHER_FIELD_NUMBER |
static int |
REDIRECT_URI_FIELD_NUMBER |
static int |
SIGNOUT_PATH_FIELD_NUMBER |
static int |
TOKEN_ENDPOINT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAuthorizationEndpoint()
The endpoint redirect to for authorization in response to unauthorized requests.
|
com.google.protobuf.ByteString |
getAuthorizationEndpointBytes()
The endpoint redirect to for authorization in response to unauthorized requests.
|
OAuth2Credentials |
getCredentials()
Credentials used for OAuth.
|
OAuth2CredentialsOrBuilder |
getCredentialsOrBuilder()
Credentials used for OAuth.
|
static OAuth2Config |
getDefaultInstance() |
OAuth2Config |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getForwardBearerToken()
Forward the OAuth token as a Bearer to upstream web service.
|
com.google.protobuf.Parser<OAuth2Config> |
getParserForType() |
HeaderMatcher |
getPassThroughMatcher(int index)
Any request that matches any of the provided matchers will be passed through without OAuth validation.
|
int |
getPassThroughMatcherCount()
Any request that matches any of the provided matchers will be passed through without OAuth validation.
|
List<HeaderMatcher> |
getPassThroughMatcherList()
Any request that matches any of the provided matchers will be passed through without OAuth validation.
|
HeaderMatcherOrBuilder |
getPassThroughMatcherOrBuilder(int index)
Any request that matches any of the provided matchers will be passed through without OAuth validation.
|
List<? extends HeaderMatcherOrBuilder> |
getPassThroughMatcherOrBuilderList()
Any request that matches any of the provided matchers will be passed through without OAuth validation.
|
PathMatcher |
getRedirectPathMatcher()
Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
|
PathMatcherOrBuilder |
getRedirectPathMatcherOrBuilder()
Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
|
String |
getRedirectUri()
The redirect URI passed to the authorization endpoint.
|
com.google.protobuf.ByteString |
getRedirectUriBytes()
The redirect URI passed to the authorization endpoint.
|
int |
getSerializedSize() |
PathMatcher |
getSignoutPath()
The path to sign a user out, clearing their credential cookies.
|
PathMatcherOrBuilder |
getSignoutPathOrBuilder()
The path to sign a user out, clearing their credential cookies.
|
HttpUri |
getTokenEndpoint()
Endpoint on the authorization server to retrieve the access token from.
|
HttpUriOrBuilder |
getTokenEndpointOrBuilder()
Endpoint on the authorization server to retrieve the access token from.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCredentials()
Credentials used for OAuth.
|
int |
hashCode() |
boolean |
hasRedirectPathMatcher()
Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
|
boolean |
hasSignoutPath()
The path to sign a user out, clearing their credential cookies.
|
boolean |
hasTokenEndpoint()
Endpoint on the authorization server to retrieve the access token from.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OAuth2Config.Builder |
newBuilder() |
static OAuth2Config.Builder |
newBuilder(OAuth2Config prototype) |
OAuth2Config.Builder |
newBuilderForType() |
protected OAuth2Config.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static OAuth2Config |
parseDelimitedFrom(InputStream input) |
static OAuth2Config |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OAuth2Config |
parseFrom(byte[] data) |
static OAuth2Config |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OAuth2Config |
parseFrom(ByteBuffer data) |
static OAuth2Config |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OAuth2Config |
parseFrom(com.google.protobuf.ByteString data) |
static OAuth2Config |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OAuth2Config |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OAuth2Config |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OAuth2Config |
parseFrom(InputStream input) |
static OAuth2Config |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OAuth2Config> |
parser() |
OAuth2Config.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TOKEN_ENDPOINT_FIELD_NUMBER
public static final int AUTHORIZATION_ENDPOINT_FIELD_NUMBER
public static final int CREDENTIALS_FIELD_NUMBER
public static final int REDIRECT_URI_FIELD_NUMBER
public static final int REDIRECT_PATH_MATCHER_FIELD_NUMBER
public static final int SIGNOUT_PATH_FIELD_NUMBER
public static final int FORWARD_BEARER_TOKEN_FIELD_NUMBER
public static final int PASS_THROUGH_MATCHER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasTokenEndpoint()
Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1;hasTokenEndpoint in interface OAuth2ConfigOrBuilderpublic HttpUri getTokenEndpoint()
Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1;getTokenEndpoint in interface OAuth2ConfigOrBuilderpublic HttpUriOrBuilder getTokenEndpointOrBuilder()
Endpoint on the authorization server to retrieve the access token from.
.envoy.config.core.v3.HttpUri token_endpoint = 1;getTokenEndpointOrBuilder in interface OAuth2ConfigOrBuilderpublic String getAuthorizationEndpoint()
The endpoint redirect to for authorization in response to unauthorized requests.
string authorization_endpoint = 2 [(.validate.rules) = { ... }getAuthorizationEndpoint in interface OAuth2ConfigOrBuilderpublic com.google.protobuf.ByteString getAuthorizationEndpointBytes()
The endpoint redirect to for authorization in response to unauthorized requests.
string authorization_endpoint = 2 [(.validate.rules) = { ... }getAuthorizationEndpointBytes in interface OAuth2ConfigOrBuilderpublic boolean hasCredentials()
Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3alpha.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }hasCredentials in interface OAuth2ConfigOrBuilderpublic OAuth2Credentials getCredentials()
Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3alpha.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }getCredentials in interface OAuth2ConfigOrBuilderpublic OAuth2CredentialsOrBuilder getCredentialsOrBuilder()
Credentials used for OAuth.
.envoy.extensions.filters.http.oauth2.v3alpha.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }getCredentialsOrBuilder in interface OAuth2ConfigOrBuilderpublic String 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) = { ... }getRedirectUri in interface OAuth2ConfigOrBuilderpublic 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) = { ... }getRedirectUriBytes in interface OAuth2ConfigOrBuilderpublic 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) = { ... }hasRedirectPathMatcher in interface OAuth2ConfigOrBuilderpublic PathMatcher 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) = { ... }getRedirectPathMatcher in interface OAuth2ConfigOrBuilderpublic PathMatcherOrBuilder 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) = { ... }getRedirectPathMatcherOrBuilder in interface OAuth2ConfigOrBuilderpublic boolean hasSignoutPath()
The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }hasSignoutPath in interface OAuth2ConfigOrBuilderpublic PathMatcher getSignoutPath()
The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }getSignoutPath in interface OAuth2ConfigOrBuilderpublic PathMatcherOrBuilder getSignoutPathOrBuilder()
The path to sign a user out, clearing their credential cookies.
.envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }getSignoutPathOrBuilder in interface OAuth2ConfigOrBuilderpublic boolean getForwardBearerToken()
Forward the OAuth token as a Bearer to upstream web service.
bool forward_bearer_token = 7;getForwardBearerToken in interface OAuth2ConfigOrBuilderpublic List<HeaderMatcher> 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;getPassThroughMatcherList in interface OAuth2ConfigOrBuilderpublic List<? extends HeaderMatcherOrBuilder> 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;getPassThroughMatcherOrBuilderList in interface OAuth2ConfigOrBuilderpublic 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;getPassThroughMatcherCount in interface OAuth2ConfigOrBuilderpublic HeaderMatcher getPassThroughMatcher(int index)
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;getPassThroughMatcher in interface OAuth2ConfigOrBuilderpublic HeaderMatcherOrBuilder getPassThroughMatcherOrBuilder(int index)
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 in interface OAuth2ConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OAuth2Config parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Config parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Config parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Config parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Config parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Config parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Config parseFrom(InputStream input) throws IOException
IOExceptionpublic static OAuth2Config parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OAuth2Config parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OAuth2Config parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OAuth2Config parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OAuth2Config parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OAuth2Config.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OAuth2Config.Builder newBuilder()
public static OAuth2Config.Builder newBuilder(OAuth2Config prototype)
public OAuth2Config.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OAuth2Config.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OAuth2Config getDefaultInstance()
public static com.google.protobuf.Parser<OAuth2Config> parser()
public com.google.protobuf.Parser<OAuth2Config> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OAuth2Config getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.