移除无用日志

This commit is contained in:
李运家 2025-01-23 16:04:47 +08:00
parent f9a594ad50
commit d6fec3f4dc

View File

@ -196,8 +196,6 @@ impl GoogleSocial {
}
/// 验证ID Token并考虑kid匹配
///
/// TODO: 考虑使用oauth2开发库来实现game account的校验
pub async fn verify_id_token(&self, id_token: &str) -> SocialResult<GoogleJwtProfile> {
// 获取并解析公钥
let public_keys = self.fetch_and_parse_google_public_keys().await?;
@ -213,11 +211,7 @@ impl GoogleSocial {
let kid = kid.unwrap();
// 根据kid找到正确的公钥
let key = public_keys
.get(&kid);
// TODO:
// 如果是google game account可能找不到正确的公钥需要使用oauth2开发库来实现相应的校验
let key = public_keys.get(&kid);
match key {
Some(key) => {