#postgresql #storage #user #torii #authentication #session #back-end

torii-storage-postgres

Postgres storage backend for the torii authentication ecosystem

2 releases

new 0.2.1 Feb 27, 2025
0.2.0 Feb 27, 2025

#1378 in Database interfaces


Used in torii

MIT license

120KB
2.5K SLoC

torii-storage-postgres

This crate provides a Postgres storage implementation for Torii.

It provides implementations for the following traits:

  • UserStorage - for storing and retrieving users
  • SessionStorage - for storing and retrieving sessions
  • EmailAuthStorage - for use by the torii-auth-password plugin

Dependencies

~51MB
~1M SLoC