Docs
chromia.com

Function

relativeBlockTime

  • relativeBlockTime(value: number): RuleVariableValue<LoginConfigRuleVariable>

    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.,

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

    Parameters

    • value: number

      after how many seconds this rule should expire

    Returns RuleVariableValue<LoginConfigRuleVariable>