MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / ValidateToken

Method ValidateToken

internal/payment/shop.go:82–82  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

80// TokenValidator 校验 Bearer token 是否有效(复用 panel admin session)。
81type TokenValidator interface {
82 ValidateToken(token string) bool
83}
84
85// ShopAPI handles public shop endpoints.

Callers 1

requireAdminMethod · 0.65

Implementers 1

Managerinternal/auth/auth.go

Calls

no outgoing calls

Tested by

no test coverage detected