... | ... | @@ -54,8 +54,6 @@ |
|
|
|
|
|
* URL: `machine/auth`
|
|
|
|
|
|
#### Step 0
|
|
|
|
|
|
* Request
|
|
|
|
|
|
| Parameter | Type | Description |
|
... | ... | @@ -67,21 +65,4 @@ |
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
| ----- | ----- | ----- |
|
|
|
| encrypted | string | encrypted text for the client to decrypt |
|
|
|
| auth_id | int | authentication sequence ID |
|
|
|
|
|
|
#### Step 1
|
|
|
|
|
|
* Request
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
| ----- | ----- | ----- |
|
|
|
| decrypted | string | decrypted text from the client |
|
|
|
| auth_id | int | authentication sequence ID |
|
|
|
|
|
|
* Response
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
| ----- | ----- | ----- |
|
|
|
| nfc_pass | base64 string | password of the NFC |
|
|
|
| auth_id | int | authentication sequence ID | |
|
|
| nfc_pass | base64 string | encrypted NFC password | |
|
|
\ No newline at end of file |