Interface RefreshTokenRepository<D>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Class<?> entityType()
      The specific partition shard entity type managed by this repository
      List<D> findByAncestor​(String ancestoryKey)
      Find all refresh token instances in an inheritance line rooted to the original refresh token.
      int partition()
      The specific partition managed by this repository
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAllById, findById, save, saveAll
    • Method Detail

      • findByAncestor

        List<D> findByAncestor​(String ancestoryKey)
        Find all refresh token instances in an inheritance line rooted to the original refresh token. See RefreshToken.getAncestor() for more information on how ancestor is used.
        Parameters:
        ancestoryKey - The original refresh token that started the line
        Returns:
        All refresh token instances in the inheritance line
      • partition

        int partition()
        The specific partition managed by this repository
        Returns:
        The specific partition managed by this repository
      • entityType

        Class<?> entityType()
        The specific partition shard entity type managed by this repository
        Returns:
        The specific partition shard entity type managed by this repository