Class: LWS::Auth::User
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Auth::User
- Defined in:
- lib/lws/apps/auth.rb
Overview
Instance Attribute Summary collapse
-
#account ⇒ Account
The account that the user belongs to.
-
#account_id ⇒ Fixnum
The ID of the account that the user belongs to.
-
#auth_provider ⇒ String
The name of the authentication provider.
-
#created_at ⇒ String
readonly
The timestamp of when the user was created.
-
#email ⇒ String
The email address of the user.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the user.
-
#mfa_enabled ⇒ Boolean
Whether MFA (multi-factor authentication) is enabled for the user.
-
#mfa_verified ⇒ Boolean
Whether MFA (multi-factor authentication) has been verified for the user.
-
#oauth_expires_at ⇒ String?
The timestamp of when the OAuth token of the user expires.
-
#password_digest ⇒ String?
The digested version of the password of the user.
-
#updated_at ⇒ String
readonly
The timestamp of when the user was last updated.
-
#use_for_communication ⇒ Boolean
Whether the email address (see #email) of the user is/will be used to send messages/announcements.
Instance Attribute Details
#account ⇒ Account
Returns the account that the user belongs to.
509 |
# File 'lib/lws/apps/auth.rb', line 509 belongs_to :account |
#account_id ⇒ Fixnum
Returns the ID of the account that the user belongs to.
513 |
# File 'lib/lws/apps/auth.rb', line 513 attribute :account_id |
#auth_provider ⇒ String
Returns the name of the authentication provider.
517 |
# File 'lib/lws/apps/auth.rb', line 517 attribute :auth_provider |
#created_at ⇒ String (readonly)
Returns the timestamp of when the user was created.
551 |
# File 'lib/lws/apps/auth.rb', line 551 attribute :created_at |
#email ⇒ String
Returns the email address of the user.
521 |
# File 'lib/lws/apps/auth.rb', line 521 attribute :email |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the user.
505 |
# File 'lib/lws/apps/auth.rb', line 505 attribute :id |
#mfa_enabled ⇒ Boolean
Returns whether MFA (multi-factor authentication) is enabled for the user.
526 |
# File 'lib/lws/apps/auth.rb', line 526 attribute :mfa_enabled |
#mfa_verified ⇒ Boolean
Returns whether MFA (multi-factor authentication) has been verified for the user.
531 |
# File 'lib/lws/apps/auth.rb', line 531 attribute :mfa_verified |
#oauth_expires_at ⇒ String?
Returns the timestamp of when the OAuth token of the user expires.
536 |
# File 'lib/lws/apps/auth.rb', line 536 attribute :oauth_expires_at |
#password_digest ⇒ String?
Returns the digested version of the password of the user. (Can be nil
if the authentication provider (see #auth_provider) is not “lws”.).
542 |
# File 'lib/lws/apps/auth.rb', line 542 attribute :password_digest |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the user was last updated.
555 |
# File 'lib/lws/apps/auth.rb', line 555 attribute :updated_at |
#use_for_communication ⇒ Boolean
Returns whether the email address (see #email) of the user is/will be used to send messages/announcements.
547 |
# File 'lib/lws/apps/auth.rb', line 547 attribute :use_for_communication |