Class: Roqua::CoreApi::SsoLogin Private
- Defined in:
- lib/roqua/core_api/sso_login.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #execute ⇒ Object private
- #sso_params ⇒ Object private
Instance Method Details
#execute ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 14 15 16 17 |
# File 'lib/roqua/core_api/sso_login.rb', line 11 def execute response = session.get "/sso/login", **sso_params if response.code == 422 errors_to_usecase response end response['token_session'] end |
#sso_params ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
19 20 21 22 23 24 25 |
# File 'lib/roqua/core_api/sso_login.rb', line 19 def sso_params extra_params.merge( organization_id: organization_id, dossier_group_id: dossier_group_id, external_identifier: external_identifier ).symbolize_keys end |