Class OAuthSubscriptionAccessTokens

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<OAuthAccessToken> getTokenIfPresent​(pl.allegro.tech.hermes.api.SubscriptionName subscriptionName)  
      java.util.Optional<OAuthAccessToken> loadToken​(pl.allegro.tech.hermes.api.SubscriptionName subscriptionName)  
      void refreshToken​(pl.allegro.tech.hermes.api.SubscriptionName subscriptionName)  
      boolean tokenExists​(pl.allegro.tech.hermes.api.SubscriptionName subscriptionName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OAuthSubscriptionAccessTokens

        public OAuthSubscriptionAccessTokens​(OAuthAccessTokensLoader tokenLoader,
                                             pl.allegro.tech.hermes.common.config.ConfigFactory configFactory)