Package org.a2aproject.sdk.grpc
Interface OAuthFlowsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OAuthFlows,OAuthFlows.Builder
@Generated
public interface OAuthFlowsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration for the OAuth Authorization Code flow.Configuration for the OAuth Authorization Code flow.Configuration for the OAuth Client Credentials flow.Configuration for the OAuth Client Credentials flow.Configuration for the OAuth Device Code flow.Configuration for the OAuth Device Code flow.Deprecated.lf.a2a.v1.OAuthFlows.implicit is deprecated.Deprecated.Deprecated.lf.a2a.v1.OAuthFlows.password is deprecated.Deprecated.booleanConfiguration for the OAuth Authorization Code flow.booleanConfiguration for the OAuth Client Credentials flow.booleanConfiguration for the OAuth Device Code flow.booleanDeprecated.lf.a2a.v1.OAuthFlows.implicit is deprecated.booleanDeprecated.lf.a2a.v1.OAuthFlows.password is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAuthorizationCode
boolean hasAuthorizationCode()Configuration for the OAuth Authorization Code flow.
.lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1;- Returns:
- Whether the authorizationCode field is set.
-
getAuthorizationCode
AuthorizationCodeOAuthFlow getAuthorizationCode()Configuration for the OAuth Authorization Code flow.
.lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1;- Returns:
- The authorizationCode.
-
getAuthorizationCodeOrBuilder
AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBuilder()Configuration for the OAuth Authorization Code flow.
.lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; -
hasClientCredentials
boolean hasClientCredentials()Configuration for the OAuth Client Credentials flow.
.lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2;- Returns:
- Whether the clientCredentials field is set.
-
getClientCredentials
ClientCredentialsOAuthFlow getClientCredentials()Configuration for the OAuth Client Credentials flow.
.lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2;- Returns:
- The clientCredentials.
-
getClientCredentialsOrBuilder
ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBuilder()Configuration for the OAuth Client Credentials flow.
.lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; -
hasImplicit
Deprecated.lf.a2a.v1.OAuthFlows.implicit is deprecated. See a2a.proto;l=569Deprecated: Use Authorization Code + PKCE instead.
.lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true];- Returns:
- Whether the implicit field is set.
-
getImplicit
Deprecated.lf.a2a.v1.OAuthFlows.implicit is deprecated. See a2a.proto;l=569Deprecated: Use Authorization Code + PKCE instead.
.lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true];- Returns:
- The implicit.
-
getImplicitOrBuilder
Deprecated.Deprecated: Use Authorization Code + PKCE instead.
.lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; -
hasPassword
Deprecated.lf.a2a.v1.OAuthFlows.password is deprecated. See a2a.proto;l=571Deprecated: Use Authorization Code + PKCE or Device Code.
.lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true];- Returns:
- Whether the password field is set.
-
getPassword
Deprecated.lf.a2a.v1.OAuthFlows.password is deprecated. See a2a.proto;l=571Deprecated: Use Authorization Code + PKCE or Device Code.
.lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true];- Returns:
- The password.
-
getPasswordOrBuilder
Deprecated.Deprecated: Use Authorization Code + PKCE or Device Code.
.lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; -
hasDeviceCode
boolean hasDeviceCode()Configuration for the OAuth Device Code flow.
.lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5;- Returns:
- Whether the deviceCode field is set.
-
getDeviceCode
DeviceCodeOAuthFlow getDeviceCode()Configuration for the OAuth Device Code flow.
.lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5;- Returns:
- The deviceCode.
-
getDeviceCodeOrBuilder
DeviceCodeOAuthFlowOrBuilder getDeviceCodeOrBuilder()Configuration for the OAuth Device Code flow.
.lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; -
getFlowCase
OAuthFlows.FlowCase getFlowCase()
-