Skip to content

Commit

Permalink
Change 'static to 'a
Browse files Browse the repository at this point in the history
  • Loading branch information
Desiders committed Dec 18, 2024
1 parent 22e1362 commit a6f1371
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/user_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,7 @@ where
access_token,
require_signed_response: false,
response_type: UserInfoResponseType::Json,
signed_response_verifier: UserInfoVerifier::new(
self.client_id.clone(),
self.issuer.clone(),
self.jwks.clone(),
expected_subject,
),
signed_response_verifier: self.user_info_verifier(expected_subject),
}
}
}
Expand All @@ -116,7 +111,7 @@ where
pub(crate) url: &'a UserInfoUrl,
pub(crate) access_token: AccessToken,
pub(crate) require_signed_response: bool,
pub(crate) signed_response_verifier: UserInfoVerifier<'static, JE, K>,
pub(crate) signed_response_verifier: UserInfoVerifier<'a, JE, K>,
pub(crate) response_type: UserInfoResponseType,
}
impl<'a, JE, K> UserInfoRequest<'a, JE, K>
Expand Down

0 comments on commit a6f1371

Please sign in to comment.