Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

WCF

 

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
Sample WCF C# Method
 AuthServerU2FResponseEnrollAppU2F resp = EnrollAppU2F("accountLogin",
                                                              "accountKey",
                                                              "Mandy,
                                                              string.Empty,
                                                              "My First Key", 
                                                              string b64RegistrationData,
                                                              string b64SessionId,
                                                              string b64BrowserData,
                                                              "U2f_V2");
Sample WCF C# Repsonse
 if (resp.ErrorCode != 0)  {      
       message.Text = resp.ErrorMsg;
       return false;
 }

 

REST


REST parameterdata typedescription
spAccountLoginNamestringSurePassId account login name
spAccountLoginKeystringSurePassId account login key
usernamestringuser account login name
typestring 
securityKeyNamestringA user assigned name for this security key
   
   
   
   
securityKeyName  
Sample REST/Json Method
 
Sample REST/Json Response
 

 

 

  • No labels