Versions Compared

Key

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

...

Code Block
languagec#
title Method
  AuthServerU2FResponseEnrollAppU2F EnrollAppU2F(string authServerPartnerLoginName,
                                                              string authServerPartnerLoginPassword,
                                                              string authServerPartnerUserLoginName,
                                                              string printedSerialNumber,
                                                              string securityKeyName, 
                                                              string b64RegistrationData,
                                                              string b64SessionId,
                                                              string b64ClientData,
                                                              string version);
 
WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
authServerPartnerUserLoginNamestringUser account login name
   
  
securityKeyNamestringA user assigned name for this security key
b64RegistrationDatastringBase 64 encoded registration data as per the Fido specification
b64SessionIdstringUnique Sessionid for this Fido Request as per the Fido specification
b64ClientDatastringBase 64 encoded client data as per the Fido specification
versionstringU2F_V2
Code Block
languagec#
titleSample WCF C# Method
  AuthServerU2FResponseEnrollAppU2F resp = EnrollAppU2F("accountLogin",
                                                              "accountKey",
                                                              "Mandy,
                                                              string.Empty,
                                                              "My First Key", 
                                                              string b64RegistrationData,
                                                              string b64SessionId,
                                                              string b64BrowserData,
                                                              "U2f_V2");
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
typestring 
p1securityKeyNamestringA user assigned name for this security key
   
   
   
   
securityKeyName  
Code Block
languagejs
titleSample REST/Json Method
 

...