ResponseType
UserLevelConfig
UserLevelConfigList
- class q2_sdk.hq.models.sso_response.UserLevelConfigList(vendor_id, configs=<factory>)[source]
Serializes into HQ appropriate return shapes
-
vendor_id:
int self.vendor_id from an SSOHandler
-
configs:
List[UserLevelConfig] List of UserLevelConfig instances
-
vendor_id:
Q2SSOResponse
- class q2_sdk.hq.models.sso_response.Q2SSOResponse(response_type, response, success=True, end_user_error_message='', user_level_config_list=None)[source]
The shape HQ expects back from an SSO call
- Parameters:
response_type (
ResponseType) – From ResponseType enumresponse (
str) – Actual response shown to the end usersuccess (
bool) – If False, will log failure into HQend_user_error_message – In conjunction with success=False, customizes the error message
user_level_config_list (
Optional[UserLevelConfigList]) – If provided, will fill the Q2_ThirdPartyData table with user level key/value pairs for specified vendor