public final class OAuth2Credentials extends com.google.protobuf.GeneratedMessageV3 implements OAuth2CredentialsOrBuilder
envoy.extensions.filters.http.oauth2.v3alpha.OAuth2Credentials| Modifier and Type | Class and Description |
|---|---|
static class |
OAuth2Credentials.Builder
Protobuf type
envoy.extensions.filters.http.oauth2.v3alpha.OAuth2Credentials |
static class |
OAuth2Credentials.TokenFormationCase |
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 |
CLIENT_ID_FIELD_NUMBER |
static int |
HMAC_SECRET_FIELD_NUMBER |
static int |
TOKEN_SECRET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClientId()
The client_id to be used in the authorize calls.
|
com.google.protobuf.ByteString |
getClientIdBytes()
The client_id to be used in the authorize calls.
|
static OAuth2Credentials |
getDefaultInstance() |
OAuth2Credentials |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
SdsSecretConfig |
getHmacSecret()
If present, the secret token will be a HMAC using the provided secret.
|
SdsSecretConfigOrBuilder |
getHmacSecretOrBuilder()
If present, the secret token will be a HMAC using the provided secret.
|
com.google.protobuf.Parser<OAuth2Credentials> |
getParserForType() |
int |
getSerializedSize() |
OAuth2Credentials.TokenFormationCase |
getTokenFormationCase() |
SdsSecretConfig |
getTokenSecret()
The secret used to retrieve the access token.
|
SdsSecretConfigOrBuilder |
getTokenSecretOrBuilder()
The secret used to retrieve the access token.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHmacSecret()
If present, the secret token will be a HMAC using the provided secret.
|
boolean |
hasTokenSecret()
The secret used to retrieve the access token.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OAuth2Credentials.Builder |
newBuilder() |
static OAuth2Credentials.Builder |
newBuilder(OAuth2Credentials prototype) |
OAuth2Credentials.Builder |
newBuilderForType() |
protected OAuth2Credentials.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static OAuth2Credentials |
parseDelimitedFrom(InputStream input) |
static OAuth2Credentials |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OAuth2Credentials |
parseFrom(byte[] data) |
static OAuth2Credentials |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OAuth2Credentials |
parseFrom(ByteBuffer data) |
static OAuth2Credentials |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OAuth2Credentials |
parseFrom(com.google.protobuf.ByteString data) |
static OAuth2Credentials |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OAuth2Credentials |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OAuth2Credentials |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OAuth2Credentials |
parseFrom(InputStream input) |
static OAuth2Credentials |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OAuth2Credentials> |
parser() |
OAuth2Credentials.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 CLIENT_ID_FIELD_NUMBER
public static final int TOKEN_SECRET_FIELD_NUMBER
public static final int HMAC_SECRET_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 OAuth2Credentials.TokenFormationCase getTokenFormationCase()
getTokenFormationCase in interface OAuth2CredentialsOrBuilderpublic 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) = { ... }getClientId in interface OAuth2CredentialsOrBuilderpublic 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) = { ... }getClientIdBytes in interface OAuth2CredentialsOrBuilderpublic 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) = { ... }hasTokenSecret in interface OAuth2CredentialsOrBuilderpublic 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) = { ... }getTokenSecret in interface OAuth2CredentialsOrBuilderpublic 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) = { ... }getTokenSecretOrBuilder in interface OAuth2CredentialsOrBuilderpublic 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) = { ... }hasHmacSecret in interface OAuth2CredentialsOrBuilderpublic 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) = { ... }getHmacSecret in interface OAuth2CredentialsOrBuilderpublic 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) = { ... }getHmacSecretOrBuilder in interface OAuth2CredentialsOrBuilderpublic 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 OAuth2Credentials parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Credentials parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Credentials parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Credentials parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Credentials parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Credentials parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OAuth2Credentials parseFrom(InputStream input) throws IOException
IOExceptionpublic static OAuth2Credentials parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OAuth2Credentials parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OAuth2Credentials parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OAuth2Credentials parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OAuth2Credentials parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OAuth2Credentials.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OAuth2Credentials.Builder newBuilder()
public static OAuth2Credentials.Builder newBuilder(OAuth2Credentials prototype)
public OAuth2Credentials.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OAuth2Credentials.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OAuth2Credentials getDefaultInstance()
public static com.google.protobuf.Parser<OAuth2Credentials> parser()
public com.google.protobuf.Parser<OAuth2Credentials> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OAuth2Credentials getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.