完善google id token 校验

This commit is contained in:
liyunjia 2024-05-29 21:12:50 +08:00
parent 09809fd826
commit 35b6698d07

View File

@ -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,
}