To enroll a lean disposable and send an otp by sms you have to:
- specify the required mobile property in the
DisposableContactsobject - (optional) specify
otpType=SMSin theDisposableCertificateobject. If not specified the default otpType is SMS.
Then use these methods:
checkData/checkDataWitheIDAssertion(optional) : check the validity of the objects passed to the enroll methodsgetDisposableContract/getDisposableContractWitheIDAssertion(optional)- an enroll method : enroll the certificate
sendOtp: send the otp by smssignPKCS1WithSHA256in the FRA service or use SWS: sign the documentuploadDocto upload the evidence of the otp or the authentication flow (optional)
If you are still using the deprecated sendOtpDisposable method you should replace it with the sendOtp method.