Interface IdentityKeyBindingFacade
public interface IdentityKeyBindingFacade
This class used to integrate with identity key binding
- Author:
- Mahammed Taheer
-
Method Summary
Modifier and TypeMethodDescriptionauthenticateIndividual(AuthRequestDTO authRequest, String partnerId, String partnerApiKey, ObjectWithMetadata requestWithMetadata) Authenticate individual.processIdentityKeyBinding(IdentityKeyBindingRequestDTO identityKeyBindingRequestDTO, AuthResponseDTO authResponseDTO, String partnerId, String oidcClientId, Map<String, Object> metadata) Process the IdentityKeyBindingRequestDTO to integrate with KYCService.
-
Method Details
-
authenticateIndividual
AuthResponseDTO authenticateIndividual(AuthRequestDTO authRequest, String partnerId, String partnerApiKey, ObjectWithMetadata requestWithMetadata) throws IdAuthenticationBusinessException, IdAuthenticationDaoException Authenticate individual.- Parameters:
authRequest- the auth requestpartnerId- the partner idpartnerApiKey- the partner api key idrequestWithMetadata- the request object with metadata- Returns:
- the auth response DTO
- Throws:
IdAuthenticationBusinessException- the id authentication business exceptionIdAuthenticationDaoException- the id authentication dao exception
-
processIdentityKeyBinding
IdentityKeyBindingResponseDto processIdentityKeyBinding(IdentityKeyBindingRequestDTO identityKeyBindingRequestDTO, AuthResponseDTO authResponseDTO, String partnerId, String oidcClientId, Map<String, Object> metadata) throws IdAuthenticationBusinessExceptionProcess the IdentityKeyBindingRequestDTO to integrate with KYCService.- Parameters:
identityKeyBindingRequestDTO- is DTO of IdentityKeyBindingRequestDTOpartnerId- the partner idoidcClientId- the client idmetadata- the metadata- Returns:
- IdentityKeyBindingResponseDto the identity key binding response DTO
- Throws:
IdAuthenticationBusinessException- the id authentication business exception
-