WCF
WCF parameter | data type | description |
---|---|---|
AuthServerPartnerLoginName | string | SurePassId account login name |
AuthServerPartnerLoginPassword | string | SurePassId account login key |
AuthServerPartnerUserLoginName | string | User account login name |
authServerPartnerUserPassword | string | User 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 parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassId account login name |
spAccountLoginKey | string | SurePassId account login key |
username | string | user account login name |
type | string | validate_u2f_user |
pw | string | User 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" }