Remove warnings
This commit is contained in:
parent
b16edea0c0
commit
3d3a5ef3d7
@ -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)]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user