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

Struct KiteKey

kitetest/kitetest.go:25–33  ·  view source on GitHub ↗

KiteKey represents JWT token used in kite authentication, also known as kite.key.

Source from the content-addressed store, hash-verified

23// KiteKey represents JWT token used in kite authentication,
24// also known as kite.key.
25type KiteKey struct {
26 ID string `json:"keyID,omitempty"`
27 Issuer string `json:"issuer,omitempty"`
28 Username string `json:"username,omitempty"`
29 IssuedAt int64 `json:"issuedAt,omitempty"`
30 KontrolURL string `json:"kontrolURL,omitempty"`
31 URL string `json:"url,omitempty"`
32 Kite protocol.Kite `json:"kite,omitempty"`
33}
34
35func (k *KiteKey) id() string {
36 if k.ID != "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected