Skip to main content

peek_claims

Function peek_claims 

Source
pub fn peek_claims(token: &str) -> Option<Claims>
Expand description

Reads an access token’s claims WITHOUT verifying it: for display only (which account, which app, until when). Never authorize anything with the result; Commit verifies every token itself. None when the value is not a JWT.