The Synapse implementation
now has an admin API that lets you create, update, delete, and list tokens.
This involved writing some new store functions that manipulate the
registration_tokens table, adding the new endpoints, and a fair few unit tests.
Take a look at the documentation for more detail about how it's used.
There are a few admin API related bits that I'd like to do before the end of GSoC:
- A human friendly format for
expiry_time(currently you have to give it as milliseconds since the start of the unix epoch).
- Pagination when listing tokens.
- Saying whether a token is valid or not when returning it.
- Maybe adding support for it in synadm, which I found out about recently and haven't yet used.
Apart from a couple issues with expiring sessions and the fallback, the Synapse part of this project is now pretty much done! Next week I'll be starting on the Nheko implementation :-)
<- Back to index