Class ProxyOTPServiceImpl

java.lang.Object
io.mosip.kernel.auth.defaultimpl.service.impl.ProxyOTPServiceImpl
All Implemented Interfaces:
OTPService

@Profile("local") @Service public class ProxyOTPServiceImpl extends Object implements OTPService
Author:
Urvil Joshi
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.mosip.kernel.core.authmanager.model.AuthNResponseDto
    sendOTP(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, io.mosip.kernel.core.authmanager.model.OtpUser otpUser, String appId)
     
    io.mosip.kernel.core.authmanager.model.AuthNResponseDto
    sendOTPForUin(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, io.mosip.kernel.core.authmanager.model.OtpUser otpUser, String appId)
     
    io.mosip.kernel.core.authmanager.model.MosipUserTokenDto
    validateOTP(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, String otp, String appId)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProxyOTPServiceImpl

      public ProxyOTPServiceImpl()
  • Method Details

    • validateOTP

      public io.mosip.kernel.core.authmanager.model.MosipUserTokenDto validateOTP(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, String otp, String appId)
      Specified by:
      validateOTP in interface OTPService
    • sendOTPForUin

      public io.mosip.kernel.core.authmanager.model.AuthNResponseDto sendOTPForUin(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, io.mosip.kernel.core.authmanager.model.OtpUser otpUser, String appId)
      Specified by:
      sendOTPForUin in interface OTPService
    • sendOTP

      public io.mosip.kernel.core.authmanager.model.AuthNResponseDto sendOTP(io.mosip.kernel.core.authmanager.model.MosipUserDto mosipUser, io.mosip.kernel.core.authmanager.model.OtpUser otpUser, String appId) throws Exception
      Specified by:
      sendOTP in interface OTPService
      Throws:
      Exception