Class AuthenticationInterceptor

java.lang.Object
bg.codexio.ai.openai.api.http.AuthenticationInterceptor
All Implemented Interfaces:
okhttp3.Interceptor

public class AuthenticationInterceptor extends Object implements okhttp3.Interceptor
OkHttp interceptor type for OpenAI authentication
  • Constructor Details

    • AuthenticationInterceptor

      public AuthenticationInterceptor(HttpExecutorContext context)
      Parameters:
      context - passed along the HTTP configuration, mainly the credentials
  • Method Details