Plugins Overview
Overview
Casbin provides a rich ecosystem of plugins and extensions that enhance its core functionality. These plugins allow you to integrate Casbin with various storage systems, frameworks, and platforms.
Plugin Categories
Casbin's plugin ecosystem includes several categories:
- Enforcers: Specialized enforcers for different use cases and environments
- Adapters: Connect Casbin to various storage backends (databases, files, cloud services)
- Watchers: Enable policy synchronization across distributed systems
- Dispatchers: Manage policy updates in distributed environments
- Role Managers: Custom role management implementations for specific scenarios
- Middlewares: Integration with web frameworks and platforms
Why Use Plugins?
Plugins extend Casbin's capabilities by:
- Integrating with your existing infrastructure
- Supporting distributed and multi-instance deployments
- Providing framework-specific integrations
- Enabling cloud-native deployments
Getting Started
To use a plugin:
- Choose the appropriate plugin for your use case
- Install the plugin package for your programming language
- Configure the plugin in your Casbin setup
- Follow the plugin-specific documentation for advanced features
Explore the subsections in this category to learn more about each type of plugin and find the right one for your needs.