asOAuthClientCredentials
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.