- Check holder data with eID assertion
Validates holder data using an eID assertion before enrolling. Checks: mandatory fields, allowed values, LRA authorization for the eID type. See checkDataWitheIDAssertion and How to enroll with eID assertion.
eID assertion holder data. Contains the eID type, country, and base64-encoded assertion.
Certificate configuration. Specifies password, security code, certificate type, and OTP type.
Contact information. Required if certificate.otpType=SMS (provide mobile) or certificate.otpType=EMAIL (provide email).
- Production environmenthttps://lean.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/{lraId}/checkDataWitheIDAssertion
- Development and testing environmenthttps://lean.test.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/{lraId}/checkDataWitheIDAssertion
Check data with IT-EIDNAMIRIAL eID assertion. The assertion is a base64-encoded JSON format with current iat timestamp.
curl -i -X POST \
-u '<username>:<password>' \
'https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/{lraId}/checkDataWitheIDAssertion' \
-H 'Content-Type: application/json' \
-d '{
"eidAssertionHolder": {
"country": "IT",
"eIDType": "EIDNAMIRIAL",
"assertion": "eyJnaXZlbl9uYW1lIjoiTWFyaW8iLCJmYW1pbHlfbmFtZSI6IlJvc3NpIiwicGVyc29uX2lkZW50aWZpZXIiOiJUSU5JVC1SU1NNUkE4MEEwMUg1MDFVIiwiYmlydGhfZGF0ZSI6IjE5ODAtMDEtMDEiLCJkb2NfdHlwZSI6Ik5BVElPTkFMX0lERU5USVRZX0NBUkQiLCJjb3VudHJ5IjoiSVQiLCJycF9uYW1lIjoiTmFtaXJpYWwgVGVzdCBSUCIsInJwX2lkIjoidGVzdC1ycC0wMDEiLCJvcmlnaW5hbF9hc3NlcnRpb24iOiJiYXNlNjRfZW5jb2RlZF9zYW1sX2Fzc2VydGlvbl9oZXJlIiwiaWF0IjoxNzA5NTY4MDAwfQ=="
},
"contacts": {
"mobile": "+390000000000"
},
"certificate": {
"fullData": false,
"otpType": "SMS",
"password": "Password01",
"securityCode": "Security01",
"type": "DISPOSABLE"
}
}'Validation successful. The holder data is valid and the LRA is authorized for the specified eID type. Response body is empty.
Aucun contenu