接口的使用
com.lark.oapi.okhttp.Authenticator
使用Authenticator的程序包
-
com.lark.oapi.okhttp中Authenticator的使用
修饰符和类型字段说明static final AuthenticatorAuthenticator.NONEAn authenticator that knows no credentials and makes no attempt to authenticate.修饰符和类型方法说明OkHttpClient.authenticator()Address.proxyAuthenticator()Returns the client's proxy authenticator.OkHttpClient.proxyAuthenticator()参数类型为Authenticator的com.lark.oapi.okhttp中的方法修饰符和类型方法说明OkHttpClient.Builder.authenticator(Authenticator authenticator) Sets the authenticator used to respond to challenges from origin servers.OkHttpClient.Builder.proxyAuthenticator(Authenticator proxyAuthenticator) Sets the authenticator used to respond to challenges from proxy servers.参数类型为Authenticator的com.lark.oapi.okhttp中的构造器限定符构造器说明Address(String uriHost, int uriPort, Dns dns, SocketFactory socketFactory, SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, CertificatePinner certificatePinner, Authenticator proxyAuthenticator, Proxy proxy, List<Protocol> protocols, List<ConnectionSpec> connectionSpecs, ProxySelector proxySelector)