...
Interface | Method | Path | Request | Response | Permissions Required | Description | Notes | |
---|---|---|---|---|---|---|---|---|
authtoken | POST | /tokens | claims | tokens | auth.signtoken auth.signrefreshtoken | Generate and return access and refresh tokens | Proxy to storage module. |
claims
Property | Type | Default | Required | Notes |
---|---|---|---|---|
user_id | string | NA | No | UUID of the user these tokens are associated with |
tenant | string | NA | Yes | The tenant these tokens are associated with |
sub | string | NA | No | access token subject (username? module name?) |
TBD | ||||
refreshToken | string | NA | No | Optional refresh token - if present, use this to |
...