package
Version:
v0.0.0-...-2c249d0
Opens a new window with list of versions in this module.
Published: Jul 14, 2014
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package kitekey provides method for reading and writing kite.key file.
func GetKontrolKey(token *jwt.Token) ([]byte, error)
GetKontrolKey is used as key getter func for jwt.Parse() function.
KiteHome returns the home path of Kite directory.
The returned value can be overriden by setting KITE_HOME environment variable.
func Parse() (*jwt.Token, error)
Parse the kite.key file and return it as JWT token.
Read the contents of the kite.key file.
Write over the kite.key file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.