From 80614d20116cecf344c49efb31c6783e84549a38 Mon Sep 17 00:00:00 2001 From: Mohd Kaif Siddique Date: Tue, 27 Aug 2024 17:18:12 +0530 Subject: [PATCH] updated the authenticator plugin Signed-off-by: Mohd Kaif Siddique --- sunbird-rc-esignet-integration-impl/pom.xml | 2 +- .../service/SunbirdRCAuthenticationService.java | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/sunbird-rc-esignet-integration-impl/pom.xml b/sunbird-rc-esignet-integration-impl/pom.xml index 77016a3..0e51a0d 100644 --- a/sunbird-rc-esignet-integration-impl/pom.xml +++ b/sunbird-rc-esignet-integration-impl/pom.xml @@ -67,7 +67,7 @@ io.mosip.esignet esignet-integration-api - 1.2.0 + 1.5.0-SNAPSHOT provided diff --git a/sunbird-rc-esignet-integration-impl/src/main/java/io/mosip/esignet/sunbirdrc/integration/service/SunbirdRCAuthenticationService.java b/sunbird-rc-esignet-integration-impl/src/main/java/io/mosip/esignet/sunbirdrc/integration/service/SunbirdRCAuthenticationService.java index 6d0b797..02cff18 100644 --- a/sunbird-rc-esignet-integration-impl/src/main/java/io/mosip/esignet/sunbirdrc/integration/service/SunbirdRCAuthenticationService.java +++ b/sunbird-rc-esignet-integration-impl/src/main/java/io/mosip/esignet/sunbirdrc/integration/service/SunbirdRCAuthenticationService.java @@ -129,6 +129,16 @@ public List getAllKycSigningCertificates() { return new ArrayList<>(); } + @Override + public KycAuthResult doKycAuth(String relyingPartyId, String clientId, boolean claimsMetadataRequired, KycAuthDto kycAuthDto) throws KycAuthException { + return this.doKycAuth(relyingPartyId, clientId, kycAuthDto); + } + + @Override + public KycExchangeResult doVerifiedKycExchange(String relyingPartyId, String clientId, VerifiedKycExchangeDto kycExchangeDto) throws KycExchangeException { + throw new KycExchangeException(ErrorConstants.NOT_IMPLEMENTED); + } + private KycAuthResult validateKnowledgeBasedAuth(String individualId, AuthChallenge authChallenge) throws KycAuthException { KycAuthResult kycAuthResult= new KycAuthResult();