NewKiteKeyUsername is like NewKiteKey() but it uses the given username instead of using the "testuser" name
(username string)
| 24 | // NewKiteKeyUsername is like NewKiteKey() but it uses the given username |
| 25 | // instead of using the "testuser" name |
| 26 | func NewKiteKeyUsername(username string) *jwt.Token { |
| 27 | return NewToken(username, testkeys.Private, testkeys.Public) |
| 28 | } |
| 29 | |
| 30 | func NewKiteKeyWithKeyPair(private, public string) *jwt.Token { |
| 31 | return NewToken("", private, public) |
nothing calls this directly
no test coverage detected