Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoLoginWithAuthKey ¶
func DoLoginWithAuthKey() error
func LoginWithAuthKey ¶ added in v1.58.3
LoginWithAuthKey exchanges the given auth key for credentials and persists them.
func LoginWithEnvKeyIfNeeded ¶ added in v1.58.3
func LoginWithEnvKeyIfNeeded()
LoginWithEnvKeyIfNeeded logs in using the ENCORE_AUTH_KEY environment variable when it is set and no user is currently logged in. This gives agents and CI a non-interactive way to authenticate, avoiding the browser-based login flow.
Types ¶
Click to show internal directories.
Click to hide internal directories.