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) ParseToken ¶
ParseToken parses token from Authorization header
Click to show internal directories.
Click to hide internal directories.