pl.allegro.tech.hermes.consumers.consumer.oauth.OAuthAccessTokens Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-consumers Show documentation
Show all versions of hermes-consumers Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.consumers.consumer.oauth;
import pl.allegro.tech.hermes.api.SubscriptionName;
import java.util.Optional;
public interface OAuthAccessTokens {
Optional loadToken(SubscriptionName subscription);
Optional getTokenIfPresent(SubscriptionName subscription);
void refreshToken(SubscriptionName subscription);
boolean tokenExists(SubscriptionName subscription);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy