public final class OAuth2Plugin extends EPagesJAbstractJpaPlugin
EPagesJAbstractJpaPlugin.EPagesJManagerFactoryProvider
storenames
JAX_RS_RESOURCE_CLASSES_KEY, JAX_RS_RESOURCE_INSTANCE_KEY
Constructor and Description |
---|
OAuth2Plugin() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
AuthorizationCodeRepository |
getAuthorizationCodeRepository(org.springframework.data.jpa.repository.support.JpaRepositoryFactory factory) |
OAuth2ClientRepository |
getOAuth2ClientRepository(org.springframework.data.jpa.repository.support.JpaRepositoryFactory factory) |
OAuth2TokenRepository |
getOAuth2TokenRepository(org.springframework.data.jpa.repository.support.JpaRepositoryFactory factory) |
bindJpaManagedClasses, create
addPersistanceUnit, addStorenameToFlyway, bindToJPAEntity
bindToChecker, bindToDataConverter, bindToDefaultConfig, bindToJaxRs, bindToJaxRs, bindToMongo, bindToOptionalConfig, equals, hashCode
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides public OAuth2ClientRepository getOAuth2ClientRepository(org.springframework.data.jpa.repository.support.JpaRepositoryFactory factory)
@Provides public OAuth2TokenRepository getOAuth2TokenRepository(org.springframework.data.jpa.repository.support.JpaRepositoryFactory factory)
@Provides public AuthorizationCodeRepository getAuthorizationCodeRepository(org.springframework.data.jpa.repository.support.JpaRepositoryFactory factory)