{
  "type": "featherpanel.events.category",
  "category": "Auth",
  "slug": "auth",
  "total": 18,
  "events": [
    {
      "name": "featherpanel:auth:2fa:enabled",
      "method": "onAuth2FAEnabled",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [
        "user"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/TwoFactorController.php"
      ]
    },
    {
      "name": "featherpanel:auth:2fa:failed",
      "method": "onAuth2FAFailed",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [
        "ip_address",
        "user"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/TwoFactorController.php"
      ]
    },
    {
      "name": "featherpanel:auth:2fa:setup",
      "method": "onAuth2FASetup",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [
        "user"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/TwoFactorController.php"
      ]
    },
    {
      "name": "featherpanel:auth:2fa:verified",
      "method": "onAuth2FAVerified",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [
        "user"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/TwoFactorController.php"
      ]
    },
    {
      "name": "featherpanel:auth:account:locked",
      "method": "onAuthAccountLocked",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [
        "already_locked",
        "attempts",
        "identifier",
        "lockout_seconds"
      ],
      "source_files": [
        "backend/app/Helpers/AccountLockoutHelper.php"
      ]
    },
    {
      "name": "featherpanel:auth:account:unlocked",
      "method": "onAuthAccountUnlocked",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [
        "identifier"
      ],
      "source_files": [
        "backend/app/Helpers/AccountLockoutHelper.php"
      ]
    },
    {
      "name": "featherpanel:auth:email:changed",
      "method": "onAuthEmailChanged",
      "category": "Auth",
      "callback": "array user info, string email.",
      "emitted": true,
      "data_keys": [
        "ip_address",
        "new_email",
        "old_email",
        "user_uuid"
      ],
      "source_files": [
        "backend/app/Controllers/User/User/SessionController.php"
      ]
    },
    {
      "name": "featherpanel:auth:email:login:code:requested",
      "method": "onAuthEmailLoginCodeRequested",
      "category": "Auth",
      "callback": "array user info, string ip_address.",
      "emitted": true,
      "data_keys": [
        "ip_address",
        "user"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/EmailLoginController.php"
      ]
    },
    {
      "name": "featherpanel:auth:forgot:password",
      "method": "onAuthForgotPassword",
      "category": "Auth",
      "callback": "array user info, string reset_url, string reset_token.",
      "emitted": true,
      "data_keys": [
        "ip_address",
        "reset_token",
        "reset_url",
        "user"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/ForgotPasswordController.php"
      ]
    },
    {
      "name": "featherpanel:auth:forgot:password:failed",
      "method": "onAuthForgotPasswordFailed",
      "category": "Auth",
      "callback": "string email, string reason.",
      "emitted": true,
      "data_keys": [
        "email",
        "ip_address",
        "reason"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/ForgotPasswordController.php"
      ]
    },
    {
      "name": "featherpanel:auth:login:failed",
      "method": "onAuthLoginFailed",
      "category": "Auth",
      "callback": "positional values from the emitted payload in key insertion order (see PluginEvents::emit).\n     * Possible keys across emitters: email, error, ip_address, provider, reason, user, username, username_or_email.",
      "emitted": true,
      "data_keys": [
        "email",
        "error",
        "ip_address",
        "provider",
        "reason",
        "user",
        "username",
        "username_or_email"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/EmailLoginController.php",
        "backend/app/Controllers/User/Auth/LdapController.php",
        "backend/app/Controllers/User/Auth/LoginController.php"
      ]
    },
    {
      "name": "featherpanel:auth:login:success",
      "method": "onAuthLoginSuccess",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [
        "user"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/LoginController.php",
        "backend/app/Controllers/User/Auth/RegisterController.php",
        "backend/app/Controllers/User/Auth/TwoFactorController.php"
      ]
    },
    {
      "name": "featherpanel:auth:logout",
      "method": "onAuthLogout",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [],
      "source_files": [
        "backend/app/Controllers/User/Auth/AuthLogoutController.php"
      ]
    },
    {
      "name": "featherpanel:auth:password:changed",
      "method": "onAuthPasswordChanged",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [
        "ip_address",
        "user",
        "user_uuid"
      ],
      "source_files": [
        "backend/app/Controllers/User/User/SessionController.php"
      ]
    },
    {
      "name": "featherpanel:auth:password:reset:failed",
      "method": "onAuthPasswordResetFailed",
      "category": "Auth",
      "callback": "string email, string reason.",
      "emitted": true,
      "data_keys": [
        "ip_address",
        "reason",
        "token"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/ResetPasswordController.php"
      ]
    },
    {
      "name": "featherpanel:auth:register:success",
      "method": "onAuthRegisterSuccess",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [
        "user"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/RegisterController.php"
      ]
    },
    {
      "name": "featherpanel:auth:registration:failed",
      "method": "onAuthRegistrationFailed",
      "category": "Auth",
      "callback": "string email, string reason.",
      "emitted": true,
      "data_keys": [
        "abuse_confidence_score",
        "email",
        "ip_address",
        "reason",
        "username"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/RegisterController.php"
      ]
    },
    {
      "name": "featherpanel:auth:reset:password:success",
      "method": "onAuthResetPasswordSuccess",
      "category": "Auth",
      "callback": "array user info.",
      "emitted": true,
      "data_keys": [
        "user"
      ],
      "source_files": [
        "backend/app/Controllers/User/Auth/ResetPasswordController.php"
      ]
    }
  ]
}
