Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "validate <issuer> <rawToken>", Short: "Validate JWT", Args: cobra.ExactArgs(2), Run: func(cmd *cobra.Command, args []string) { err := jwt_utils.ValidateJWT(args[0], args[1]) if err != nil { log.Fatalln(err) } if FlagVerbose { log.Println("JWT is valid") } }, }
View Source
var FlagVerbose bool
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.