Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithJWTAuth ¶
func WithJWTAuth(parser TokenParser, skip ...string) *twirp.ServerHooks
WithJWTAuth creates new twirp authentication hook
Types ¶
type TokenParser ¶
TokenParser represents jwt auth token parser and validator
Click to show internal directories.
Click to hide internal directories.