Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TokenContent ¶
TokenContent represents the content we store in a JWT token - the username and k8s token
func ParseJWTToken ¶
func ParseJWTToken(tokenString string, secret []byte) (content *TokenContent, err error)
ParseJWTToken parses the token string into a TokenContent
Click to show internal directories.
Click to hide internal directories.