class Stormpath::Authentication::BasicLoginAttempt

Constants

ACCOUNT_STORE
TYPE
VALUE

Public Instance Methods

account_store() click to toggle source
   # File lib/stormpath-sdk/auth/basic_login_attempt.rb
23 def account_store
24   get_property ACCOUNT_STORE
25 end
account_store=(account_store) click to toggle source
   # File lib/stormpath-sdk/auth/basic_login_attempt.rb
27 def account_store=(account_store)
28   if account_store.is_a? Stormpath::Resource::Base
29     set_property ACCOUNT_STORE, HREF_PROP_NAME => account_store.href
30   elsif account_store.is_a? Hash
31     set_property ACCOUNT_STORE, sanitize(account_store)
32   else
33     raise ArgumentError, 'account_store should be a Stormpath::Resource::Instance or a Hash'
34   end
35 end
type() click to toggle source
   # File lib/stormpath-sdk/auth/basic_login_attempt.rb
37 def type
38   get_property TYPE
39 end
type=(type) click to toggle source
   # File lib/stormpath-sdk/auth/basic_login_attempt.rb
41 def type=(type)
42   set_property TYPE, type
43 end
value() click to toggle source
   # File lib/stormpath-sdk/auth/basic_login_attempt.rb
45 def value
46   get_property VALUE
47 end
value=(value) click to toggle source
   # File lib/stormpath-sdk/auth/basic_login_attempt.rb
49 def value=(value)
50   set_property VALUE, value
51 end