Documentation
¶
Overview ¶
Package jwt handles some business related to JWT token.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJWTToken ¶
GetJWTToken verify and return jwt token from http request, only accept bearer header.
Make sure you call Init before can use this.
func GetUserEmail ¶
GetUserEmail return email private claim from jwt token in the http request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.