Class ProxyOTPServiceImpl

  • All Implemented Interfaces:
    OTPService

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

      • ProxyOTPServiceImpl

        public ProxyOTPServiceImpl()
    • Method Detail

      • 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