diff options
author | Vika <vika@fireburn.ru> | 2022-07-10 14:49:55 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-07-10 14:49:55 +0300 |
commit | 25183f2ed7802375f15cb0069af7bee6dd2c7afd (patch) | |
tree | ff6e67de32864839b58cfcb1be31bfbd52d89e28 /kittybox-rs/src/frontend/onboarding.rs | |
parent | 1031d495d5b78d9b19dcdc414b6d7b0daf313bb2 (diff) | |
download | kittybox-25183f2ed7802375f15cb0069af7bee6dd2c7afd.tar.zst |
indieauth: rename to tokenauth
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.
Diffstat (limited to 'kittybox-rs/src/frontend/onboarding.rs')
-rw-r--r-- | kittybox-rs/src/frontend/onboarding.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kittybox-rs/src/frontend/onboarding.rs b/kittybox-rs/src/frontend/onboarding.rs index 9027201..08a05ee 100644 --- a/kittybox-rs/src/frontend/onboarding.rs +++ b/kittybox-rs/src/frontend/onboarding.rs @@ -56,7 +56,7 @@ async fn onboard<D: Storage + 'static>( // Create a user to pass to the backend // At this point the site belongs to nobody, so it is safe to do let user = - crate::indieauth::User::new(user_uid.as_str(), "https://kittybox.fireburn.ru/", "create"); + crate::tokenauth::User::new(user_uid.as_str(), "https://kittybox.fireburn.ru/", "create"); if data.user["type"][0] != "h-card" || data.first_post["type"][0] != "h-entry" { return Err(FrontendError::with_code( |