All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.authentication.common.service.repository.OtpTxnRepository Maven / Gradle / Ivy

package io.mosip.authentication.common.service.repository;

import java.util.Optional;

import io.mosip.authentication.common.service.entity.OtpTransaction;
import io.mosip.kernel.core.dataaccess.spi.repository.BaseRepository;

/**
 * The Interface OtpTxnRepository.
 *
 * @author Manoj SP
 */
public interface OtpTxnRepository extends BaseRepository {
	
	/**
	 * Find by otp hash and status code.
	 *
	 * @param otpHash the otp hash
	 * @param statusCode the status code
	 * @return the optional
	 */
	Optional findByOtpHashAndStatusCode(String otpHash, String statusCode);
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy