Generate API Tokens
In the user settings, we should provide the option of generating (permanent) API tokens for access to the API.
- This would require a slight rewrite of the security middleware to check for valid tokens outside
pwd_context
inserver/util/security.py
. - Generate an API token
- Delete API token
- Store API tokens (linked to users) somewhere
- "Permanent" means: should persist beyond restarts