McpServerAuthorizationConfig
Authorization configuration options for MCP server, supporting OAuth, API key, bearer token, and authorization discovery methods.
Inheritors
Types
MCP server configuration with API key authentication.
MCP server authorization discovery configuration.
MCP server configuration with Bearer token (RFC 6750).
MCP server configuration with OAuth 3LO.
MCP server configuration with OAuth client credentials.
Functions
Casts this McpServerAuthorizationConfig as a ApiKey and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerApiKeyConfig value. Throws an exception if the McpServerAuthorizationConfig is not a ApiKey.
Casts this McpServerAuthorizationConfig as a ApiKey and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerApiKeyConfig value. Returns null if the McpServerAuthorizationConfig is not a ApiKey.
Casts this McpServerAuthorizationConfig as a AuthorizationDiscovery and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerAuthorizationDiscoveryConfig value. Throws an exception if the McpServerAuthorizationConfig is not a AuthorizationDiscovery.
Casts this McpServerAuthorizationConfig as a AuthorizationDiscovery and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerAuthorizationDiscoveryConfig value. Returns null if the McpServerAuthorizationConfig is not a AuthorizationDiscovery.
Casts this McpServerAuthorizationConfig as a BearerToken and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerBearerTokenConfig value. Throws an exception if the McpServerAuthorizationConfig is not a BearerToken.
Casts this McpServerAuthorizationConfig as a BearerToken and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerBearerTokenConfig value. Returns null if the McpServerAuthorizationConfig is not a BearerToken.
Casts this McpServerAuthorizationConfig as a OAuth3Lo and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerOAuth3LoConfig value. Throws an exception if the McpServerAuthorizationConfig is not a OAuth3Lo.
Casts this McpServerAuthorizationConfig as a OAuth3Lo and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerOAuth3LoConfig value. Returns null if the McpServerAuthorizationConfig is not a OAuth3Lo.
Casts this McpServerAuthorizationConfig as a OAuthClientCredentials and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerOAuthClientCredentialsConfig value. Throws an exception if the McpServerAuthorizationConfig is not a OAuthClientCredentials.
Casts this McpServerAuthorizationConfig as a OAuthClientCredentials and retrieves its aws.sdk.kotlin.services.devopsagent.model.McpServerOAuthClientCredentialsConfig value. Returns null if the McpServerAuthorizationConfig is not a OAuthClientCredentials.