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 5 Next »

WCF

 

ValidateU2FUser Method
AuthServerU2FResponse ValidateU2FUser(string authServerPartnerLoginName, 
                      string authServerPartnerLoginPassword, 
                      string authServerPartnerUserLoginName, 
                      string authServerPartnerUserPassword);
WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId account login name
authServerPartnerLoginPasswordstringSurePassId account login key
authServerPartnerUserLoginNamestringUser account login name
authServerPartnerUserPasswordstringUser account login password. If the server is setup to use Active Directory the user will be authenticated using AD.
Sample WCF C# Method
  AuthServerU2FResponse resp = ValidateU2FUser("accountKey", 
           "accountLogin", 
           "accountKey", 
           "user password");
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
typestringvalidate_u2f_user
pwstringUser account login password. If the server is setup to use Active Directory the user will be authenticated using AD.
Sample REST/Json Method
 {
  "username": "Mandy",
  "spAccountLoginName": "accountLogin",
  "spAccountLoginKey": "accountKey",
  "type": "validate_u2f_user",
  "pw": "user password"
}
Sample REST/Json Response
 {
  "errorCode": 9001,
  "errorMessage": "User login failure [Mandy]",
  "type": "validate_u2f_user"
}

 

 

  • No labels