mz_frontegg_auth

Constant DEFAULT_REFRESH_DROP_FACTOR

Source
pub const DEFAULT_REFRESH_DROP_FACTOR: f64 = 0.05;
Expand description

If a session is dropped within DEFAULT_REFRESH_DROP_FACTOR * valid_for seconds of an authentication token expiring, then we’ll continue to refresh the auth token, with the assumption that a new instance of this session will be started soon.