完善google id token 校验
This commit is contained in:
parent
09809fd826
commit
35b6698d07
@ -109,6 +109,7 @@ struct GooglePublicKey {
|
||||
e: String,
|
||||
n: String,
|
||||
kty: String,
|
||||
#[serde(rename = "use")]
|
||||
use_: String,
|
||||
alg: String,
|
||||
kid: String,
|
||||
@ -117,6 +118,7 @@ struct GooglePublicKey {
|
||||
#[derive(Deserialize, Debug, Clone, Default)]
|
||||
struct GooglePublicKeys {
|
||||
keys: Vec<GooglePublicKey>,
|
||||
#[serde(skip)]
|
||||
refresh_at: i64,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user