The Hapcat Backend package.
hapcat.
authenticate
Authenticate the user.
identity
Get the identity from the JWT payload.
makejwtsecret
Read or generate the JWT secret.
payload_handler
Transform the identity object into a payload.