Interface PasswordResetTokenRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<PasswordResetToken,​java.lang.String>, org.springframework.data.mongodb.repository.MongoRepository<PasswordResetToken,​java.lang.String>, org.springframework.data.repository.PagingAndSortingRepository<PasswordResetToken,​java.lang.String>, org.springframework.data.repository.query.QueryByExampleExecutor<PasswordResetToken>, org.springframework.data.repository.Repository<PasswordResetToken,​java.lang.String>

    public interface PasswordResetTokenRepository
    extends org.springframework.data.mongodb.repository.MongoRepository<PasswordResetToken,​java.lang.String>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<PasswordResetToken> findByToken​(java.lang.String token)  
      java.util.Optional<PasswordResetToken> findByUser​(User user)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAllById, findById, save
      • Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository

        findAll, findAll, findAll, findAll, insert, insert, saveAll
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

        findAll
      • Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

        count, exists, findAll, findBy, findOne