Skip to content

Commit

Permalink
Add UserInfoClaims::standard_claims getter
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ramos committed Nov 30, 2019
1 parent 3dd217c commit 1fac355
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/user_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,13 @@ where
}
];

///
/// Returns the standard claims as a `StandardClaims` object.
///
pub fn standard_claims(&self) -> &StandardClaims<GC> {
&self.0.standard_claims
}

///
/// Returns additional user info claims.
///
Expand Down

0 comments on commit 1fac355

Please sign in to comment.