WCF
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerU2FResponseEnrollAppU2F EnrollAppU2F(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string printedSerialNumber, string securityKeyName, string b64RegistrationData, string b64SessionId, string b64ClientData, string version); |
...
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 | enroll |
securityKeyName | string | A user assigned name for this security key |
registrationData | string | Base 64 encoded registration data as per the Fido specification |
sessionId | string | Unique SessionId for this Fido Request as per the Fido specification |
clientData | string | Base 64 encoded client data as per the Fido specification |
version | string | U2F_V2 |
...