53 lines
1.4 KiB
Markdown
53 lines
1.4 KiB
Markdown
## nKode API
|
|
- Describe each endpoint; it's inputs and outputs
|
|
- Flowchart/network diagram of enrollment and login
|
|
|
|
## Table-Top Scenarios
|
|
- nKode observation (shoulder surfing)
|
|
- nKode observation (screen recording)
|
|
-
|
|
```mermaid
|
|
graph TD
|
|
A[Start] --> B[Process]
|
|
B --> C[End]
|
|
```
|
|
|
|
|
|
``` mermaid
|
|
sequenceDiagram
|
|
participant Client
|
|
participant Server
|
|
|
|
Note over Client,Server: Initial Connection
|
|
|
|
Client->>Server: Connection Request
|
|
Server-->>Client: Connection Accepted
|
|
|
|
Note over Client,Server: Data Transfer 1 - Client to Server
|
|
|
|
Client->>+Server: Send Matrix Data
|
|
Note right of Client: Matrix Data:
|
|
Note right of Client: | 10 | 15 | 20 |
|
|
Note right of Client: | 25 | 30 | 35 |
|
|
Note right of Client: | 40 | 45 | 50 |
|
|
|
|
Server->>Server: Process Matrix
|
|
Server-->>-Client: Acknowledge Receipt
|
|
|
|
Note over Client,Server: Data Transfer 2 - Server to Client
|
|
|
|
Server->>+Client: Return Processed Matrix
|
|
Note left of Server: Processed Matrix:
|
|
Note left of Server: | 20 | 30 | 40 |
|
|
Note left of Server: | 50 | 60 | 70 |
|
|
Note left of Server: | 80 | 90 | 100 |
|
|
|
|
Client->>Client: Display Results
|
|
Client-->>-Server: Acknowledge Receipt
|
|
|
|
Note over Client,Server: Connection Termination
|
|
|
|
Client->>Server: Disconnect Request
|
|
Server-->>Client: Disconnect Confirmed
|
|
```
|