authUser SOAP Response Structure
  • 11 Dec 2024
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

authUser SOAP Response Structure

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

An authUser SOAP response typically uses the following format:

<soapenv:Envelope
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:aut="http://www.vasco.com/IdentikeyServer/IdentikeyTypes/Authentication">
  <!--.... (additional namespace declarations) -->
  <soapenv:Header/>
  <soapenv:Body>
    <aut:authUserResponse>
      <authUserResultsxsi:type="AUTH-TYPES:AuthUserResults">
        <resultsxsi:type="CREDENTIAL-TYPES:CredentialResults">
          <resultCodesxsi:type="BASIC-TYPES:ResultCodes">
            <returnCodeEnum>RET_SUCCESS</returnCodeEnum>
            <statusCodeEnum>STAT_SUCCESS</statusCodeEnum>
            <returnCode>0</returnCode>
            <statusCode>0</statusCode>
          </resultCodes>
          <resultAttributexsi:type="CREDENTIAL-TYPES:CredentialAttributeSet">
            <attributesxsi:type="CREDENTIAL-TYPES:CredentialAttribute">
              <attributeOptionsxsi:type="BASIC-TYPES:AttributeOptions">
                <masked>true</masked>
              </attributeOptions>
              <valuexsi:type="xsd:string">1234</value>
              <attributeID>CREDFLD_STATIC_PASSWORD</attributeID>
            </attributes>
          </resultAttribute>
          <errorStackxsi:type="BASIC-TYPES:ErrorStack"/>
        </results>
        <userattributelist>
          <attributesxsi:type="CREDENTIAL-TYPES:CredentialAttribute">
            <valuexsi:type="xsd:string">master</value>
            <attributeID>CREDFLD_DOMAIN</attributeID>
          </attributes>
        </userattributelist>
      </aut:authUserResponse>
    </soapenv:Body>
  </soapenv:Envelope>

The SOAP body element of an authUser SOAP response only contains an authUserResponse element (line 9). This element always contains the following elements:

  • results (required)
  • userattributelist (optional)

The results element contains the following sub-elements:

  • resultCodes (required). This element contains the following sub-elements:

    • returnCode. The operation return code indicating the overall result of the request processing.
    • statusCode. The operation status code indicating the reason for failure of any returnCode different from success (0).
    • returnCodeEnum. The identifier corresponding to the returnCode.
    • statusCodeEnum. The identifier corresponding to the statusCode.
  • resultAttribute (required). This element contains zero or more attributes elements.
  • errorStack (required). Contains zero or more errors elements.

    • errors. Each errors element contains the following sub-elements:

      • errorCode. The error code integer.
      • errorDesc. A string representation of the error code.

For a complete list of possible error codes, see Error codes.

In this case, the resultattribute element is used to refer to credential attributes elements.

The userattributelist contains zero or more user attributes elements. This element is only specified if the following conditions are met:

  • A userattribute group attribute has been specified in the corresponding SOAP request.
  • User authentication was successful.
  • User attributes with the specified user attribute group have been defined for the specified user.

For more information about how attribute elements are structured, see authUser SOAP request structure.


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle