@API(status=INTERNAL) public abstract class AbstractBotAuthenticator extends java.lang.Object implements BotAuthenticator
BotAuthenticator
logic between RSA and certificate,
especially the retry logic on top of HTTP calls.Constructor and Description |
---|
AbstractBotAuthenticator(BdkRetryConfig retryConfig) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
authenticateAndGetToken(com.symphony.bdk.http.api.ApiClient client) |
protected abstract java.lang.String |
getBotUsername() |
protected java.lang.String |
retrieveToken(com.symphony.bdk.http.api.ApiClient client) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticateBot
public AbstractBotAuthenticator(BdkRetryConfig retryConfig)
protected java.lang.String retrieveToken(com.symphony.bdk.http.api.ApiClient client) throws AuthUnauthorizedException
AuthUnauthorizedException
protected abstract java.lang.String authenticateAndGetToken(com.symphony.bdk.http.api.ApiClient client) throws com.symphony.bdk.http.api.ApiException
com.symphony.bdk.http.api.ApiException
protected abstract java.lang.String getBotUsername()