Class: HubSsoLib::User
- Inherits:
-
Object
- Object
- HubSsoLib::User
- Defined in:
- lib/hub_sso_lib.rb
Overview
This *must not* be ‘undumped’, since it gets passed from clients back to the persistent DRb server process. A client thread may disappear and be recreated by the web server at any time; if the user object is undumpable, then the DRb server has to *call back to the client* (in DRb, clients are also servers…!) to find out about the object. Trouble is, if the client thread has been recreated, the server will be trying to access to stale objects that only exist if the garbage collector hasn’t got to them yet.
Instance Attribute Summary collapse
-
#user_activated_at ⇒ Object
Returns the value of attribute user_activated_at.
-
#user_activation_code ⇒ Object
Returns the value of attribute user_activation_code.
-
#user_created_at ⇒ Object
Returns the value of attribute user_created_at.
-
#user_crypted_password ⇒ Object
Returns the value of attribute user_crypted_password.
-
#user_email ⇒ Object
Returns the value of attribute user_email.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#user_member_id ⇒ Object
Returns the value of attribute user_member_id.
-
#user_password_reset_code ⇒ Object
Returns the value of attribute user_password_reset_code.
-
#user_password_reset_code_expires_at ⇒ Object
Returns the value of attribute user_password_reset_code_expires_at.
-
#user_real_name ⇒ Object
Returns the value of attribute user_real_name.
-
#user_remember_token ⇒ Object
Returns the value of attribute user_remember_token.
-
#user_remember_token_expires_at ⇒ Object
Returns the value of attribute user_remember_token_expires_at.
-
#user_roles ⇒ Object
Returns the value of attribute user_roles.
-
#user_salt ⇒ Object
Returns the value of attribute user_salt.
-
#user_trusted ⇒ Object
Returns the value of attribute user_trusted.
-
#user_updated_at ⇒ Object
Returns the value of attribute user_updated_at.
Instance Attribute Details
#user_activated_at ⇒ Object
Returns the value of attribute user_activated_at.
382 383 384 |
# File 'lib/hub_sso_lib.rb', line 382 def user_activated_at @user_activated_at end |
#user_activation_code ⇒ Object
Returns the value of attribute user_activation_code.
386 387 388 |
# File 'lib/hub_sso_lib.rb', line 386 def user_activation_code @user_activation_code end |
#user_created_at ⇒ Object
Returns the value of attribute user_created_at.
392 393 394 |
# File 'lib/hub_sso_lib.rb', line 392 def user_created_at @user_created_at end |
#user_crypted_password ⇒ Object
Returns the value of attribute user_crypted_password.
384 385 386 |
# File 'lib/hub_sso_lib.rb', line 384 def user_crypted_password @user_crypted_password end |
#user_email ⇒ Object
Returns the value of attribute user_email.
391 392 393 |
# File 'lib/hub_sso_lib.rb', line 391 def user_email @user_email end |
#user_id ⇒ Object
Returns the value of attribute user_id.
388 389 390 |
# File 'lib/hub_sso_lib.rb', line 388 def user_id @user_id end |
#user_member_id ⇒ Object
Returns the value of attribute user_member_id.
387 388 389 |
# File 'lib/hub_sso_lib.rb', line 387 def user_member_id @user_member_id end |
#user_password_reset_code ⇒ Object
Returns the value of attribute user_password_reset_code.
389 390 391 |
# File 'lib/hub_sso_lib.rb', line 389 def user_password_reset_code @user_password_reset_code end |
#user_password_reset_code_expires_at ⇒ Object
Returns the value of attribute user_password_reset_code_expires_at.
393 394 395 |
# File 'lib/hub_sso_lib.rb', line 393 def user_password_reset_code_expires_at @user_password_reset_code_expires_at end |
#user_real_name ⇒ Object
Returns the value of attribute user_real_name.
383 384 385 |
# File 'lib/hub_sso_lib.rb', line 383 def user_real_name @user_real_name end |
#user_remember_token ⇒ Object
Returns the value of attribute user_remember_token.
390 391 392 |
# File 'lib/hub_sso_lib.rb', line 390 def user_remember_token @user_remember_token end |
#user_remember_token_expires_at ⇒ Object
Returns the value of attribute user_remember_token_expires_at.
385 386 387 |
# File 'lib/hub_sso_lib.rb', line 385 def user_remember_token_expires_at @user_remember_token_expires_at end |
#user_roles ⇒ Object
Returns the value of attribute user_roles.
380 381 382 |
# File 'lib/hub_sso_lib.rb', line 380 def user_roles @user_roles end |
#user_salt ⇒ Object
Returns the value of attribute user_salt.
379 380 381 |
# File 'lib/hub_sso_lib.rb', line 379 def user_salt @user_salt end |
#user_trusted ⇒ Object
Returns the value of attribute user_trusted.
394 395 396 |
# File 'lib/hub_sso_lib.rb', line 394 def user_trusted @user_trusted end |
#user_updated_at ⇒ Object
Returns the value of attribute user_updated_at.
381 382 383 |
# File 'lib/hub_sso_lib.rb', line 381 def user_updated_at @user_updated_at end |