Function torrust_tracker::tracker::auth::generate
source · pub fn generate(lifetime: Duration) -> ExpiringKeyExpand description
It generates a new random 32-char authentication ExpiringKey
Panics
It would panic if the lifetime: Duration + Duration is more than Duration::MAX.