pl.allegro.tech.hermes.domain.oauth.OAuthProviderRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-common Show documentation
Show all versions of hermes-common Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.domain.oauth;
import pl.allegro.tech.hermes.api.OAuthProvider;
import java.util.List;
public interface OAuthProviderRepository {
boolean oAuthProviderExists(String oAuthProviderName);
void ensureOAuthProviderExists(String oAuthProviderName);
List listOAuthProviderNames();
List listOAuthProviders();
OAuthProvider getOAuthProviderDetails(String oAuthProviderName);
void createOAuthProvider(OAuthProvider oAuthProvider);
void updateOAuthProvider(OAuthProvider oAuthprovider);
void removeOAuthProvider(String oAuthProviderName);
}