Interface IdentityKeyBindingFacade
-
public interface IdentityKeyBindingFacadeThis class used to integrate with identity key binding- Author:
- Mahammed Taheer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthResponseDTOauthenticateIndividual(AuthRequestDTO authRequest, String partnerId, String partnerApiKey, ObjectWithMetadata requestWithMetadata)Authenticate individual.IdentityKeyBindingResponseDtoprocessIdentityKeyBinding(IdentityKeyBindingRequestDTO identityKeyBindingRequestDTO, AuthResponseDTO authResponseDTO, String partnerId, String oidcClientId, Map<String,Object> metadata)Process the IdentityKeyBindingRequestDTO to integrate with KYCService.
-
-
-
Method Detail
-
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 IdAuthenticationBusinessException
Process 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
-
-