package
0.4.3
Repository: https://github.com/sirjager/trueauth.git
Documentation: pkg.go.dev

# Functions

NewPasetoBuilder returns a new PasetoBuilder.
NewPayload creates a new payload for a specific username and duration.

# Variables

ErrExpiredToken is returned when a token has expired.
ErrInvalidToken is returned when a token is invalid.

# Structs

PasetoBuilder implements TokenBuilder.
Payload contains the payload data of the token.
PayloadData contains the payload data of the token.

# Interfaces

TokenBuilder is an interface for managing tokens.