Package com.skava.service.impl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresendMfaOtpAndToken
(UserRequest request, Collection collection, long userId) This method used to resend otp and for users.resendMfaOtpAndToken
(UserRequest request, Collection collection, long userId, String routingKey) This method used to resend otp and for users.
-
Constructor Details
-
ResendMFAServiceImpl
public ResendMFAServiceImpl()default constructor
-
-
Method Details
-
resendMfaOtpAndToken
This method used to resend otp and for users.- Parameters:
request
- HoldsUserRequest
object to resend token and OTP.collection
- HoldsCollection
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
- HoldsUserRequest
object to resend token and OTP.collection
- HoldsCollection
object to load properties for this collection id.userId
- Indicates the user id which is used to resend the token and otproutingKey
-- Returns:
- The
UserResponse
response.
-