Constant mz_frontegg_auth::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.