Skip to main content

needs_refresh

Function needs_refresh 

Source
pub fn needs_refresh(session: &Session, now: SystemTime) -> bool
Expand description

Whether session’s access token expires within REFRESH_MARGIN of now, or already has (AC4).