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

Function NewKiteKeyWithKeyPair

testutil/testutil.go:30–32  ·  view source on GitHub ↗
(private, public string)

Source from the content-addressed store, hash-verified

28}
29
30func 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.

Callers

nothing calls this directly

Calls 1

NewTokenFunction · 0.85

Tested by

no test coverage detected