Interface OAuth2CredentialsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OAuth2Credentials,OAuth2Credentials.Builder
public interface OAuth2CredentialsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.OAuth2Credentials.TokenFormationCasegetTokenFormationCase()SdsSecretConfiggetTokenSecret()The secret used to retrieve the access token.SdsSecretConfigOrBuildergetTokenSecretOrBuilder()The secret used to retrieve the access token.booleanhasCookieNames()The cookie names used in OAuth filters flow.booleanhasHmacSecret()If present, the secret token will be a HMAC using the provided secret.booleanhasTokenSecret()The secret used to retrieve the access token.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getClientId
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) = { ... }- Returns:
- The clientId.
-
getClientIdBytes
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) = { ... }- Returns:
- The bytes for clientId.
-
hasTokenSecret
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) = { ... }- Returns:
- Whether the tokenSecret field is set.
-
getTokenSecret
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) = { ... }- Returns:
- The tokenSecret.
-
getTokenSecretOrBuilder
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) = { ... }
-
hasHmacSecret
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) = { ... }- Returns:
- Whether the hmacSecret field is set.
-
getHmacSecret
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) = { ... }- Returns:
- The hmacSecret.
-
getHmacSecretOrBuilder
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) = { ... }
-
hasCookieNames
boolean hasCookieNames()
The cookie names used in OAuth filters flow.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials.CookieNames cookie_names = 4;- Returns:
- Whether the cookieNames field is set.
-
getCookieNames
OAuth2Credentials.CookieNames getCookieNames()
The cookie names used in OAuth filters flow.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials.CookieNames cookie_names = 4;- Returns:
- The cookieNames.
-
getCookieNamesOrBuilder
OAuth2Credentials.CookieNamesOrBuilder getCookieNamesOrBuilder()
The cookie names used in OAuth filters flow.
.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials.CookieNames cookie_names = 4;
-
getTokenFormationCase
OAuth2Credentials.TokenFormationCase getTokenFormationCase()
-
-