...
Code Block |
---|
// Provisioning parameters val settings = """ |{ |"domain":"dev.atheos.ca", |"port":443, |"osType":"Android", |"hardwareDescription":"AmadisOneClient", |"terminalId":"11111111111", |"clientId":"<client_id>", |"secret":"<client_secret>", |"ownCertPass":"amadis", |"checkSrvCert":"iSSuer.Cn = Alexandre Munsch | subJect/St ~ Quebec ", |"certDir": "${getSecureClientDir()}", |"safetynetKey":"<safetynet_key>" |}""".trimMargin() |
The “checkSrvCert” element cannot be empty and should contain valid information for both the issuer
and the subject
fields.
Flow
The provisioning step is supposed to happen only once in the application lifetime (unless some parameters need to be changed - for example, a change of user ID or a change of domain name, etc…).
...