Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
authServerPartnerUserLoginNamestringUser account login name
appIdstring Fido appId (origin) or facetId
printedSerialNumberstring 
Code Block
languagec#
titleSample WCF C# Method
 AuthServerU2FResponseSignAppU2FInit resp = SignAppU2FInit(string authServerPartnerLoginName,
                                                                      string authServerPartnerLoginPassword,
                                                                      string appId"https://mysite.relayingparty.com",
                                                                      string authServerPartnerUserLoginName"Mandy",
                                                                      string printedSerialNumber.Empty);
Code Block
languagec#
titleSample WCF C# Repsonse
 if (resp.ErrorCode != 0)  {      
       message.Text = resp.ErrorMsg;
       return false;
 }

...

REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser account login name
typestringpre_sign
appIdstring Fido appId (origin) or facetId
psnstring 
Code Block
languagejs
titleSample REST/Json Method
 {
  "type": "pre_sign",
  "username": "Mandy",
  "appId:": "https://mysite.relayingparty.com"
}
Code Block
languagejs
titleSample REST/Json Response
 {
  "challenge": "C2a-T42Ou58-Gse0usYxlIGaGCJzxYwg8xp3UU8rxBI",
  "clientData":    "eyJjaGFsbGVuZ2UiOiJDMmEtVDQyT3U1OC1Hc2UwdXNZeGxJR2FHQ0p6eFl3Zzh4cDNVVThyeEJJIiwib3JpZ2luIjoiaHR0cHM6Ly9maWRvY2VydC5zdXJlcGFzc2lkLmNvbSIsInR5cCI6Im5hdmlnYXRvci5pZC5nZXRBc3NlcnRpb24ifQ",
  "sessionId": "NUE3MDZCNjMzMjY3NkQ2RDU2NDkzODM5NTY0QTQzMzg0MjMyNDE3NDUwNTc3OTZENEQ0QTQ2N0E2RTU3NDI3MDUzNjU0RTY2N0E1QTVBNkQ1MDQ5MzI1MDQxNjg0MTY3NkU3Ng==",
  "signatureData": "AQAAAB4wRQIhALsEP-Zey0NJF_BrVFm8W49FegO5V9wYMyXbX2uG6Gt6AiBRWhWR_itbHPOfgOqrgPNk1YQd8YGKISDtAoY1XeC6Eg",
  "type": "sign",
  "username": "Mandy",
  "version": "U2F_V2"

...