Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedSigningMethod = errors.New("unexpected signing method")
ErrUnexpectedSigningMethod is returned when the JWT signing method is not expected.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles JWT token generation and parsing.
func (*Manager) GenerateToken ¶
GenerateToken creates a new JWT token for the given user ID.
Click to show internal directories.
Click to hide internal directories.