...
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerU2FResponse resp = ValidateOTP("accountLogin",
"accountKey",
"Mandy",
"123456",
string.Empty); |
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 | validate_oath_otp |
code | string | Passcode to be verified |
psn | string | A specific device assigned to this user. If this is left empty then the first device assigned |
...