Documentation Index
Fetch the complete documentation index at: https://docs.neuro-tech.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Authenticates a user and returns a JWT. This method is intended for programmatic clients and is an alternative to browser-based login flows.HTTP request
POST /Agent/Account/Login
Authentication
Sign the request using HMAC-SHA256 with the account password as the key. Signature message:Request body
| Field | Type | Required | Description |
|---|---|---|---|
userName | string | yes | Username to authenticate. |
nonce | string | yes | Unique random string (minimum 32 chars). |
signature | string | yes | HMAC signature of the request. |
seconds | number | yes | JWT lifetime in seconds (0 < seconds <= 3600). |
Response
| Field | Type | Description |
|---|---|---|
jwt | string | JWT bearer token. |
expires | string | JWT expiration timestamp. |
Security tips
- Store passwords securely and avoid logging them.
- Never reuse a nonce.