1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-11-29 09:24:12 +01:00

added description of request and response for retrieving timestamp and session counter information from the validation server

This commit is contained in:
Olov Danielson 2009-10-12 11:39:46 +00:00
parent 95ee2b3017
commit b963f3c3f4

View File

@ -94,6 +94,11 @@ with the following parameters (note that this request need not be signed):
<td>The OTP from the YubiKey.</td> <td>The OTP from the YubiKey.</td>
</tr> </tr>
<tr>
<td><code>timestamp</td>
<td>string</td>
<td>No</td>
<td>Timestamp=1 requests timestamp and session counter information the response</td>
<tr> <tr>
<td><code>h</code></td> <td><code>h</code></td>
@ -108,7 +113,13 @@ An example request (broken into two lines for legibility):
<pre> <pre>
http://api.yubico.com/wsapi/verify?otp=vvvvvvcucrlcietctc\ http://api.yubico.com/wsapi/verify?otp=vvvvvvcucrlcietctc\
kflvnncdgckubflugerlnr&id=87 </pre> kflvnncdgckubflugerlnr&id=87 </pre>
<br /> <br />
And if you require additional information on timestamp and session counters:
<pre>
http://api.yubico.com/wsapi/verify?otp=vvvvvvcucrlcietctc\
kflvnncdgckubflugerlnr&id=87&timestamp=1 </pre>
<br />
<hr size="1" noshade color="#cccccc"> <hr size="1" noshade color="#cccccc">
<br /> <br />
@ -146,6 +157,21 @@ The response has the following values:
<td>Additional information if the status <td>Additional information if the status
is <code>MISSING_PARAMETER</code>.</td> is <code>MISSING_PARAMETER</code>.</td>
</tr> </tr>
<tr>
<td><code>timestamp</code></td>
<td>string</td>
<td>YubiKey internal timestamp value when key was pressed</td>
</tr>
<tr>
<td><code>sessioncounter</code></td>
<td>string</td>
<td>YubiKey internal usage counter when key was pressed</td>
</tr>
<tr>
<td><code>sessionuse</code></td>
<td>string</td>
<td>YubiKey internal session usage counter when key was pressed</td>
</tr>
</table> </table>
<br /><br /> <br /><br />
<hr size="1" noshade color="#cccccc"> <hr size="1" noshade color="#cccccc">