Class CodeMieProvider.ClaudeProviderExtension

All Implemented Interfaces:
Genai
Enclosing class:
CodeMieProvider

private final class CodeMieProvider.ClaudeProviderExtension extends AnthropicProvider
Anthropic provider extension that refreshes the CodeMie access token.
  • Field Details

    • username

      private final String username
      User name supplied to the CodeMie token endpoint.
    • resolvedAuthUrl

      private final String resolvedAuthUrl
      Token endpoint used to obtain the access token.
    • password

      private final String password
      Password or client secret supplied to the token endpoint.
  • Constructor Details

    • ClaudeProviderExtension

      private ClaudeProviderExtension(String username, String resolvedAuthUrl, String password)
      Creates an Anthropic extension with the credentials used for token refresh.
  • Method Details

    • getClient

      protected com.anthropic.client.AnthropicClient getClient()
      Refreshes the access token and creates the configured Anthropic client.
      Overrides:
      getClient in class AnthropicProvider