From 25183f2ed7802375f15cb0069af7bee6dd2c7afd Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 10 Jul 2022 14:49:55 +0300 Subject: 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. --- kittybox-rs/src/media/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kittybox-rs/src/media/mod.rs') diff --git a/kittybox-rs/src/media/mod.rs b/kittybox-rs/src/media/mod.rs index 1bf3958..e9e91ac 100644 --- a/kittybox-rs/src/media/mod.rs +++ b/kittybox-rs/src/media/mod.rs @@ -2,7 +2,7 @@ use axum::{ extract::{Extension, Host, multipart::{Multipart, MultipartError}, Path}, response::{IntoResponse, Response}, headers::HeaderValue, }; -use crate::{micropub::{MicropubError, ErrorType}, indieauth::User}; +use crate::{micropub::{MicropubError, ErrorType}, tokenauth::User}; pub mod storage; use storage::{MediaStore, MediaStoreError, Metadata, ErrorKind}; -- cgit 1.4.1