important
This is a contributors guide and NOT a user guide. Please visit these docs if you are using or evaluating SuperTokens.
Database plugin
These are java "plugins" / JARs that implement the plugin interface to interact with a specific db. For example, the mysql plugin will implement the plugin interface to read / write info to a mysql instance. The primary purpose of these are to:
- Maintain a connection pool to the underlying db
- Implement the plugin interface and map them to queries for the db being implemented for.
- Provide a way for transactions to take place (if applicable).
These plugins are dynamically loaded by the core at runtime, if the user has specified connection info that tallies with this plugin.