Skip to main content

session_token_exp

Function session_token_exp 

Source
pub fn session_token_exp(token: &str) -> Option<i64>
Expand description

If token looks like an Insta360 session token (a JWT whose payload carries openId), return its exp (unix seconds). Used to pick the real session token out of arbitrary strings scraped from a browser session.