# Functions

GenerateRandomBytes returns securely generated random bytes.
NewConfig returns a loaded module config.
NewJWTManager returns a new JWT manager.
NewRedisClient creates a new redis client.
NewRedisStore creates new default RedisStore.
NewToken creates a new token.

# Constants

RoleAll that any authenticated user can access.

# Variables

ErrInvalidEndpoint returned when accessing an invalid endpoint.

# Structs

Action defines the endpoints action config.
Claims defines the custom JWT claims.
Config returns the module config.
JWT is a JSON web token manager.
Redis config.
Token struct hold the token.

# Type aliases

Endpoint path.
Endpoints map of Endpoint and it's config.