Interface CustomizedOAuth2AuthorizationRepository<D>

Type Parameters:
D - The entity type
All Known Subinterfaces:
JpaOAuth2AuthorizationRepository<D>, OAuth2AuthorizationRepository<D>
All Known Implementing Classes:
JpaCustomizedOAuth2AuthorizationRepository

public interface CustomizedOAuth2AuthorizationRepository<D>
Support persistence functions for JpaOAuth2Authorization. This is a superset of what's described in OAuth2AuthorizationService.
  • Method Details

    • save

      void save(D authorization)
    • remove

      void remove(D authorization)
    • findById

      @Nullable D findById(String id)
    • findByOid

      @Nullable D findByOid(String oid)
    • findByToken

      @Nullable D findByToken(String token, @Nullable org.springframework.security.oauth2.server.authorization.OAuth2TokenType tokenType)
    • cleanupBatch

      String cleanupBatch(@Nullable String startingId)