To enroll a disposable and sent an otp by email you have to:
- specify the required email property in the
DisposableContactsobject - specify
otpType=EMAILin theDisposableCertificateobject
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 emailsignPKCS1WithSHA256in the FRA service or use SWS: sign the documentuploadDocto upload the evidence of the otp or the authentication flow (optional)
To use EMAIL as OTP the LRA has to be authorized.