package
0.6.78
Repository: https://github.com/hiway-media/hwm-go-utils.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
get current logged in user email (username) from jwt.
get current logged in user email (username) from jwt.
get current customer_id from jwt.
get current customer from jwt.
No description provided by the author
JwtProtected wrap http handler functions for jwt verification.
function needed to wrap http handlers for limit the access for specific roles, if at least one role specified is present in the jwt, it can pass, otherwise early return 401.