Passer au contenu principal

Plugins Overview

Overview

Casbin offers an extensive plugin ecosystem that extends core functionality. These plugins integrate Casbin with storage systems, frameworks, and platforms.

Plugin Categories

The plugin ecosystem includes these categories:

  • Enforcers: Specialized enforcers tailored for specific use cases and environments
  • Adapters: Connect Casbin to storage backends (databases, files, cloud services)
  • Watchers: Synchronize policies across distributed systems
  • Dispatchers: Coordinate policy updates in distributed environments
  • Role Managers: Custom role management implementations for specific scenarios
  • Middlewares: Framework and platform integrations

Why Use Plugins?

Plugins expand Casbin's capabilities by:

  • Integrating with existing infrastructure
  • Supporting distributed and multi-instance deployments
  • Providing framework-specific integrations
  • Enabling cloud-native deployments

Getting Started

To use a plugin:

  1. Select the plugin that matches your requirements
  2. Install the plugin package for your language
  3. Configure the plugin in your Casbin setup
  4. Consult plugin-specific documentation for advanced features

Browse the subsections in this category to learn about each plugin type and find the right solution for your needs.