Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrExpiredToken ¶
type ErrExpiredToken struct{}
func (ErrExpiredToken) Error ¶
func (e ErrExpiredToken) Error() string
type ErrInvalidToken ¶
type ErrInvalidToken struct{}
func (ErrInvalidToken) Error ¶
func (e ErrInvalidToken) Error() string
type Jwt ¶
type Jwt[T any] struct{}
Jwt implements JWTManager to verify session tokens
func New ¶
New returns a new Jwt instance, and since session tokens are to validate users the working type is models.User
Click to show internal directories.
Click to hide internal directories.