1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-18 06:54:19 +01:00

Update ValidationProtocolV20.adoc

This commit is contained in:
Henrik Stråth 2014-08-11 16:27:54 +02:00
parent f0ef1c979b
commit edf1208f19

View File

@ -71,17 +71,44 @@ http://api.yubico.com/wsapi/2.0/verify
with the following parameters (note that this request need not be signed):
[options="header"]
|==========================================
|===
| parameter | type | required | purpose
| id | string | Yes | Specifies the requestor so that the end-point can retrieve correct shared secret for signing the response.
|otp | string | Yes | The OTP from the !YubiKey.
| h | string | No | The optional HMAC-SHA1 signature for the request.
| timestamp | string | No | Timestamp=1 requests timestamp and session counter information in the response
| nonce | string | Yes | A 16 to 40 character long string with random unique data
| sl | string | No | A value 0 to 100 indicating percentage of syncing required by client, or strings "fast" or "secure" to use server-configured values; if absent, let the server decide
| timeout | integer | No | Number of seconds to wait for sync responses; if absent, let the server decide
|=========================================
| id
| string
| Yes
| Specifies the requestor so that the end-point can retrieve correct shared secret for signing the response.
|otp
| string
| Yes
| The OTP from the YubiKey.
| h
| string
| No
| The optional HMAC-SHA1 signature for the request.
| timestamp
| string
| No
| Timestamp=1 requests timestamp and session counter information in the response
| nonce
| string
| Yes
| A 16 to 40 character long string with random unique data
| sl
| string
| No
| A value 0 to 100 indicating percentage of syncing required by client, or strings "fast" or "secure" to use server-configured values; if absent, let the server decide
| timeout
| integer
| No
| Number of seconds to wait for sync responses; if absent, let the server decide
|===
An example request: