Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAuth ¶
CheckAuth reports whether a usable token is already available, without running the interactive login flow on a miss. Unlike EnsureAuth, this never opens a browser: it's for callers (like the 'context' discovery tool) that want to report auth status rather than force it.
func Reauthenticate ¶
Reauthenticate is EnsureAuth, deduplicated against concurrent callers (see reauthenticate). Intended for a 401 retry path: EnsureAuth already tries a silent token refresh before falling back to an interactive login, so this never forces a browser login when a refresh would do - and when a refresh genuinely isn't enough, concurrent requests share one login attempt instead of each opening their own browser window.
Types ¶
This section is empty.