Documentation
¶
Overview ¶
Package auth implements OAuth2 Authorization Code + PKCE for CLI login.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Login ¶
func Login(server string) (*config.Credential, error)
Login runs the full OAuth2 Authorization Code + PKCE flow. Returns a credential to store.
func RefreshToken ¶
func RefreshToken(server string, cred *config.Credential) (*config.Credential, error)
RefreshToken attempts to refresh the access token.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.