public class TokenHandler
Handle the generation and the refresh of the token header This token is mandatory in request from bot to teams via microsoft-api
public TokenHandler(@NotNull
java.lang.String appId,
@NotNull
java.lang.String password)
Handle the generation and the refresh of the token header This token is mandatory in request from bot to teams via microsoft-api
@Nullable public java.lang.String getToken()
public void setToken(@Nullable
java.lang.String p)
@NotNull public com.fasterxml.jackson.databind.ObjectMapper getTeamsMapper()
@NotNull public LoginMicrosoftOnline getLoginApi()
public void setLoginApi(@NotNull
LoginMicrosoftOnline p)
public void checkToken()
public boolean isTokenExpired()
public void launchTokenCollector(@NotNull
java.lang.String connectorId,
long msInterval)
public void stopTokenCollector()