Validate Authentication Code
A SOAP call to determine whether a user authentication code is valid. The response returns a boolean with respect to the code, with True indicating a valid code and False indicating an invalid code.
POST /ValidateService.asmx
REQUEST:
curl --request POST --url http://<MFAServerHostname>/ValidateService.asmx --header 'content-type: text/xml' --data '<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" > <soap12:Body> <ValidateAuthCode xmlns="http://cm.2fa.com/"> <username>string</username> <domain>string</domain> <authCode>string</authCode> <apiKey>string</apiKey> </ValidateAuthCode> </soap12:Body> </soap12:Envelope>'
REQUEST BODY:
<soap12:Body> <ValidateAuthCode xmlns="http://cm.2fa.com/"> <username>string</username> <domain>string</domain> <authCode>string</authCode> <apiKey>string</apiKey> </ValidateAuthCode> </soap12:Body>
RESPONSE 200 OK:
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" > <soap12:Body> <ValidateAuthCodeResponse xmlns="http://cm.2fa.com/"> <ValidateAuthCodeResult>boolean</ValidateAuthCodeResult> </ValidateAuthCodeResponse> </soap12:Body> </soap12:Envelope>