Skip to main content

Authentication a user with a one-time passcode, authenticate a user with the offline challenge-response mode, add a new token to an existing account,

Online Login:

 Out:

</transaction>
   <type format="base">2</type>
   <data>
   <user-id>api2</user-id>
   <passcode>843163</passcode>
   <domaincode>127000000001</domaincode>
   <offline-challenge encoding="none">null</offline-challenge>
   <offline-response encoding="none">null</offline-response>
   <chap-password encoding="base64">null</chap-password>
   <chap-challenge encoding="base64">null</chap-challenge>
   <result>null</result>
    </data>
</transaction>

 In:  

<transaction>
    <type format="base">2</type>
    <data>
    <user-id>api2</user-id>
    <passcode>843163</passcode>
    <domaincode>127000000001</domaincode>
    <offline-challenge encoding="none">null</offline-challenge>
    <offline-response encoding="none">null</offline-response>
    <chap-password encoding="base64">null</chap-password>
    <chap-challenge encoding="base64">null</chap-challenge>
    <result>VALID</result>
    </data>
</transaction>

 

Offline Login:

Out:

<transaction>
    <type format="offline">2</type>
    <data>
    <user-id>api2</user-id>
    <passcode>null</passcode>
    <domaincode>127000000001</domaincode>
    <offline-challenge encoding="none">11896952</offline-challenge>
    <offline-response encoding="none">sjerfhd</offline-response>
    <chap-password encoding="base64">null</chap-password>
    <chap-challenge encoding="base64">null</chap-challenge>
    <result>null</result> 
    </data>
</transaction>
<transaction>
   <type format="offline">2</type>
   <data>
   <user-id>api2</user-id>
   <passcode>null</passcode>
   <domaincode>127000000001</domaincode>
   <offline-challenge encoding="none">11896952</offline-challenge>
   <offline-response encoding="none">sjerfhd</offline-response>
   <chap-passwordencoding="base64">null</chap-password>
   <chap-challenge encoding="base64">null</chap-challenge>
   <result>INVALID</result>
   </data>
</transaction>
Add Device (add a token to an existing account)

:

Out:
<transaction>
    <type format="add">4</type>
    <data>
    <user-id>api2</user-id>
    <registration-code>51WhxuDh</registration-code>
    <domaincode>127000000001</domaincode>
    <passcode>353068</passcode>
    <error-code>null</error-code>
    <groupName>null</groupName>
    <result>null</result>
    </data>
</transaction>

In:

<transaction>
   <type format="add">4</type>
   <data>
   <user-id>null</user-id>
   <registration-code>null</registration-code>
   <domaincode>null</domaincode>
   <passcode>null</passcode>
   <error-code>0</error-code>
   <groupName>null</groupName>
   <result>SUCESS</result>
   </data>
</transaction>

Pre-Registration:

Out:

<transaction>
    <type>10</type>
    <data>
    <token-registration-code>5D4p9Xy3</token-registration-code>
    <pre-registration-code>1234567890123456789012345</pre-registration-code>
    <domaincode>127000000001</domaincode>
    <error-code>null</error-code>
    <result>null</result>
    </data>
</transaction>

 

In:

<	<transaction>
    <type>10</type>
    <data>
    <token-registration-code>null</token-registration-code>
    <pre-registration-code>null</pre-registration-code>
    <domaincode>null</domaincode>
    <error-code>0</error-code>
    <result>SUCESS</result>
    </data>
</transaction>

Add device without passcode (add a token to an existing account with an OTP from the 1st:

Out:

<transaction>
   <type format="add-no-check">4</type>
   <data>
   <user-id>api4</user-id>
   <registration-code>3oIOs53Z</registration-code>
   <domaincode>127000000001</domaincode>
   <passcode>null</passcode>
   <error-code>null</error-code>
   <groupName>null</groupName>
   <result>null</result>
   </data>
</transaction>

 

In:

<transaction>
   <type format="add-no-check">4</type>
   <data><user-id>null</user-id>
   <registration-code>null</registration-code>
   <domaincode>null</domaincode>
   <passcode>null</passcode>
   <error-code>0</error-code>
   <groupName>null</groupName>
   <result>SUCESS</result>
   </data>
</transaction>

 

 



 

Copyright © WiKID Systems, Inc. 2024 | Two-factor Authentication