about summary refs log tree commit diff
path: root/kittybox-rs/indieauth/src/scopes.rs
Commit message (Collapse)AuthorAgeFilesLines
* kittybox-indieauth: Allow converting more types to/from stringsVika2022-09-191-0/+6
| | | | | Sometimes it is needed, for example, to construct an HTML form pre-filled with the request data.
* kittybox-indieauth: document the entire crateVika2022-07-221-0/+10
| | | | I am procrastinating very hard right now.
* kittybox-indieauth: improve docs and the Error typeVika2022-07-191-1/+2
| | | | | | | `kittybox_indieauth::Error` now represents errors in the IndieAuth process itself. `IndieAuthError` got renamed to `ResourceErrorKind` to reflect errors that a resource server (i.e. IndieAuth consumer) might return to a client who somehow didn't authorize themselves properly.
* kittybox-indieauth: improve types and make more of them publicVika2022-07-101-1/+1
|
* kittybox-indieauth: implement FromStr for ScopesVika2022-07-101-3/+12
|
* Security bugfix: fix Scopes::has_all() incorrectly checking scopesVika2022-07-101-2/+15
| | | | | Turns out it was comparing the list of required scopes with **itself**. Oops, that's a major security issue.
* kittybox-indieauth: initVika2022-07-101-0/+169
This crate is the base framework-agnostic implementation of all data structures and methods required for IndieAuth protocol. Anything that can deserialize HTTP request payloads with serde can utilize this crate. This is a good candidate to independently release on crates.io when the interface becomes stable enough.