SSO Handler
- class q2_sdk.core.http_handlers.sso_handler.Q2SSORequestHandler(application, request, **kwargs)[source]
Bases:
Q2HqRequestHandler
RequestHandler meant to be used for authenticating to a third party vendor
- property vendor_configs
Alias to self.db_config
- property db_config
Dictionary representation of data passed from the Q2_WedgeAddress table’s Config column
- wrap_soap_response(custom_response)[source]
If the incoming request is wrapped in a soap envelope, this prepares it for return back to HQ. There are two formats we know about, but since it is possible for HQ instances to be customized and expect a different format, this allows for overriding the response at an extension level.
- Parameters:
custom_response (
Q2SSOResponse
) – Response to wrap in an appropriate soap envelope