diff --git a/zeroidc/src/lib.rs b/zeroidc/src/lib.rs index 4130dbd50..9dbd9ced5 100644 --- a/zeroidc/src/lib.rs +++ b/zeroidc/src/lib.rs @@ -63,11 +63,6 @@ impl Inner { } } -#[derive(Debug, Serialize, Deserialize)] -struct Exp { - exp: u64 -} - fn csrf_func(csrf_token: String) -> Box CsrfToken> { return Box::new(move || CsrfToken::new(csrf_token.to_string())); } @@ -548,7 +543,6 @@ impl ZeroIDC { let at = tok.access_token().secret(); - // see previous note about this function's use let t: Result>, jwt::Error>= Token::parse_unverified(at); if let Ok(t) = t {