WCF
Method Name:
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerU2FResponse SendOTP(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string printedSerialNumber, short deliveryMethod); |
...
Code Block | ||||
---|---|---|---|---|
| ||||
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; } |
REST
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassId account login name |
spAccountLoginKey | string | SurePassId account login key |
username | string | user account login name |
type | string | send_oath_otp |
printedSerialNumber | string | A specific device assigned to this user. If this is left empty then the first device assigned device is used |
deliveryMethod | string | the method to send the pass code to the user. values are sms, voice, email |
...