Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service provides a Json-Web-Token authentication implementation
func (*Service) GenerateToken ¶
GenerateToken generates new JWT token and populates it with user data
func (*Service) MWFunc ¶
func (j *Service) MWFunc() echo.MiddlewareFunc
MWFunc makes JWT implement the Middleware interface.
Click to show internal directories.
Click to hide internal directories.