@chromia/ft4 - v2.1.0
    Preparing search index...

    Function relativeBlockTime

    • Creates a login config rule variable of type relative block time which will expire after value number of seconds after this was registered. Works well together with the time functions of this module. E.g.,

      relativeBlockTime(hours(2)) // Expires after two hours
      

      Parameters

      • value: number

        after how many seconds this rule should expire

      Returns RuleVariableValue<LoginConfigRuleVariable>