- 11 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
authUser SOAP Request Structure
- Mis à jour le 11 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
An authUser SOAP request 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">
<soapenv:Header/>
<soapenv:Body>
<aut:authUser>
<credentialAttributeSet>
<!--Zero or more repetitions:-->
<attributes>
<value xsi:type="xsd:!!!!!!">?????</value>
<attributeID>?????</attributeID>
</attributes>
</credentialAttributeSet>
</aut:authUser>
</soapenv:Body>
</soapenv:Envelope>
The SOAP body element should only contain an authUser element (line 8). This element is defined in the namespace aut. Therefore, the aut namespace needs to be declared in the Envelope element as an attribute.
A valid authUser request must follow these additional rules:
- The authUser element should contain only one credentialAttributeSet element.
- The credentialAttributeSet element should contain zero or more credential attributes elements.
Each attribute element should contain the following sub-elements:
- attributeID (required). The attribute identifier. The supported credential attribute identifiers are listed in SOAP authentication (Overview).
- value (required). The attribute value. This element also requires the specification of the value type using the following attribute definition xsi=type=”xsd:type.
attributeOptions (optional). This element provides directive information about how OneSpan Authentication Server should handle the attribute value during request processing. Following options are supported for this element:
- NULL. Indicates that the specified attribute should be set to zero.
- NEGATIVE. Used for search criteria to say NO when searching for a specific attribute.
- MASKED. Used to indicate OneSpan Authentication Server to mask the attribute value (e.g. when auditing the SOAP request).
To set an attribute option, add the option element in the attributeOptions element and give the option element the value true.
To set the MASKED option, add the following:
<attributeOptions><masked>true</masked></attributeOptions>