Package-level declarations
Types
What a tool needs to authenticate to a service: the scheme the service expects, and the tool's credentials. Creating a config or reading its properties requires @OptIn(ExperimentalAuthApi::class); holding one, as EventActions does, does not.
A credential that a tool uses to call a service: an ApiKey, an Http credential, an OAuth2 or OpenID Connect credential, or a ServiceAccount.
How a service expects a tool to authenticate, such as with an API key, an HTTP credential or OAuth2. Most schemes match OpenAPI security schemes; OpenIdConnect gives a provider's endpoints directly.
The key under which ADK stores and looks up the credential an AuthConfig describes; configs with the same key share it. toString redacts it, because a derived key is a digest of the raw credential: build storage keys from value.
Stores the credentials tools obtain, such as a user's OAuth2 tokens, so that later invocations can reuse them instead of asking the user to sign in again. A failure of the underlying store propagates as an exception.
A CredentialService that keeps credentials in memory per app, user and credential key, so every session of a user shares them. It keeps each credential as saved, client secret included, and loses them all when the process exits.
A secret string, such as a token or a client secret, that prints as a placeholder.
A request from ADK for a credential one of the agent's tools needs, as Event.signInRequests finds it. Send the user to authUri when there is one, then answer with createResponse.