diff options
author | Vika <vika@fireburn.ru> | 2022-07-14 17:51:49 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-07-15 00:31:27 +0300 |
commit | 0b47da2af8c02da35e310981919ad097e6897d16 (patch) | |
tree | 77c3be3457942ee763d5be623349ad0f8a54b8a5 /kittybox-rs/src/frontend/indieauth.js | |
parent | 2c509e85429c70b528a73d7a57a3c080fb8b06bf (diff) | |
download | kittybox-0b47da2af8c02da35e310981919ad097e6897d16.tar.zst |
kittybox-indieauth: add From impls for TokenIntrospectionResponse
This makes converting Option<TokenData> into a response and vice versa a breeze, and hide the complexity of TokenIntrospectionResponse forced upon this library by the IndieAuth standard. Really, this type should've been represented as Option<TokenData>, I just don't know how to add the "active" field to it properly.
Diffstat (limited to 'kittybox-rs/src/frontend/indieauth.js')
0 files changed, 0 insertions, 0 deletions