Interface TokenRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TokenEntity,,String> org.springframework.data.jpa.repository.JpaRepository<TokenEntity,,String> org.springframework.data.repository.ListCrudRepository<TokenEntity,,String> org.springframework.data.repository.ListPagingAndSortingRepository<TokenEntity,,String> org.springframework.data.repository.PagingAndSortingRepository<TokenEntity,,String> org.springframework.data.repository.query.QueryByExampleExecutor<TokenEntity>,org.springframework.data.repository.Repository<TokenEntity,,String> TokenStore
@ConditionalOnProperty(name="lastshield.basicauth",
havingValue="true")
public interface TokenRepository
extends org.springframework.data.jpa.repository.JpaRepository<TokenEntity,String>, TokenStore
Repository interface for handling token-related operations.
This interface extends JpaRepository for CRUD operations and TokenStore for token-specific behavior.
The repository is conditional on the 'lastshield.basicauth' property being set to true. This means the repository will only be active when the specified property is enabled.
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOneMethods inherited from interface tech.lastbox.jwt.TokenStore
findById, save