Class OAuth2Credentials
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OAuth2CredentialsOrBuilder,Serializable
public final class OAuth2Credentials extends com.google.protobuf.GeneratedMessageV3 implements OAuth2CredentialsOrBuilder
Protobuf typeenvoy.extensions.filters.http.oauth2.v3.OAuth2Credentials- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOAuth2Credentials.BuilderProtobuf typeenvoy.extensions.filters.http.oauth2.v3.OAuth2Credentialsstatic classOAuth2Credentials.CookieNamesProtobuf typeenvoy.extensions.filters.http.oauth2.v3.OAuth2Credentials.CookieNamesstatic interfaceOAuth2Credentials.CookieNamesOrBuilderstatic classOAuth2Credentials.TokenFormationCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intCLIENT_ID_FIELD_NUMBERstatic intCOOKIE_NAMES_FIELD_NUMBERstatic intHMAC_SECRET_FIELD_NUMBERstatic intTOKEN_SECRET_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetClientId()The client_id to be used in the authorize calls.com.google.protobuf.ByteStringgetClientIdBytes()The client_id to be used in the authorize calls.OAuth2Credentials.CookieNamesgetCookieNames()The cookie names used in OAuth filters flow.OAuth2Credentials.CookieNamesOrBuildergetCookieNamesOrBuilder()The cookie names used in OAuth filters flow.static OAuth2CredentialsgetDefaultInstance()OAuth2CredentialsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()SdsSecretConfiggetHmacSecret()If present, the secret token will be a HMAC using the provided secret.SdsSecretConfigOrBuildergetHmacSecretOrBuilder()If present, the secret token will be a HMAC using the provided secret.com.google.protobuf.Parser<OAuth2Credentials>getParserForType()intgetSerializedSize()OAuth2Credentials.TokenFormationCasegetTokenFormationCase()SdsSecretConfiggetTokenSecret()The secret used to retrieve the access token.SdsSecretConfigOrBuildergetTokenSecretOrBuilder()The secret used to retrieve the access token.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCookieNames()The cookie names used in OAuth filters flow.inthashCode()booleanhasHmacSecret()If present, the secret token will be a HMAC using the provided secret.booleanhasTokenSecret()The secret used to retrieve the access token.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OAuth2Credentials.BuildernewBuilder()static OAuth2Credentials.BuildernewBuilder(OAuth2Credentials prototype)OAuth2Credentials.BuildernewBuilderForType()protected OAuth2Credentials.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OAuth2CredentialsparseDelimitedFrom(InputStream input)static OAuth2CredentialsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OAuth2CredentialsparseFrom(byte[] data)static OAuth2CredentialsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OAuth2CredentialsparseFrom(com.google.protobuf.ByteString data)static OAuth2CredentialsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OAuth2CredentialsparseFrom(com.google.protobuf.CodedInputStream input)static OAuth2CredentialsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OAuth2CredentialsparseFrom(InputStream input)static OAuth2CredentialsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OAuth2CredentialsparseFrom(ByteBuffer data)static OAuth2CredentialsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OAuth2Credentials>parser()OAuth2Credentials.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOKEN_SECRET_FIELD_NUMBER
public static final int TOKEN_SECRET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HMAC_SECRET_FIELD_NUMBER
public static final int HMAC_SECRET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COOKIE_NAMES_FIELD_NUMBER
public static final int COOKIE_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getTokenFormationCase
public OAuth2Credentials.TokenFormationCase getTokenFormationCase()
- Specified by:
getTokenFormationCasein interfaceOAuth2CredentialsOrBuilder
-
getClientId
public String getClientId()
The client_id to be used in the authorize calls. This value will be URL encoded when sent to the OAuth server.
string client_id = 1 [(.validate.rules) = { ... }- Specified by:
getClientIdin interfaceOAuth2CredentialsOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
The client_id to be used in the authorize calls. This value will be URL encoded when sent to the OAuth server.
string client_id = 1 [(.validate.rules) = { ... }- Specified by:
getClientIdBytesin interfaceOAuth2CredentialsOrBuilder- Returns:
- The bytes for clientId.
-
hasTokenSecret
public boolean hasTokenSecret()
The secret used to retrieve the access token. This value will be URL encoded when sent to the OAuth server.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig token_secret = 2 [(.validate.rules) = { ... }- Specified by:
hasTokenSecretin interfaceOAuth2CredentialsOrBuilder- Returns:
- Whether the tokenSecret field is set.
-
getTokenSecret
public SdsSecretConfig getTokenSecret()
The secret used to retrieve the access token. This value will be URL encoded when sent to the OAuth server.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig token_secret = 2 [(.validate.rules) = { ... }- Specified by:
getTokenSecretin interfaceOAuth2CredentialsOrBuilder- Returns:
- The tokenSecret.
-
getTokenSecretOrBuilder
public SdsSecretConfigOrBuilder getTokenSecretOrBuilder()
The secret used to retrieve the access token. This value will be URL encoded when sent to the OAuth server.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig token_secret = 2 [(.validate.rules) = { ... }- Specified by:
getTokenSecretOrBuilderin interfaceOAuth2CredentialsOrBuilder
-
hasHmacSecret
public boolean hasHmacSecret()
If present, the secret token will be a HMAC using the provided secret.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig hmac_secret = 3 [(.validate.rules) = { ... }- Specified by:
hasHmacSecretin interfaceOAuth2CredentialsOrBuilder- Returns:
- Whether the hmacSecret field is set.
-
getHmacSecret
public SdsSecretConfig getHmacSecret()
If present, the secret token will be a HMAC using the provided secret.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig hmac_secret = 3 [(.validate.rules) = { ... }- Specified by:
getHmacSecretin interfaceOAuth2CredentialsOrBuilder- Returns:
- The hmacSecret.
-
getHmacSecretOrBuilder
public SdsSecretConfigOrBuilder getHmacSecretOrBuilder()
If present, the secret token will be a HMAC using the provided secret.
.envoy.extensions.transport_sockets.tls.v3.SdsSecretConfig hmac_secret = 3 [(.validate.rules) = { ... }- Specified by:
getHmacSecretOrBuilderin interfaceOAuth2CredentialsOrBuilder
-
hasCookieNames
public boolean hasCookieNames()
The cookie names used in OAuth filters flow.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials.CookieNames cookie_names = 4;- Specified by:
hasCookieNamesin interfaceOAuth2CredentialsOrBuilder- Returns:
- Whether the cookieNames field is set.
-
getCookieNames
public OAuth2Credentials.CookieNames getCookieNames()
The cookie names used in OAuth filters flow.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials.CookieNames cookie_names = 4;- Specified by:
getCookieNamesin interfaceOAuth2CredentialsOrBuilder- Returns:
- The cookieNames.
-
getCookieNamesOrBuilder
public OAuth2Credentials.CookieNamesOrBuilder getCookieNamesOrBuilder()
The cookie names used in OAuth filters flow.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials.CookieNames cookie_names = 4;- Specified by:
getCookieNamesOrBuilderin interfaceOAuth2CredentialsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OAuth2Credentials parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2Credentials parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2Credentials parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2Credentials parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2Credentials parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2Credentials parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OAuth2Credentials parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OAuth2Credentials parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OAuth2Credentials parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OAuth2Credentials parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OAuth2Credentials parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OAuth2Credentials parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OAuth2Credentials.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OAuth2Credentials.Builder newBuilder()
-
newBuilder
public static OAuth2Credentials.Builder newBuilder(OAuth2Credentials prototype)
-
toBuilder
public OAuth2Credentials.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OAuth2Credentials.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OAuth2Credentials getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OAuth2Credentials> parser()
-
getParserForType
public com.google.protobuf.Parser<OAuth2Credentials> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OAuth2Credentials getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-