Class PinAuthServiceImpl
- java.lang.Object
-
- io.mosip.authentication.common.service.impl.PinAuthServiceImpl
-
- All Implemented Interfaces:
AuthService
,PinAuthService
@Service public class PinAuthServiceImpl extends Object implements PinAuthService
This class is used to give the implementation for the pin based authentication service which receives the pin from the request and compares it the pin stored in the DB.- Author:
- Sanjay Murali
-
-
Field Summary
Fields Modifier and Type Field Description IdInfoHelper
idInfoHelper
The id info helper.MatchInputBuilder
matchInputBuilder
The id info helper.
-
Constructor Summary
Constructors Constructor Description PinAuthServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthStatusInfo
authenticate(AuthRequestDTO authRequestDTO, String uin, Map<String,List<IdentityInfoDTO>> idInfo, String partnerId)
Map<String,String>
getSPin(String uinValue, AuthRequestDTO authReq, String partnerId)
getSPin method used to fetch the SPIN value of the individual's from the database.
-
-
-
Field Detail
-
idInfoHelper
@Autowired public IdInfoHelper idInfoHelper
The id info helper.
-
matchInputBuilder
@Autowired public MatchInputBuilder matchInputBuilder
The id info helper.
-
-
Method Detail
-
authenticate
public AuthStatusInfo authenticate(AuthRequestDTO authRequestDTO, String uin, Map<String,List<IdentityInfoDTO>> idInfo, String partnerId) throws IdAuthenticationBusinessException
- Specified by:
authenticate
in interfaceAuthService
- Throws:
IdAuthenticationBusinessException
-
-