Exception: Parse::MFA::ForbiddenError
- Defined in:
- lib/parse/two_factor_auth.rb
Overview
Error raised when an operator is not authorized to perform a privileged MFA operation (e.g. master-key disable). See UserExtension#disable_mfa_master_key!.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = "Not authorized to perform this MFA operation") ⇒ ForbiddenError
constructor
A new instance of ForbiddenError.
Constructor Details
#initialize(message = "Not authorized to perform this MFA operation") ⇒ ForbiddenError
Returns a new instance of ForbiddenError.
90 91 92 |
# File 'lib/parse/two_factor_auth.rb', line 90 def initialize( = "Not authorized to perform this MFA operation") super() end |