(private, public string)
| 28 | } |
| 29 | |
| 30 | func NewKiteKeyWithKeyPair(private, public string) *jwt.Token { |
| 31 | return NewToken("", private, public) |
| 32 | } |
| 33 | |
| 34 | // NewToken creates new JWT token for the gien username. It embedds the given |
| 35 | // public key as kontrolKey and signs the token with the private one. |
nothing calls this directly
no test coverage detected