MCPcopy
hub / github.com/OpenNHP/opennhp / ACTokenEntry

Struct ACTokenEntry

endpoints/server/tokenstore.go:14–20  ·  view source on GitHub ↗

ACTokenEntry represents a server access token entry that maps to multiple AC tokens.

Source from the content-addressed store, hash-verified

12
13// ACTokenEntry represents a server access token entry that maps to multiple AC tokens.
14type ACTokenEntry struct {
15 User *common.AgentUser
16 ResourceId string
17 ACTokens map[string]string
18 OpenTime int
19 ExpireTime time.Time
20}
21
22// GetExpireTime implements the common.TokenEntry interface.
23func (e *ACTokenEntry) GetExpireTime() time.Time {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected