Skip to main content

sasl_session_expiry

Function sasl_session_expiry 

Source
pub fn sasl_session_expiry(
    now_ms: i64,
    credential_expiry_ms: Option<i64>,
    reauth_ms: Option<i64>,
) -> (Option<i64>, i64)
Expand description

Bind a SASL session to the earlier credential or positive listener cap. A sum beyond the clock range stays finite at i64::MAX.