Skip to main content

Overview

nexfetch-auth uses an adapter pattern for database access. Pick one or implement your own.

AdapterModuleInstall
SQLAlchemynexfetch_auth.db.adapters.sqlalchemypip install 'nexfetch-auth[sqlalchemy]'
PostgreSQLnexfetch_auth.db.adapters.sqlalchemypip install 'nexfetch-auth[postgresql]'
MongoDBnexfetch_auth.db.adapters.mongodbpip install 'nexfetch-auth[mongodb]'
Memorynexfetch_auth.db.adapters.memory(built in)
CustomYour ownImplement DBAdapter protocol

Schema

5 tables/collections, created automatically:

TablePurpose
usersUser profiles
sessionsActive sessions
accountsOAuth account links
verificationsReset/verification tokens
rate_limitsRate limiter state