Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractKiteID ¶
ExtractKiteID extracts kite ID from the raw JWT token.
Types ¶
type KiteKey ¶
type KiteKey struct { ID string `json:"keyID,omitempty"` Issuer string `json:"issuer,omitempty"` Username string `json:"username,omitempty"` IssuedAt int64 `json:"issuedAt,omitempty"` KontrolURL string `json:"kontrolURL,omitempty"` URL string `json:"url,omitempty"` Kite protocol.Kite `json:"kite,omitempty"` }
KiteKey represents JWT token used in kite authentication, also known as kite.key.
type TokenExtractor ¶
TokenExtractor is used to extract kite ID from the given JWT token.
Click to show internal directories.
Click to hide internal directories.