diff --git a/src/user_info.rs b/src/user_info.rs index 1de643f7..ce74aefa 100644 --- a/src/user_info.rs +++ b/src/user_info.rs @@ -296,6 +296,13 @@ where } ]; + /// + /// Returns the standard claims as a `StandardClaims` object. + /// + pub fn standard_claims(&self) -> &StandardClaims { + &self.0.standard_claims + } + /// /// Returns additional user info claims. ///