Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthenticatedClient ¶
func GetAuthenticatedClient(ctx context.Context, ts *TokenStorage, cfg *config.Config) (*http.Client, error)
GetAuthenticatedClient configures and returns an HTTP client with OAuth2 tokens. It handles the entire flow: loading, refreshing, and fetching new tokens.
Types ¶
Click to show internal directories.
Click to hide internal directories.