接口的使用
org.apache.pulsar.client.api.AuthenticationDataProvider
-
使用AuthenticationDataProvider的程序包 程序包 说明 org.apache.pulsar.client.api Pulsar Client API. -
-
org.apache.pulsar.client.api中AuthenticationDataProvider的使用
返回AuthenticationDataProvider的org.apache.pulsar.client.api中的方法 修饰符和类型 方法 说明 default AuthenticationDataProviderAuthentication. getAuthData()default AuthenticationDataProviderAuthentication. getAuthData(java.lang.String brokerHostName)Get/Create an authentication data provider which provides the data that this client will be sent to the broker.参数类型为AuthenticationDataProvider的org.apache.pulsar.client.api中的方法 修饰符和类型 方法 说明 default voidAuthentication. authenticationStage(java.lang.String requestUrl, AuthenticationDataProvider authData, java.util.Map<java.lang.String,java.lang.String> previousResHeaders, java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,java.lang.String>> authFuture)An authentication Stage.default java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>>Authentication. newRequestHeader(java.lang.String hostName, AuthenticationDataProvider authData, java.util.Map<java.lang.String,java.lang.String> previousResHeaders)Add an authenticationStage that will complete along with authFuture.
-