pub fn default_token_source() -> SharedTokenSourceExpand description
$CHAINCTL_AUTH_TOKEN when set, otherwise the library’s own login (a cached
BrowserLoginToken): tokens are minted from the saved login, and a browser login runs when
there is none. chainctl isn’t used; set $CHAINGUARD_SANDBOX_AUTH=chainctl to mint tokens with
it instead. $CHAINGUARD_SANDBOX_SOCIAL_LOGIN preselects the login’s social provider (github,
google-oauth2, gitlab), and $CHAINGUARD_SANDBOX_NO_BROWSER=1 makes a missing login an error
(Error::LoginRequired) instead of opening a browser.