Package org.a2aproject.sdk.grpc
Interface ImplicitOAuthFlowOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImplicitOAuthFlow,ImplicitOAuthFlow.Builder
@Generated
public interface ImplicitOAuthFlowOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsScopes(String key) The available scopes for the OAuth2 security scheme.The authorization URL to be used for this flow.com.google.protobuf.ByteStringThe authorization URL to be used for this flow.The URL to be used for obtaining refresh tokens.com.google.protobuf.ByteStringThe URL to be used for obtaining refresh tokens.Deprecated.intThe available scopes for the OAuth2 security scheme.The available scopes for the OAuth2 security scheme.getScopesOrDefault(String key, String defaultValue) The available scopes for the OAuth2 security scheme.getScopesOrThrow(String key) The available scopes for the OAuth2 security scheme.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
-
getAuthorizationUrl
String getAuthorizationUrl()The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS
string authorization_url = 1;- Returns:
- The authorizationUrl.
-
getAuthorizationUrlBytes
com.google.protobuf.ByteString getAuthorizationUrlBytes()The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS
string authorization_url = 1;- Returns:
- The bytes for authorizationUrl.
-
getRefreshUrl
String getRefreshUrl()The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.
string refresh_url = 2;- Returns:
- The refreshUrl.
-
getRefreshUrlBytes
com.google.protobuf.ByteString getRefreshUrlBytes()The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS.
string refresh_url = 2;- Returns:
- The bytes for refreshUrl.
-
getScopesCount
int getScopesCount()The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.
map<string, string> scopes = 3; -
containsScopes
The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.
map<string, string> scopes = 3; -
getScopes
Deprecated.UsegetScopesMap()instead. -
getScopesMap
The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.
map<string, string> scopes = 3; -
getScopesOrDefault
The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.
map<string, string> scopes = 3; -
getScopesOrThrow
The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.
map<string, string> scopes = 3;
-