Class ExchangeDataAttributesUtil
- java.lang.Object
-
- io.mosip.authentication.service.kyc.util.ExchangeDataAttributesUtil
-
@Component public class ExchangeDataAttributesUtil extends Object
Utility class to filter the consented attribute and policy allowed attributes.- Author:
- Mahammed Taheer
-
-
Constructor Summary
Constructors Constructor Description ExchangeDataAttributesUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
filterAllowedUserClaims(String oidcClientId, List<String> consentAttributes)
Set<String>
filterByPolicyAllowedAttributes(Set<String> filterAttributes, List<String> policyAllowedKycAttribs)
String
getKycExchangeResponseTime(BaseRequestDTO authRequestDTO)
void
mapConsentedAttributesToIdSchemaAttributes(List<String> consentAttributes, Set<String> filterAttributes, List<String> policyAllowedKycAttribs)
-
-
-
Method Detail
-
mapConsentedAttributesToIdSchemaAttributes
public void mapConsentedAttributesToIdSchemaAttributes(List<String> consentAttributes, Set<String> filterAttributes, List<String> policyAllowedKycAttribs) throws IdAuthenticationBusinessException
-
filterByPolicyAllowedAttributes
public Set<String> filterByPolicyAllowedAttributes(Set<String> filterAttributes, List<String> policyAllowedKycAttribs)
-
getKycExchangeResponseTime
public String getKycExchangeResponseTime(BaseRequestDTO authRequestDTO)
-
-