Remove warnings

This commit is contained in:
Sebastian H. Gabrielli 2023-12-30 23:02:18 +01:00
parent b16edea0c0
commit 3d3a5ef3d7

View File

@ -1,6 +1,6 @@
use jsonwebtoken::{decode, decode_header, Algorithm, DecodingKey, Validation, TokenData}; use jsonwebtoken::{decode, decode_header, Algorithm, DecodingKey, Validation, TokenData};
use reqwest; use reqwest;
use serde::{Deserialize, Serialize}; use serde::Deserialize;
use std::collections::HashMap; use std::collections::HashMap;
// Define a struct for the claims you expect in your token // Define a struct for the claims you expect in your token
@ -17,13 +17,6 @@ struct MyClaims {
struct AuthorizationWellKnown { struct AuthorizationWellKnown {
issuer: String, issuer: String,
jwks_uri: 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)] #[derive(Deserialize)]