Versions in this module Expand all Collapse all v0 v0.7.8 Feb 20, 2022 Changes in this version + func GenerateToken(user, password, application string) (string, error) + func GetJWTAuthService() (string, int, error) + func GetUserID(claims map[string]interface{}) (id string, err error) + func Middleware() func(http.Handler) http.Handler + func UserIDFromContext(ctx context.Context) string + func ValidateToken(tokenString string) (policy string, err error)