Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager[T any] struct { // contains filtered or unexported fields }
func (Manager[T]) GenerateToken ¶
GenerateToken generates a JWT token with a given payload.
func (Manager[T]) ValidateToken ¶
ValidateToken validates the given JWT token and returns a payload.
Click to show internal directories.
Click to hide internal directories.