KiteKey represents JWT token used in kite authentication, also known as kite.key.
| 23 | // KiteKey represents JWT token used in kite authentication, |
| 24 | // also known as kite.key. |
| 25 | type 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 | |
| 35 | func (k *KiteKey) id() string { |
| 36 | if k.ID != "" { |
nothing calls this directly
no outgoing calls
no test coverage detected