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

Method GetTokenID

pkg/api/interfaces/interfaces.go:95–95  ·  view source on GitHub ↗

GetTokenID returns the API token ID for token-based authentication. Returns empty string if using password authentication.

()

Source from the content-addressed store, hash-verified

93 // GetTokenID returns the API token ID for token-based authentication.
94 // Returns empty string if using password authentication.
95 GetTokenID() string
96
97 // GetTokenSecret returns the API token secret for token-based authentication.
98 // Returns empty string if using password authentication.

Callers 3

TestConfigAdapterFunction · 0.65

Implementers 6

MockConfigpkg/api/mock_config_test.go
ExampleConfigpkg/api/example_usage.go
MockConfigpkg/api/testutils/mocks.go
TestConfigpkg/api/testutils/mocks.go
Configinternal/config/config.go
mockConfiginternal/taskmanager/manager_test.go

Calls

no outgoing calls

Tested by 2

TestConfigAdapterFunction · 0.52