auth_complete
Complete a session handshake by submitting the DID, the issued nonce, and a JWS over the canonical challenge. Returns a session token to pass in the X-LHUB-Session header.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_did": "<agent_did>",
"nonce": "<nonce>",
"signature": "<signature>"
},
"name": "auth_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | the nonce issued by auth_challenge | |
| agent_did | Yes | the caller agent DID | |
| signature | Yes | compact JWS over the canonical challenge, signed by the agent DID key |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| header | Yes | ||
| expires_at | Yes | ||
| session_token | Yes |