Class: Stormpath::Rails::AccountLoginWithStormpathToken
- Inherits:
-
Object
- Object
- Stormpath::Rails::AccountLoginWithStormpathToken
- Defined in:
- app/services/stormpath/rails/account_login_with_stormpath_token.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(cookie_jar, account, application, api_key) ⇒ AccountLoginWithStormpathToken
constructor
A new instance of AccountLoginWithStormpathToken.
Constructor Details
#initialize(cookie_jar, account, application, api_key) ⇒ AccountLoginWithStormpathToken
Returns a new instance of AccountLoginWithStormpathToken.
8 9 10 11 12 13 |
# File 'app/services/stormpath/rails/account_login_with_stormpath_token.rb', line 8 def initialize(, account, application, api_key) @cookie_jar = @account = account @application = application @api_key = api_key end |
Class Method Details
.call(cookie_jar, account, application, api_key) ⇒ Object
4 5 6 |
# File 'app/services/stormpath/rails/account_login_with_stormpath_token.rb', line 4 def self.call(, account, application, api_key) new(, account, application, api_key).call end |
Instance Method Details
#call ⇒ Object
15 16 17 |
# File 'app/services/stormpath/rails/account_login_with_stormpath_token.rb', line 15 def call TokenCookieSetter.call(, authentication_result) end |