From 3d3a5ef3d77ba4e789e5cf3d91aca7b0090e672c Mon Sep 17 00:00:00 2001 From: "Sebastian H. Gabrielli" Date: Sat, 30 Dec 2023 23:02:18 +0100 Subject: [PATCH] Remove warnings --- src/main.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main.rs b/src/main.rs index c15fffe..e7b775f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use jsonwebtoken::{decode, decode_header, Algorithm, DecodingKey, Validation, TokenData}; use reqwest; -use serde::{Deserialize, Serialize}; +use serde::Deserialize; use std::collections::HashMap; // Define a struct for the claims you expect in your token @@ -17,13 +17,6 @@ struct MyClaims { struct AuthorizationWellKnown { issuer: String, jwks_uri: String, - authorization_endpoint: String, - token_endpoint: String, - userinfo_endpoint: String, - end_session_endpoint: String, - introspection_endpoint: String, - revocation_endpoint: String, - device_authorization_endpoint: String, } #[derive(Deserialize)]