Sha256: e98362804bad543e8918d878b75f27163a5ef2e4652288e40d6c757268f7635a
Contents?: true
Size: 720 Bytes
Versions: 9
Compression:
Stored size: 720 Bytes
Contents
module Roqua module CoreApi # @api private class SsoLogin < Base object :session, class: Sessions::AuthSession string :organization_id string :dossier_group_id string :external_identifier hash :extra_params, strip: false, default: {} def execute response = session.get "/sso/login", **sso_params if response.code == 422 errors_to_usecase response end response['token_session'] end def sso_params extra_params.merge( organization_id: organization_id, dossier_group_id: dossier_group_id, external_identifier: external_identifier ).symbolize_keys end end end end
Version data entries
9 entries across 9 versions & 1 rubygems