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
ConstructorDescriptionJpaCustomizedOAuth2AuthorizationRepository
(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) void
void
-
Constructor Details
-
JpaCustomizedOAuth2AuthorizationRepository
public JpaCustomizedOAuth2AuthorizationRepository(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, TokenProperties properties, JpaOAuth2AuthorizationHashValueProvider hashValueProvider)
-
-
Method Details
-
save
- Specified by:
save
in interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
remove
- Specified by:
remove
in interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
findById
- Specified by:
findById
in interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
findByOid
- Specified by:
findByOid
in interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
findByToken
@Nullable public D findByToken(String token, @Nullable org.springframework.security.oauth2.server.authorization.OAuth2TokenType tokenType) - Specified by:
findByToken
in interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
cleanupBatch
- Specified by:
cleanupBatch
in interfaceCustomizedOAuth2AuthorizationRepository<D extends JpaOAuth2Authorization>
-
getDomainType
-