Class: QuoVadis::Log

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
IpMasking
Defined in:
app/models/quo_vadis/log.rb

Constant Summary collapse

LOGIN_SUCCESS =
'login.success'
LOGIN_FAILURE =
'login.failure'
LOGIN_UNKNOWN =
'login.unknown'
TOTP_SETUP =
'totp.setup'
TOTP_SUCCESS =
'totp.success'
TOTP_FAILURE =
'totp.failure'
TOTP_REUSE =
'totp.reuse'
RECOVERY_CODE_SUCCESS =
'recovery_code.success'
RECOVERY_CODE_FAILURE =
'recovery_code.failure'
RECOVERY_CODE_GENERATE =
'recovery_code.generate'
TWOFA_DEACTIVATED =
'2fa.deactivated'
IDENTIFIER_CHANGE =
'identifier.change'
EMAIL_CHANGE =
'email.change'
PASSWORD_CHANGE =
'password.change'
PASSWORD_RESET =
'password.reset'
ACCOUNT_CONFIRMATION =
'account.confirmation'
LOGOUT_OTHER =
'logout.other'
LOGOUT =
'logout.self'
REVOKE =
'revoke'
ACTIONS =
[
  LOGIN_SUCCESS,
  LOGIN_FAILURE,
  LOGIN_UNKNOWN,
  TOTP_SETUP,
  TOTP_SUCCESS,
  TOTP_FAILURE,
  TOTP_REUSE,
  RECOVERY_CODE_SUCCESS,
  RECOVERY_CODE_FAILURE,
  RECOVERY_CODE_GENERATE,
  TWOFA_DEACTIVATED,
  IDENTIFIER_CHANGE,
  EMAIL_CHANGE,
  PASSWORD_CHANGE,
  PASSWORD_RESET,
  ACCOUNT_CONFIRMATION,
  LOGOUT_OTHER,
  LOGOUT,
  REVOKE
]

Method Summary

Methods included from IpMasking

included, #mask_ip