...
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerU2FResponseEnrollAppU2F EnrollAppU2F(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string printedSerialNumber, string securityKeyName, string b64RegistrationData, string b64SessionId, string b64ClientData, string version); |
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassId account login name |
authServerPartnerLoginPassword | string | SurePassId account login key |
authServerPartnerUserLoginName | string | User account login name |
securityKeyName | string | A user assigned name for this security key |
b64RegistrationData | string | Base 64 encoded registration data as per the Fido specification |
b64SessionId | string | Unique Sessionid for this Fido Request as per the Fido specification |
b64ClientData | string | Base 64 encoded client data as per the Fido specification |
version | string | U2F_V2 |
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerU2FResponseEnrollAppU2F resp = EnrollAppU2F("accountLogin", "accountKey", "Mandy, string.Empty, "My First Key", string b64RegistrationData, string b64SessionId, string b64BrowserData, "U2f_V2"); |
Code Block | ||||
---|---|---|---|---|
| ||||
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; } |
...
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 | |
p1securityKeyName | string | A user assigned name for this security key |
securityKeyName |
Code Block | ||||
---|---|---|---|---|
| ||||
...