Class JpaCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
java.lang.Object
com.broadleafcommerce.auth.authorization.provider.jpa.repository.JpaCustomizedOAuth2AuthorizationRepository<D>
- All Implemented Interfaces:
CustomizedOAuth2AuthorizationRepository<D>
public class JpaCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
extends Object
implements CustomizedOAuth2AuthorizationRepository<D>
-
Constructor Summary
ConstructorsConstructorDescriptionJpaCustomizedOAuth2AuthorizationRepository(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, TokenProperties properties, JpaOAuth2AuthorizationHashValueProvider hashValueProvider) -
Method Summary
Modifier and TypeMethodDescriptioncleanupBatch(String startingId) findByToken(String token, org.springframework.security.oauth2.server.authorization.OAuth2TokenType tokenType) voidvoid
-
Constructor Details
-
JpaCustomizedOAuth2AuthorizationRepository
public JpaCustomizedOAuth2AuthorizationRepository(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, TokenProperties properties, JpaOAuth2AuthorizationHashValueProvider hashValueProvider)
-
-
Method Details
-
save
- Specified by:
savein interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
remove
- Specified by:
removein interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
findById
- Specified by:
findByIdin interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
findByOid
- Specified by:
findByOidin interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
findByToken
@Nullable public D findByToken(String token, @Nullable org.springframework.security.oauth2.server.authorization.OAuth2TokenType tokenType) - Specified by:
findByTokenin interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
cleanupBatch
- Specified by:
cleanupBatchin interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
getDomainType
-