AniLink - v3.0.0
    Preparing search index...

    Function isNonBlank

    • Whether a credential string is configured: a non-empty string whose whitespace-only values count as missing, the same as the empty string.

      Both provider wirings apply this same rule when deciding whether the automatic token-refresh lifecycle activates, so a whitespace-only refreshToken or clientId never triggers a doomed refresh grant on every 401.

      Parameters

      • value: string | undefined

        The credential value to test.

      Returns value is string

      true when the value is a string with at least one non-whitespace character.