about summary refs log tree commit diff
path: root/kittybox-rs/src/micropub/util.rs
Commit message (Collapse)AuthorAgeFilesLines
* Clarity improvementsVika2023-02-271-0/+1
|
* Use tokens from the auth backend to authenticate for MicropubVika2022-09-281-33/+19
|
* indieauth: rename to tokenauthVika2022-07-101-1/+1
| | | | | | | | | | | | This frees up the name for the future in-house IndieAuth implementation and also clarifies the purpose of this module. Its future is uncertain - most probably when the token endpoint gets finished, it will transform into a way to query that token endpoint. But then, the media endpoint also depends on it, so I might have to copy that implementation (that queries an external token endpoint) and make it generic enough so I could both query an external endpoint or use internal data.
* treewide: rewrite using AxumVika2022-07-071-0/+457
Axum has streaming bodies and allows to write simpler code. It also helps enforce stronger types and looks much more neat. This allows me to progress on the media endpoint and add streaming reads and writes to the MediaStore trait. Metrics are temporarily not implemented. Everything else was preserved, and the tests still pass, after adjusting for new calling conventions. TODO: create method routers for protocol endpoints