package
0.0.0-20240519021449-e00347c1f657
Repository: https://github.com/carverauto/threadr.git
Documentation: pkg.go.dev

# Functions

ApiKeyMiddleware authenticates requests using a predefined API key.
RoleInstanceMiddleware checks if the user is an admin and if they belong to the instance specified in the URL.
SuperAdminAuthMiddleware checks to see if the user has the super admin claim set and is instance admin.