Class: SecondFactorManager::SecondFactorAuthenticationResult

Inherits:
Struct
  • Object
show all
Defined in:
app/models/concerns/second_factor_manager.rb

Instance Attribute Summary collapse

Instance Attribute Details

#backup_enabledObject

Returns the value of attribute backup_enabled

Returns:

  • (Object)

    the current value of backup_enabled



8
9
10
# File 'app/models/concerns/second_factor_manager.rb', line 8

def backup_enabled
  @backup_enabled
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



8
9
10
# File 'app/models/concerns/second_factor_manager.rb', line 8

def error
  @error
end

#multiple_second_factor_methodsObject

Returns the value of attribute multiple_second_factor_methods

Returns:

  • (Object)

    the current value of multiple_second_factor_methods



8
9
10
# File 'app/models/concerns/second_factor_manager.rb', line 8

def multiple_second_factor_methods
  @multiple_second_factor_methods
end

#okObject

Returns the value of attribute ok

Returns:

  • (Object)

    the current value of ok



8
9
10
# File 'app/models/concerns/second_factor_manager.rb', line 8

def ok
  @ok
end

#reasonObject

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



8
9
10
# File 'app/models/concerns/second_factor_manager.rb', line 8

def reason
  @reason
end

#security_key_enabledObject

Returns the value of attribute security_key_enabled

Returns:

  • (Object)

    the current value of security_key_enabled



8
9
10
# File 'app/models/concerns/second_factor_manager.rb', line 8

def security_key_enabled
  @security_key_enabled
end

#totp_enabledObject

Returns the value of attribute totp_enabled

Returns:

  • (Object)

    the current value of totp_enabled



8
9
10
# File 'app/models/concerns/second_factor_manager.rb', line 8

def totp_enabled
  @totp_enabled
end

#used_2fa_methodObject

Returns the value of attribute used_2fa_method

Returns:

  • (Object)

    the current value of used_2fa_method



8
9
10
# File 'app/models/concerns/second_factor_manager.rb', line 8

def used_2fa_method
  @used_2fa_method
end