Creates a login rule which represents "this rule will be valid for ttl seconds",
where ttl is the input to the function. Goes great with the functions for representing
time. E.g.,
ttlLoginRule(30) // Valid for 30 seconds ttlLoginRule(minutes(10)) // Valid for 10 minutes ttlLoginRule(days(2)) // Valid for 2 days ...
Creates a login rule which represents "this rule will be valid for
ttl
seconds", wherettl
is the input to the function. Goes great with the functions for representing time. E.g.,