Package-level declarations
Types
Link copied to clipboard
data class AuthConfig @ExperimentalAuthApi constructor(val authScheme: AuthScheme, val rawAuthCredential: AuthCredential? = null, val exchangedAuthCredential: AuthCredential? = null, val credentialKey: String = deriveCredentialKey(authScheme, rawAuthCredential))
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.
Link copied to clipboard
A credential that a tool uses to call a service: an ApiKey, an Http credential, an OAuth2 or OpenID Connect credential, or a ServiceAccount.
Link copied to clipboard
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.
Link copied to clipboard
A secret string, such as a token or a client secret, that prints as a placeholder.