MCPcopy Create free account
hub / github.com/VersusControl/devops-ai-guidelines / AuthInfo

Struct AuthInfo

02-mcp-for-devops/code/06/pkg/auth/common.go:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type AuthInfo struct {
9 Type string `json:"type"`
10 Identity string `json:"identity"`
11 Permissions []string `json:"permissions"`
12 Metadata map[string]interface{} `json:"metadata"`
13}
14
15type Authenticator interface {
16 Authenticate(ctx context.Context, credentials string) (*AuthInfo, error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected