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 valueisstring
true when the value is a string with at least one non-whitespace character.
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
refreshTokenorclientIdnever triggers a doomed refresh grant on every 401.