类 AuthenticationInterceptor

java.lang.Object
com.zhipu.oapi.core.token.AuthenticationInterceptor
所有已实现的接口:
okhttp3.Interceptor

public class AuthenticationInterceptor extends Object implements okhttp3.Interceptor
OkHttp Interceptor that adds an authorization token header
  • 构造器详细资料

    • AuthenticationInterceptor

      public AuthenticationInterceptor(ConfigV4 config)
  • 方法详细资料

    • intercept

      public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException
      指定者:
      intercept 在接口中 okhttp3.Interceptor
      抛出:
      IOException