MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / SetAuthManager

Method SetAuthManager

pkg/api/http.go:35–37  ·  view source on GitHub ↗

SetAuthManager sets the auth manager for the HTTP client.

(authManager *AuthManager)

Source from the content-addressed store, hash-verified

33
34// SetAuthManager sets the auth manager for the HTTP client.
35func (hc *HTTPClient) SetAuthManager(authManager *AuthManager) {
36 hc.authManager = authManager
37}
38
39// SetAPIToken sets the API token for authentication.
40func (hc *HTTPClient) SetAPIToken(token string) {

Calls

no outgoing calls