Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
Types ¶
type ClientClaims ¶
type ClientClaims struct { jwtGo.StandardClaims Data ClientJWTDTO `json:"data"` }
type ClientJWTDTO ¶
func DecodeToken ¶
func DecodeToken(j jwt.JWT, token string) (ClientJWTDTO, error)
func GetCurrentLogin ¶
func GetCurrentLogin(ctx echo.Context) (ClientJWTDTO, error)
Click to show internal directories.
Click to hide internal directories.