Class ResendMFAServiceImpl

java.lang.Object
com.skava.service.impl.ResendMFAServiceImpl

@Service @Transactional(propagation=REQUIRED, readOnly=false, noRollbackFor=com.skava.core.validation.ValidateException.class) public class ResendMFAServiceImpl extends Object
This service class implements UserCheckAuthService and handles the user service Validating MFA login request, process it and save the details in DB. It also implements business logic required to validate login MFA OTP.
Author:
Infosys Equinox
  • Constructor Details

    • ResendMFAServiceImpl

      public ResendMFAServiceImpl()
      default constructor
  • Method Details

    • resendMfaOtpAndToken

      public UsersResponse resendMfaOtpAndToken(UserRequest request, Collection collection, long userId)
      This method used to resend otp and for users.
      Parameters:
      request - Holds UserRequest object to resend token and OTP.
      collection - Holds Collection object to load properties for this collection id.
      userId - Indicates the user id which is used to resend the token and otp
      Returns:
      The UserResponse response.
    • resendMfaOtpAndToken

      public UsersResponse resendMfaOtpAndToken(UserRequest request, Collection collection, long userId, String routingKey)
      This method used to resend otp and for users.
      Parameters:
      request - Holds UserRequest object to resend token and OTP.
      collection - Holds Collection object to load properties for this collection id.
      userId - Indicates the user id which is used to resend the token and otp
      routingKey -
      Returns:
      The UserResponse response.