Vai al contenuto

Check holder data with eID assertion

Richiesta

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.

Sicurezza
basicAuth and sslCertificate
Percorso
lraIdstringobbligatorio

Local Registration Authority (LRA) identifier.

Corpoapplication/jsonobbligatorio
eidAssertionHolderobject(DisposableeIDAssertionHolder)obbligatorio

eID assertion holder data. Contains the eID type, country, and base64-encoded assertion.

certificateobject(DisposableCertificate)obbligatorio

Certificate configuration. Specifies password, security code, certificate type, and OTP type.

contactsobject(DisposableContacts)

Contact information. Required if certificate.otpType=SMS (provide mobile) or certificate.otpType=EMAIL (provide email).

buReIdstring

Business relation identifier (optional).

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"
    }
  }'

Risposte

Validation successful. The holder data is valid and the LRA is authorized for the specified eID type. Response body is empty.

Risposta
Nessun contenuto