Package flyteidl.core
Interface Security.OAuth2TokenRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Security.OAuth2TokenRequest,Security.OAuth2TokenRequest.Builder
- Enclosing class:
- Security
public static interface Security.OAuth2TokenRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Security.OAuth2ClientgetClient()client references the client_id/secret to use to request the OAuth2 token.Security.OAuth2ClientOrBuildergetClientOrBuilder()client references the client_id/secret to use to request the OAuth2 token.StringgetIdpDiscoveryEndpoint()idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related information.com.google.protobuf.ByteStringgetIdpDiscoveryEndpointBytes()idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related information.StringgetName()name indicates a unique id for the token request within this task token requests.com.google.protobuf.ByteStringgetNameBytes()name indicates a unique id for the token request within this task token requests.StringgetTokenEndpoint()token_endpoint references the token issuance endpoint.com.google.protobuf.ByteStringgetTokenEndpointBytes()token_endpoint references the token issuance endpoint.Security.OAuth2TokenRequest.TypegetType()type indicates the type of the request to make.intgetTypeValue()type indicates the type of the request to make.booleanhasClient()client references the client_id/secret to use to request the OAuth2 token.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for environment variables and as a filename for mounting tokens as files. +required
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
name indicates a unique id for the token request within this task token requests. It'll be used as a suffix for environment variables and as a filename for mounting tokens as files. +required
string name = 1;- Returns:
- The bytes for name.
-
getTypeValue
int getTypeValue()
type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS. +required
.flyteidl.core.OAuth2TokenRequest.Type type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
Security.OAuth2TokenRequest.Type getType()
type indicates the type of the request to make. Defaults to CLIENT_CREDENTIALS. +required
.flyteidl.core.OAuth2TokenRequest.Type type = 2;- Returns:
- The type.
-
hasClient
boolean hasClient()
client references the client_id/secret to use to request the OAuth2 token. +required
.flyteidl.core.OAuth2Client client = 3;- Returns:
- Whether the client field is set.
-
getClient
Security.OAuth2Client getClient()
client references the client_id/secret to use to request the OAuth2 token. +required
.flyteidl.core.OAuth2Client client = 3;- Returns:
- The client.
-
getClientOrBuilder
Security.OAuth2ClientOrBuilder getClientOrBuilder()
client references the client_id/secret to use to request the OAuth2 token. +required
.flyteidl.core.OAuth2Client client = 3;
-
getIdpDiscoveryEndpoint
String getIdpDiscoveryEndpoint()
idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related information. +optional
string idp_discovery_endpoint = 4;- Returns:
- The idpDiscoveryEndpoint.
-
getIdpDiscoveryEndpointBytes
com.google.protobuf.ByteString getIdpDiscoveryEndpointBytes()
idp_discovery_endpoint references the discovery endpoint used to retrieve token endpoint and other related information. +optional
string idp_discovery_endpoint = 4;- Returns:
- The bytes for idpDiscoveryEndpoint.
-
getTokenEndpoint
String getTokenEndpoint()
token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is mandatory. +optional
string token_endpoint = 5;- Returns:
- The tokenEndpoint.
-
getTokenEndpointBytes
com.google.protobuf.ByteString getTokenEndpointBytes()
token_endpoint references the token issuance endpoint. If idp_discovery_endpoint is not provided, this parameter is mandatory. +optional
string token_endpoint = 5;- Returns:
- The bytes for tokenEndpoint.
-
-