public interface Authentication
extends Closeable, Serializable
Modifier and Type | Method and Description |
---|---|
void |
configure(Map<String,String> authParams)
Deprecated.
This method will be deleted on version 2.0, instead please use configure(String
encodedAuthParamString) which is in EncodedAuthenticationParameterSupport for now and will be
integrated into this interface.
|
AuthenticationDataProvider |
getAuthData() |
String |
getAuthMethodName() |
void |
start()
Initialize the authentication provider
|
String getAuthMethodName()
AuthenticationDataProvider getAuthData() throws PulsarClientException
PulsarClientException.GettingAuthenticationDataException
- if there was error getting the authentication data to usePulsarClientException
- any other error@Deprecated void configure(Map<String,String> authParams)
authParams
- void start() throws PulsarClientException
PulsarClientException