{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-products/leandisposable/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"How to enroll a disposable with an assertion provided by an authorized eID","description":"Integration and usage documentation.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"how-to-enroll-a-disposable-with-an-assertion-provided-by-an-authorized-eid","__idx":0},"children":["How to enroll a disposable with an assertion provided by an authorized eID"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To enroll a disposable using an authorized assertion you have to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["specify the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposableeidassertionholder"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableeIDAssertionHolder"]}]}," object providing the country and type of the eID",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Check the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-eid-identification"},"children":["authorized eIDs"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["specify the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecertificate"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableCertificate"]}]},"object, providing:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," = certificate type"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["otpType"]}," = otp type"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["specify the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecontacts"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableContacts"]}]},"object:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["if an OTP is required and the type is SMS"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["specify ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["otpType=SMS"]}]}," in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecertificate"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableCertificate"]}]},"object"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["(Optional) specify the phoneNumber with the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["mobile"]}," property in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecontacts"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableContacts"]}]},"object.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"If this property is specified, this phonenumber will be used to send the otp.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"If it is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," specified and the assertion used in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposableeidassertionholder"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableeIDAssertionHolder"]}]}," contains a phoneNumber, this number will be used to send the otp.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"If it is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," specified and the assertion ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["doesn't contain"]}," the phoneNumber an error is triggered."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["if an OTP is required and the type is EMAIL"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["specify ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["otpType=EMAIL"]}]}," in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecertificate"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableCertificate"]}]},"object"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["(Optional) specify the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["email"]}," property in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecontacts"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableContacts"]}]},"object",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"If this property is specified, this email will be used to send the otp.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"If it is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," specified and the assertion used in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposableeidassertionholder"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableeIDAssertionHolder"]}]}," contains an email, this will be used to send the otp.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"If it is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," specified and the assertion ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["doesn't contain"]}," the email an error is triggered."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["if an OTP is required and the type is WHATSAPP"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["specify ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["otpType=WHATSAPP"]}]}," in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecertificate"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableCertificate"]}]},"object"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["(Optional) specify the phoneNumber with the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["mobile"]}," property in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposablecontacts"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableContacts"]}]},"object.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"If this property is specified, this phonenumber will be used to send the otp via WhatsApp.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"If it is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," specified and the assertion used in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/data-objects#disposableeidassertionholder"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DisposableeIDAssertionHolder"]}]}," contains a phoneNumber, this number will be used to send the otp.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"If it is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," specified and the assertion ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["doesn't contain"]}," the phoneNumber an error is triggered."]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Then use these methods:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-checkdata/lean-checkdata-eid-assertion-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["checkDataWitheIDAssertion"]}]}," (optional)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-documents/lean-getdisposablecontractwitheidassertion-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getDisposableContractWitheIDAssertion"]}]}," (optional)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["use the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-enroll/lean-enroll-eid-assertion-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enrollDisposableWitheIDAssertion"]}]},"method to enroll the certificate"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://namirial.atlassian.net/wiki/spaces/TT/pages/90440185"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sendOtp"]}]}," : send the otp (if required)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signPKCS1WithSHA256"]}," in the FRA service or use SWS: sign the document"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-documents/lean-uploaddoc-method"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["uploadDoc"]}]},"  to upload the evidence of the otp or the authentication flow (optional)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["To use otpType=EMAIL, otpType=WHATSAPP or otpType=NO_OTP the LRA has"]}]}," ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["to be authorized."]}]}]}]},"headings":[{"value":"How to enroll a disposable with an assertion provided by an authorized eID","id":"how-to-enroll-a-disposable-with-an-assertion-provided-by-an-authorized-eid","depth":1}],"frontmatter":{"seo":{"title":"How to enroll a disposable with an assertion provided by an authorized eID"}},"lastModified":"2026-05-07T07:59:26.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-enroll-disposable-eid-assertion","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}