# Functions

New opens a new sql connection with the given configuration with a connection timeout of 30.

# Constants

TokenTypeRefresh identifies a token as refresh-token.
TokenTypeReset identifies a token as reset-token.

# Variables

ErrTokenNotFound returned when no token could be found.
ErrUserAlreadyExists returned when given user already exists.
ErrUserNotFound returned when requested user not found.

# Structs

Storage should be created via New and provides user and token database operation.
Token represent a persisted token.
User represent a persisted user.