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
 
WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
authServerPartnerUserLoginNamestringUser account login name
   
   
Sample WCF C# Method
 
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 
p1  
Sample REST/Json Method
 {
  "challenge": "jpaD3QMyOi_DPF83CFQuYutvO4Tog_DZBekzio1oMZI",
  "clientData": "eyJjaGFsbGVuZ2UiOiJqcGFEM1FNeU9pX0RQRjgzQ0ZRdVl1dHZPNFRvZ19EWkJla3ppbzFvTVpJIiwib3JpZ2luIjoiaHR0cHM6Ly9maWRvY2VydC5zdXJlcGFzc2lkLmNvbSIsInR5cCI6Im5hdmlnYXRvci5pZC5nZXRBc3NlcnRpb24ifQ",
  "sessionId": "NTk2ODYyMzczMDQxMzY2QzYzNEI2RTUwNjEzNzQ5Nzc3QTMzNDg2RjVBMzU2ODQxNjE2QzUwNTk2QTQxNkU3NzUwMzA0MTQyNDg2QjY2NDc2NTc5NTA1OTQxNkM1NzU1NDY2Qw==",
  "signatureData": "AQAAANQwRQIgZEyk0CoSIEZ8I_YkwBX3zAW9bQVeygu9S0v925lOLOMCIQCxM333XgLmuB168a_yWwgmttoFYpKqtr7rJcEM05oBLg",
  "type": "sign",
  "username": "Mandy",
  "version": "U2F_V2"
}
Sample REST/Json Response
 {
  "errorMessage": "",
  "errorCode": 0,
  "type": "sign"

 

 

  • No labels