Skip to content

Commit 1d55706

Browse files
committed
docs(auth): condense credential resolver guidance
1 parent 7bbce58 commit 1d55706

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎packages/cli/src/auth/resolver.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
* 3. `HEYGEN_ACCESS_TOKEN` env (host-managed OAuth)
88
* 4. `~/.heygen/credentials` (JSON) — unexpired OAuth, else api_key
99
*
10-
* Absent sources fall through. A broken file (parse error, bad shape)
11-
* surfaces immediately as `ErrInvalidStore` — silently falling back
12-
* would mask user config bugs.
10+
* Absent sources fall through. Broken files surface `ErrInvalidStore` immediately;
11+
* silently falling back would mask user configuration errors.
1312
*
1413
* Expiry policy: an OAuth access_token whose `expires_at` is in the
1514
* past (60s skew) is considered expired. If a `refresh_token` is also

0 commit comments

Comments
 (0)