diff options
author | Vika <vika@fireburn.ru> | 2022-07-10 22:27:55 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-07-10 22:29:29 +0300 |
commit | d8556f4eb27412f60fa48b73b18db0e52d388409 (patch) | |
tree | ab303d1a1e34897c74d643a844260e08b342aa77 /kittybox-rs/indieauth/src/pkce.rs | |
parent | 0cae59373c9ab5828804477e8dedc85143ffc224 (diff) | |
download | kittybox-d8556f4eb27412f60fa48b73b18db0e52d388409.tar.zst |
kittybox-indieauth: improve types and make more of them public
Diffstat (limited to 'kittybox-rs/indieauth/src/pkce.rs')
-rw-r--r-- | kittybox-rs/indieauth/src/pkce.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kittybox-rs/indieauth/src/pkce.rs b/kittybox-rs/indieauth/src/pkce.rs index a0bc291..1d3c58f 100644 --- a/kittybox-rs/indieauth/src/pkce.rs +++ b/kittybox-rs/indieauth/src/pkce.rs @@ -9,8 +9,8 @@ pub enum PKCEMethod { Plain } -#[derive(Debug, Clone, Serialize, Deserialize)] -pub struct PKCEVerifier(String); +#[derive(Debug, PartialEq, Eq, Clone, Serialize, Deserialize)] +pub struct PKCEVerifier(pub(super) String); impl AsRef<str> for PKCEVerifier { fn as_ref(&self) -> &str { |