MCPcopy Create free account
hub / github.com/koding/kite / TokenExtractor

Struct TokenExtractor

kitetest/kitetest.go:138–141  ·  view source on GitHub ↗

TokenExtractor is used to extract kite ID from the given JWT token.

Source from the content-addressed store, hash-verified

136
137// TokenExtractor is used to extract kite ID from the given JWT token.
138type TokenExtractor struct {
139 Token *jwt.Token
140 KiteID string
141}
142
143var errTokenExtractor = errors.New("extraction ok")
144

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected