Interface PasswordTokenRepository<D>

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<D,​String>, com.broadleafcommerce.common.extension.DomainTypeAware, org.springframework.data.repository.Repository<D,​String>
    All Known Subinterfaces:
    JpaPasswordTokenRepository<D>

    @NoRepositoryBean
    public interface PasswordTokenRepository<D>
    extends org.springframework.data.repository.CrudRepository<D,​String>, com.broadleafcommerce.common.extension.DomainTypeAware
    Author:
    Jeff Fischer
    • Method Detail

      • readUnusedTokensByUserId

        List<D> readUnusedTokensByUserId​(String userId)
      • readUnusedTokensByUserIdAndPurpose

        List<D> readUnusedTokensByUserIdAndPurpose​(String userId,
                                                   String purpose)
      • readAllTokensByUserId

        List<D> readAllTokensByUserId​(String userId)
      • readAllTokensByUserIdAndPurpose

        List<D> readAllTokensByUserIdAndPurpose​(String userId,
                                                String purpose)