{
    "name": "core-auth",
    "displayName": "Autenticação",
    "version": "1.0.0",
    "description": "Login, JWT, refresh tokens, sessões, Google OAuth e RBAC.",
    "author": "Clube67",
    "category": "core",
    "enabled": true,
    "canDisable": false,
    "dependencies": [],
    "backend": {
        "routePrefix": "/api/auth",
        "hasMigrations": true,
        "globalMiddleware": [
            "authenticate"
        ]
    },
    "frontend": {
        "menuItems": [],
        "pages": [
            {
                "path": "/login",
                "component": "LoginPage",
                "roles": [
                    "*"
                ]
            },
            {
                "path": "/register",
                "component": "RegisterPage",
                "roles": [
                    "*"
                ]
            }
        ]
    },
    "hooks": {
        "subscribes": [],
        "emits": [
            "user:login",
            "user:logout",
            "user:register",
            "token:refresh"
        ]
    }
}
