RemoteAgentAuthorizationConfig
Authorization configuration for remote A2A agents with token-based auth (API key, OAuth, bearer token).
Inheritors
Types
Remote agent configuration with API key authentication.
Remote agent configuration with Bearer token (RFC 6750).
Remote agent configuration with OAuth client credentials.
Functions
Casts this RemoteAgentAuthorizationConfig as a ApiKey and retrieves its aws.sdk.kotlin.services.devopsagent.model.RemoteAgentApiKeyConfig value. Throws an exception if the RemoteAgentAuthorizationConfig is not a ApiKey.
Casts this RemoteAgentAuthorizationConfig as a ApiKey and retrieves its aws.sdk.kotlin.services.devopsagent.model.RemoteAgentApiKeyConfig value. Returns null if the RemoteAgentAuthorizationConfig is not a ApiKey.
Casts this RemoteAgentAuthorizationConfig as a BearerToken and retrieves its aws.sdk.kotlin.services.devopsagent.model.RemoteAgentBearerTokenConfig value. Throws an exception if the RemoteAgentAuthorizationConfig is not a BearerToken.
Casts this RemoteAgentAuthorizationConfig as a BearerToken and retrieves its aws.sdk.kotlin.services.devopsagent.model.RemoteAgentBearerTokenConfig value. Returns null if the RemoteAgentAuthorizationConfig is not a BearerToken.
Casts this RemoteAgentAuthorizationConfig as a OAuthClientCredentials and retrieves its aws.sdk.kotlin.services.devopsagent.model.RemoteAgentOAuthClientCredentialsConfig value. Throws an exception if the RemoteAgentAuthorizationConfig is not a OAuthClientCredentials.
Casts this RemoteAgentAuthorizationConfig as a OAuthClientCredentials and retrieves its aws.sdk.kotlin.services.devopsagent.model.RemoteAgentOAuthClientCredentialsConfig value. Returns null if the RemoteAgentAuthorizationConfig is not a OAuthClientCredentials.