onelogin 1.8.0 → 3.0.0.pre.alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -4
  3. data/README.md +244 -525
  4. data/Rakefile +7 -3
  5. data/docs/Action.md +26 -0
  6. data/docs/ActivateFactorRequest.md +24 -0
  7. data/docs/AddAccessTokenClaimRequest.md +22 -0
  8. data/docs/AddClientAppRequest.md +20 -0
  9. data/docs/AddRoleUsers200ResponseInner.md +18 -0
  10. data/docs/AddScopeRequest.md +20 -0
  11. data/docs/AuthMethod.md +15 -0
  12. data/docs/AuthServerConfiguration.md +24 -0
  13. data/docs/ClientApp.md +20 -0
  14. data/docs/Condition.md +22 -0
  15. data/docs/Connector.md +26 -0
  16. data/docs/CreateAuthorizationServerRequest.md +22 -0
  17. data/docs/CreateEnvironmentVariableRequest.md +20 -0
  18. data/docs/CreateRoles201ResponseInner.md +18 -0
  19. data/docs/DefaultApi.md +6812 -0
  20. data/docs/Device.md +26 -0
  21. data/docs/EnrollFactorRequest.md +28 -0
  22. data/docs/Envvar.md +24 -0
  23. data/docs/ErrorStatus.md +22 -0
  24. data/docs/ErrorStatusErrorsInner.md +20 -0
  25. data/docs/FactorInner.md +32 -0
  26. data/docs/FactorInnerFactorData.md +20 -0
  27. data/docs/GenerateMfaToken200Response.md +24 -0
  28. data/docs/GenerateMfaToken422Response.md +24 -0
  29. data/docs/GenerateMfaToken422ResponseDetails.md +18 -0
  30. data/docs/GenerateMfaTokenRequest.md +20 -0
  31. data/docs/GenerateSamlAssertionRequest.md +26 -0
  32. data/docs/GenerateToken200Response.md +28 -0
  33. data/docs/GenerateToken400Response.md +18 -0
  34. data/docs/GenerateTokenRequest.md +18 -0
  35. data/docs/GetAuthorizationServer200Response.md +24 -0
  36. data/docs/GetAvailableFactors200ResponseInner.md +22 -0
  37. data/docs/GetClientApps200ResponseInner.md +24 -0
  38. data/docs/GetClientApps200ResponseInnerScopesInner.md +22 -0
  39. data/docs/GetRateLimit200Response.md +20 -0
  40. data/docs/GetRateLimit200ResponseData.md +22 -0
  41. data/docs/GetRiskScore200Response.md +20 -0
  42. data/docs/GetRiskScore400Response.md +18 -0
  43. data/docs/GetRiskScoreRequest.md +30 -0
  44. data/docs/GetScoreInsights200Response.md +20 -0
  45. data/docs/GetScoreInsights200ResponseScores.md +26 -0
  46. data/docs/GetUserApps200ResponseInner.md +32 -0
  47. data/docs/Hook.md +46 -0
  48. data/docs/HookConditionsInner.md +22 -0
  49. data/docs/HookOptions.md +22 -0
  50. data/docs/HookStatus.md +20 -0
  51. data/docs/Id.md +18 -0
  52. data/docs/ListAccessTokenClaims200ResponseInner.md +34 -0
  53. data/docs/ListActions200ResponseInner.md +20 -0
  54. data/docs/ListAppUsers200ResponseInner.md +26 -0
  55. data/docs/ListAuthorizationServers200ResponseInner.md +24 -0
  56. data/docs/ListAuthorizationServers200ResponseInnerConfiguration.md +20 -0
  57. data/docs/ListConditionOperators200ResponseInner.md +20 -0
  58. data/docs/ListConditionValues200ResponseInner.md +20 -0
  59. data/docs/ListConditions200ResponseInner.md +20 -0
  60. data/docs/ListMappingConditionOperators200ResponseInner.md +20 -0
  61. data/docs/ListMappingConditions200ResponseInner.md +20 -0
  62. data/docs/ListScopes200ResponseInner.md +22 -0
  63. data/docs/Log.md +24 -0
  64. data/docs/Mapping.md +30 -0
  65. data/docs/Registration.md +22 -0
  66. data/docs/RemoveRoleUsersRequest.md +18 -0
  67. data/docs/RevokeTokenRequest.md +18 -0
  68. data/docs/RiskDevice.md +18 -0
  69. data/docs/RiskRule.md +30 -0
  70. data/docs/RiskUser.md +22 -0
  71. data/docs/Role.md +26 -0
  72. data/docs/Rule.md +30 -0
  73. data/docs/RuleId.md +18 -0
  74. data/docs/Schema.md +56 -0
  75. data/docs/Schema1.md +28 -0
  76. data/docs/Schema1AddedBy.md +20 -0
  77. data/docs/SchemaProvisioning.md +18 -0
  78. data/docs/Session.md +18 -0
  79. data/docs/SetRoleApps200ResponseInner.md +18 -0
  80. data/docs/Source.md +20 -0
  81. data/docs/Status.md +24 -0
  82. data/docs/Status1.md +22 -0
  83. data/docs/Status2.md +18 -0
  84. data/docs/Status2Status.md +24 -0
  85. data/docs/TrackEventRequest.md +34 -0
  86. data/docs/UpdateAuthorizationServer400Response.md +24 -0
  87. data/docs/UpdateClientAppRequest.md +18 -0
  88. data/docs/UpdateEnvironmentVariableRequest.md +18 -0
  89. data/docs/UpdateRole200Response.md +18 -0
  90. data/docs/User.md +90 -0
  91. data/docs/VerifyEnrollmentRequest.md +18 -0
  92. data/docs/VerifyFactorRequest.md +20 -0
  93. data/docs/VerifyFactorSaml200Response.md +20 -0
  94. data/docs/VerifyFactorSamlRequest.md +26 -0
  95. data/docs/VerifyFactorVoice200ResponseInner.md +22 -0
  96. data/git_push.sh +57 -0
  97. data/lib/onelogin/api/default_api.rb +7334 -0
  98. data/lib/onelogin/api_client.rb +391 -0
  99. data/lib/onelogin/api_error.rb +57 -0
  100. data/lib/onelogin/configuration.rb +282 -0
  101. data/lib/onelogin/models/action.rb +262 -0
  102. data/lib/onelogin/models/activate_factor_request.rb +250 -0
  103. data/lib/onelogin/models/add_access_token_claim_request.rb +237 -0
  104. data/lib/onelogin/models/add_client_app_request.rb +230 -0
  105. data/lib/onelogin/models/add_role_users200_response_inner.rb +219 -0
  106. data/lib/onelogin/models/add_scope_request.rb +228 -0
  107. data/lib/onelogin/models/auth_method.rb +43 -0
  108. data/lib/onelogin/models/auth_server_configuration.rb +248 -0
  109. data/lib/onelogin/models/client_app.rb +228 -0
  110. data/lib/onelogin/models/condition.rb +240 -0
  111. data/lib/onelogin/models/connector.rb +259 -0
  112. data/lib/onelogin/models/create_authorization_server_request.rb +237 -0
  113. data/lib/onelogin/models/create_environment_variable_request.rb +240 -0
  114. data/lib/onelogin/models/create_roles201_response_inner.rb +219 -0
  115. data/lib/onelogin/models/device.rb +255 -0
  116. data/lib/onelogin/models/enroll_factor_request.rb +280 -0
  117. data/lib/onelogin/models/envvar.rb +250 -0
  118. data/lib/onelogin/models/error_status.rb +239 -0
  119. data/lib/onelogin/models/error_status_errors_inner.rb +230 -0
  120. data/lib/onelogin/models/factor_inner.rb +323 -0
  121. data/lib/onelogin/models/factor_inner_factor_data.rb +231 -0
  122. data/lib/onelogin/models/generate_mfa_token200_response.rb +250 -0
  123. data/lib/onelogin/models/generate_mfa_token422_response.rb +246 -0
  124. data/lib/onelogin/models/generate_mfa_token422_response_details.rb +221 -0
  125. data/lib/onelogin/models/generate_mfa_token_request.rb +230 -0
  126. data/lib/onelogin/models/generate_saml_assertion_request.rb +280 -0
  127. data/lib/onelogin/models/generate_token200_response.rb +264 -0
  128. data/lib/onelogin/models/generate_token400_response.rb +219 -0
  129. data/lib/onelogin/models/generate_token_request.rb +253 -0
  130. data/lib/onelogin/models/get_authorization_server200_response.rb +246 -0
  131. data/lib/onelogin/models/get_available_factors200_response_inner.rb +240 -0
  132. data/lib/onelogin/models/get_client_apps200_response_inner.rb +248 -0
  133. data/lib/onelogin/models/get_client_apps200_response_inner_scopes_inner.rb +237 -0
  134. data/lib/onelogin/models/get_rate_limit200_response.rb +228 -0
  135. data/lib/onelogin/models/get_rate_limit200_response_data.rb +237 -0
  136. data/lib/onelogin/models/get_risk_score200_response.rb +256 -0
  137. data/lib/onelogin/models/get_risk_score400_response.rb +221 -0
  138. data/lib/onelogin/models/get_risk_score_request.rb +291 -0
  139. data/lib/onelogin/models/get_score_insights200_response.rb +228 -0
  140. data/lib/onelogin/models/get_score_insights200_response_scores.rb +255 -0
  141. data/lib/onelogin/models/get_user_apps200_response_inner.rb +335 -0
  142. data/lib/onelogin/models/hook.rb +462 -0
  143. data/lib/onelogin/models/hook_conditions_inner.rb +237 -0
  144. data/lib/onelogin/models/hook_options.rb +238 -0
  145. data/lib/onelogin/models/hook_status.rb +228 -0
  146. data/lib/onelogin/models/id.rb +219 -0
  147. data/lib/onelogin/models/list_access_token_claims200_response_inner.rb +293 -0
  148. data/lib/onelogin/models/list_actions200_response_inner.rb +230 -0
  149. data/lib/onelogin/models/list_app_users200_response_inner.rb +255 -0
  150. data/lib/onelogin/models/list_authorization_servers200_response_inner.rb +246 -0
  151. data/lib/onelogin/models/list_authorization_servers200_response_inner_configuration.rb +230 -0
  152. data/lib/onelogin/models/list_condition_operators200_response_inner.rb +230 -0
  153. data/lib/onelogin/models/list_condition_values200_response_inner.rb +228 -0
  154. data/lib/onelogin/models/list_conditions200_response_inner.rb +230 -0
  155. data/lib/onelogin/models/list_mapping_condition_operators200_response_inner.rb +230 -0
  156. data/lib/onelogin/models/list_mapping_conditions200_response_inner.rb +230 -0
  157. data/lib/onelogin/models/list_scopes200_response_inner.rb +237 -0
  158. data/lib/onelogin/models/log.rb +248 -0
  159. data/lib/onelogin/models/mapping.rb +342 -0
  160. data/lib/onelogin/models/registration.rb +274 -0
  161. data/lib/onelogin/models/remove_role_users_request.rb +221 -0
  162. data/lib/onelogin/models/revoke_token_request.rb +219 -0
  163. data/lib/onelogin/models/risk_device.rb +221 -0
  164. data/lib/onelogin/models/risk_rule.rb +325 -0
  165. data/lib/onelogin/models/risk_user.rb +248 -0
  166. data/lib/onelogin/models/role.rb +266 -0
  167. data/lib/onelogin/models/rule.rb +317 -0
  168. data/lib/onelogin/models/rule_id.rb +219 -0
  169. data/lib/onelogin/models/schema.rb +441 -0
  170. data/lib/onelogin/models/schema1.rb +265 -0
  171. data/lib/onelogin/models/schema1_added_by.rb +228 -0
  172. data/lib/onelogin/models/schema_provisioning.rb +220 -0
  173. data/lib/onelogin/models/session.rb +221 -0
  174. data/lib/onelogin/models/set_role_apps200_response_inner.rb +220 -0
  175. data/lib/onelogin/models/source.rb +230 -0
  176. data/lib/onelogin/models/status.rb +246 -0
  177. data/lib/onelogin/models/status1.rb +237 -0
  178. data/lib/onelogin/models/status2.rb +219 -0
  179. data/lib/onelogin/models/status2_status.rb +246 -0
  180. data/lib/onelogin/models/track_event_request.rb +316 -0
  181. data/lib/onelogin/models/update_authorization_server400_response.rb +246 -0
  182. data/lib/onelogin/models/update_client_app_request.rb +221 -0
  183. data/lib/onelogin/models/update_environment_variable_request.rb +225 -0
  184. data/lib/onelogin/models/update_role200_response.rb +219 -0
  185. data/lib/onelogin/models/user.rb +615 -0
  186. data/lib/onelogin/models/verify_enrollment_request.rb +219 -0
  187. data/lib/onelogin/models/verify_factor_request.rb +230 -0
  188. data/lib/onelogin/models/verify_factor_saml200_response.rb +230 -0
  189. data/lib/onelogin/models/verify_factor_saml_request.rb +275 -0
  190. data/lib/onelogin/models/verify_factor_voice200_response_inner.rb +271 -0
  191. data/lib/onelogin/version.rb +13 -1
  192. data/lib/onelogin.rb +130 -1
  193. data/onelogin.gemspec +35 -43
  194. data/spec/api/default_api_spec.rb +1259 -0
  195. data/spec/api_client_spec.rb +226 -0
  196. data/spec/configuration_spec.rb +42 -0
  197. data/spec/models/action_spec.rb +58 -0
  198. data/spec/models/activate_factor_request_spec.rb +52 -0
  199. data/spec/models/add_access_token_claim_request_spec.rb +46 -0
  200. data/spec/models/add_client_app_request_spec.rb +40 -0
  201. data/spec/models/add_role_users200_response_inner_spec.rb +34 -0
  202. data/spec/models/add_scope_request_spec.rb +40 -0
  203. data/spec/models/auth_method_spec.rb +28 -0
  204. data/spec/models/auth_server_configuration_spec.rb +52 -0
  205. data/spec/models/client_app_spec.rb +40 -0
  206. data/spec/models/condition_spec.rb +46 -0
  207. data/spec/models/connector_spec.rb +58 -0
  208. data/spec/models/create_authorization_server_request_spec.rb +46 -0
  209. data/spec/models/create_environment_variable_request_spec.rb +40 -0
  210. data/spec/models/create_roles201_response_inner_spec.rb +34 -0
  211. data/spec/models/device_spec.rb +58 -0
  212. data/spec/models/enroll_factor_request_spec.rb +64 -0
  213. data/spec/models/envvar_spec.rb +52 -0
  214. data/spec/models/error_status_errors_inner_spec.rb +40 -0
  215. data/spec/models/error_status_spec.rb +46 -0
  216. data/spec/models/factor_inner_factor_data_spec.rb +40 -0
  217. data/spec/models/factor_inner_spec.rb +80 -0
  218. data/spec/models/generate_mfa_token200_response_spec.rb +52 -0
  219. data/spec/models/generate_mfa_token422_response_details_spec.rb +34 -0
  220. data/spec/models/generate_mfa_token422_response_spec.rb +52 -0
  221. data/spec/models/generate_mfa_token_request_spec.rb +40 -0
  222. data/spec/models/generate_saml_assertion_request_spec.rb +58 -0
  223. data/spec/models/generate_token200_response_spec.rb +64 -0
  224. data/spec/models/generate_token400_response_spec.rb +34 -0
  225. data/spec/models/generate_token_request_spec.rb +38 -0
  226. data/spec/models/get_authorization_server200_response_spec.rb +52 -0
  227. data/spec/models/get_available_factors200_response_inner_spec.rb +46 -0
  228. data/spec/models/get_client_apps200_response_inner_scopes_inner_spec.rb +46 -0
  229. data/spec/models/get_client_apps200_response_inner_spec.rb +52 -0
  230. data/spec/models/get_rate_limit200_response_data_spec.rb +46 -0
  231. data/spec/models/get_rate_limit200_response_spec.rb +40 -0
  232. data/spec/models/get_risk_score200_response_spec.rb +40 -0
  233. data/spec/models/get_risk_score400_response_spec.rb +34 -0
  234. data/spec/models/get_risk_score_request_spec.rb +70 -0
  235. data/spec/models/get_score_insights200_response_scores_spec.rb +58 -0
  236. data/spec/models/get_score_insights200_response_spec.rb +40 -0
  237. data/spec/models/get_user_apps200_response_inner_spec.rb +84 -0
  238. data/spec/models/hook_conditions_inner_spec.rb +46 -0
  239. data/spec/models/hook_options_spec.rb +46 -0
  240. data/spec/models/hook_spec.rb +122 -0
  241. data/spec/models/hook_status_spec.rb +40 -0
  242. data/spec/models/id_spec.rb +34 -0
  243. data/spec/models/list_access_token_claims200_response_inner_spec.rb +82 -0
  244. data/spec/models/list_actions200_response_inner_spec.rb +40 -0
  245. data/spec/models/list_app_users200_response_inner_spec.rb +58 -0
  246. data/spec/models/list_authorization_servers200_response_inner_configuration_spec.rb +40 -0
  247. data/spec/models/list_authorization_servers200_response_inner_spec.rb +52 -0
  248. data/spec/models/list_condition_operators200_response_inner_spec.rb +40 -0
  249. data/spec/models/list_condition_values200_response_inner_spec.rb +40 -0
  250. data/spec/models/list_conditions200_response_inner_spec.rb +40 -0
  251. data/spec/models/list_mapping_condition_operators200_response_inner_spec.rb +40 -0
  252. data/spec/models/list_mapping_conditions200_response_inner_spec.rb +40 -0
  253. data/spec/models/list_scopes200_response_inner_spec.rb +46 -0
  254. data/spec/models/log_spec.rb +52 -0
  255. data/spec/models/mapping_spec.rb +74 -0
  256. data/spec/models/registration_spec.rb +50 -0
  257. data/spec/models/remove_role_users_request_spec.rb +34 -0
  258. data/spec/models/revoke_token_request_spec.rb +34 -0
  259. data/spec/models/risk_device_spec.rb +34 -0
  260. data/spec/models/risk_rule_spec.rb +78 -0
  261. data/spec/models/risk_user_spec.rb +46 -0
  262. data/spec/models/role_spec.rb +58 -0
  263. data/spec/models/rule_id_spec.rb +34 -0
  264. data/spec/models/rule_spec.rb +74 -0
  265. data/spec/models/schema1_added_by_spec.rb +40 -0
  266. data/spec/models/schema1_spec.rb +64 -0
  267. data/spec/models/schema_provisioning_spec.rb +34 -0
  268. data/spec/models/schema_spec.rb +152 -0
  269. data/spec/models/session_spec.rb +34 -0
  270. data/spec/models/set_role_apps200_response_inner_spec.rb +34 -0
  271. data/spec/models/source_spec.rb +40 -0
  272. data/spec/models/status1_spec.rb +46 -0
  273. data/spec/models/status2_spec.rb +34 -0
  274. data/spec/models/status2_status_spec.rb +52 -0
  275. data/spec/models/status_spec.rb +52 -0
  276. data/spec/models/track_event_request_spec.rb +82 -0
  277. data/spec/models/update_authorization_server400_response_spec.rb +52 -0
  278. data/spec/models/update_client_app_request_spec.rb +34 -0
  279. data/spec/models/update_environment_variable_request_spec.rb +34 -0
  280. data/spec/models/update_role200_response_spec.rb +34 -0
  281. data/spec/models/user_spec.rb +258 -0
  282. data/spec/models/verify_enrollment_request_spec.rb +34 -0
  283. data/spec/models/verify_factor_request_spec.rb +40 -0
  284. data/spec/models/verify_factor_saml200_response_spec.rb +40 -0
  285. data/spec/models/verify_factor_saml_request_spec.rb +58 -0
  286. data/spec/models/verify_factor_voice200_response_inner_spec.rb +50 -0
  287. data/spec/spec_helper.rb +111 -0
  288. metadata +404 -127
  289. data/.github/workflows/git-secrets-public.yml +0 -55
  290. data/.github/workflows/test.yml +0 -25
  291. data/.gitignore +0 -13
  292. data/bin/console +0 -14
  293. data/bin/setup +0 -6
  294. data/examples/Gemfile +0 -3
  295. data/examples/Gemfile.lock +0 -29
  296. data/examples/README.md +0 -19
  297. data/examples/all-users-to-csv.rb +0 -48
  298. data/examples/another-get-all-login-events-of-last-day-to-csv.rb +0 -141
  299. data/examples/create-user.rb +0 -16
  300. data/examples/events-to-csv.rb +0 -94
  301. data/examples/get-all-login-events-of-last-day-to-csv.rb +0 -88
  302. data/examples/last-app-user-login-to-csv.rb +0 -72
  303. data/examples/list-users.rb +0 -15
  304. data/lib/onelogin/api/apiexception.rb +0 -13
  305. data/lib/onelogin/api/client.rb +0 -3019
  306. data/lib/onelogin/api/cursor.rb +0 -117
  307. data/lib/onelogin/api/models/app.rb +0 -22
  308. data/lib/onelogin/api/models/auth_factor.rb +0 -16
  309. data/lib/onelogin/api/models/connector_basic.rb +0 -20
  310. data/lib/onelogin/api/models/device.rb +0 -18
  311. data/lib/onelogin/api/models/embed_app.rb +0 -31
  312. data/lib/onelogin/api/models/event.rb +0 -54
  313. data/lib/onelogin/api/models/event_type.rb +0 -17
  314. data/lib/onelogin/api/models/factor_enrollment_response.rb +0 -22
  315. data/lib/onelogin/api/models/group.rb +0 -17
  316. data/lib/onelogin/api/models/mfa.rb +0 -26
  317. data/lib/onelogin/api/models/mfa_token.rb +0 -18
  318. data/lib/onelogin/api/models/onelogin_app.rb +0 -62
  319. data/lib/onelogin/api/models/onelogin_app_basic.rb +0 -51
  320. data/lib/onelogin/api/models/onelogin_app_v1.rb +0 -22
  321. data/lib/onelogin/api/models/onelogin_token.rb +0 -20
  322. data/lib/onelogin/api/models/otp_device.rb +0 -25
  323. data/lib/onelogin/api/models/privilege.rb +0 -51
  324. data/lib/onelogin/api/models/rate_limit.rb +0 -17
  325. data/lib/onelogin/api/models/role.rb +0 -16
  326. data/lib/onelogin/api/models/saml_endpoint_response.rb +0 -18
  327. data/lib/onelogin/api/models/session_token_info.rb +0 -21
  328. data/lib/onelogin/api/models/session_token_mfa_info.rb +0 -26
  329. data/lib/onelogin/api/models/statement.rb +0 -36
  330. data/lib/onelogin/api/models/user.rb +0 -135
  331. data/lib/onelogin/api/models/user_data.rb +0 -13
  332. data/lib/onelogin/api/models/user_metadata.rb +0 -13
  333. data/lib/onelogin/api/models.rb +0 -26
  334. data/lib/onelogin/api/util/constants.rb +0 -177
  335. data/lib/onelogin/api/util/parser.rb +0 -56
  336. data/lib/onelogin/api/util/url_builder.rb +0 -24
  337. data/lib/onelogin/api/util.rb +0 -13
  338. data/lib/onelogin/api.rb +0 -2
data/docs/Hook.md ADDED
@@ -0,0 +1,46 @@
1
+ # OneLogin::Hook
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The Hook unique ID in OneLogin. | [optional] |
8
+ | **type** | **String** | A string describing the type of hook. e.g. `pre-authentication` | |
9
+ | **disabled** | **Boolean** | Boolean to enable or disable the hook. Disabled hooks will not run. | [default to true] |
10
+ | **timeout** | **Integer** | The number of seconds to allow the hook function to run before before timing out. Maximum timeout varies based on the type of hook. | [default to 1] |
11
+ | **env_vars** | **Array<String>** | Environment Variable objects that will be available via process.env.ENV_VAR_NAME in the hook code. | |
12
+ | **runtime** | **String** | The Smart Hooks supported Node.js version to execute this hook with. | |
13
+ | **retries** | **Integer** | Number of retries if execution fails. | [default to 0] |
14
+ | **packages** | **Object** | An object containing NPM packages that are bundled with the hook function. | |
15
+ | **function** | **String** | A base64 encoded string containing the javascript function code. | |
16
+ | **context_version** | **String** | The semantic version of the content that will be injected into this hook. | [optional] |
17
+ | **status** | **String** | String describing the state of the hook function. When a hook is ready and disabled is false it will be executed. | [optional] |
18
+ | **options** | [**HookOptions**](HookOptions.md) | | [optional] |
19
+ | **conditions** | [**Array<HookConditionsInner>**](HookConditionsInner.md) | An array of objects that let you limit the execution of a hook to users in specific roles. | [optional] |
20
+ | **created_at** | **String** | ISO8601 format date that they hook function was created. | [optional] |
21
+ | **updated_at** | **String** | ISO8601 format date that they hook function was last updated. | [optional] |
22
+
23
+ ## Example
24
+
25
+ ```ruby
26
+ require 'onelogin'
27
+
28
+ instance = OneLogin::Hook.new(
29
+ id: null,
30
+ type: null,
31
+ disabled: null,
32
+ timeout: null,
33
+ env_vars: null,
34
+ runtime: null,
35
+ retries: null,
36
+ packages: null,
37
+ function: null,
38
+ context_version: null,
39
+ status: null,
40
+ options: null,
41
+ conditions: null,
42
+ created_at: null,
43
+ updated_at: null
44
+ )
45
+ ```
46
+
@@ -0,0 +1,22 @@
1
+ # OneLogin::HookConditionsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **source** | **String** | | [optional] |
8
+ | **operator** | **String** | | [optional] |
9
+ | **value** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'onelogin'
15
+
16
+ instance = OneLogin::HookConditionsInner.new(
17
+ source: null,
18
+ operator: null,
19
+ value: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # OneLogin::HookOptions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **risk_enabled** | **Boolean** | | [optional] |
8
+ | **location_enabled** | **Boolean** | | [optional] |
9
+ | **mfa_device_info_enabled** | **Boolean** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'onelogin'
15
+
16
+ instance = OneLogin::HookOptions.new(
17
+ risk_enabled: null,
18
+ location_enabled: null,
19
+ mfa_device_info_enabled: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # OneLogin::HookStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+ | **message** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'onelogin'
14
+
15
+ instance = OneLogin::HookStatus.new(
16
+ name: null,
17
+ message: null
18
+ )
19
+ ```
20
+
data/docs/Id.md ADDED
@@ -0,0 +1,18 @@
1
+ # OneLogin::Id
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'onelogin'
13
+
14
+ instance = OneLogin::Id.new(
15
+ id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,34 @@
1
+ # OneLogin::ListAccessTokenClaims200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | | [optional] |
8
+ | **label** | **String** | | [optional] |
9
+ | **user_attribute_mappings** | **String** | | [optional] |
10
+ | **user_attribute_macros** | **String** | | [optional] |
11
+ | **attributes_transformations** | **String** | | [optional] |
12
+ | **skip_if_blank** | **Boolean** | | [optional] |
13
+ | **values** | **Array<String>** | | [optional] |
14
+ | **default_values** | **String** | | [optional] |
15
+ | **provisioned_entitlements** | **Boolean** | | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'onelogin'
21
+
22
+ instance = OneLogin::ListAccessTokenClaims200ResponseInner.new(
23
+ id: null,
24
+ label: null,
25
+ user_attribute_mappings: null,
26
+ user_attribute_macros: null,
27
+ attributes_transformations: null,
28
+ skip_if_blank: null,
29
+ values: null,
30
+ default_values: null,
31
+ provisioned_entitlements: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,20 @@
1
+ # OneLogin::ListActions200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name of the Action. | [optional] |
8
+ | **value** | **String** | The unique identifier of the action. This should be used when defining actions for a User Mapping. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'onelogin'
14
+
15
+ instance = OneLogin::ListActions200ResponseInner.new(
16
+ name: null,
17
+ value: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,26 @@
1
+ # OneLogin::ListAppUsers200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **firstname** | **String** | | [optional] |
8
+ | **id** | **Integer** | | [optional] |
9
+ | **email** | **String** | | [optional] |
10
+ | **lastname** | **String** | | [optional] |
11
+ | **username** | **String** | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'onelogin'
17
+
18
+ instance = OneLogin::ListAppUsers200ResponseInner.new(
19
+ firstname: null,
20
+ id: null,
21
+ email: null,
22
+ lastname: null,
23
+ username: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,24 @@
1
+ # OneLogin::ListAuthorizationServers200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+ | **configuration** | [**ListAuthorizationServers200ResponseInnerConfiguration**](ListAuthorizationServers200ResponseInnerConfiguration.md) | | [optional] |
10
+ | **description** | **String** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'onelogin'
16
+
17
+ instance = OneLogin::ListAuthorizationServers200ResponseInner.new(
18
+ id: null,
19
+ name: null,
20
+ configuration: null,
21
+ description: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,20 @@
1
+ # OneLogin::ListAuthorizationServers200ResponseInnerConfiguration
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **resource_identifier** | **String** | | [optional] |
8
+ | **audiences** | **Array<String>** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'onelogin'
14
+
15
+ instance = OneLogin::ListAuthorizationServers200ResponseInnerConfiguration.new(
16
+ resource_identifier: null,
17
+ audiences: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # OneLogin::ListConditionOperators200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name or description of the operator. | [optional] |
8
+ | **value** | **String** | The condition operator value to use when creating or updating App Rules. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'onelogin'
14
+
15
+ instance = OneLogin::ListConditionOperators200ResponseInner.new(
16
+ name: null,
17
+ value: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # OneLogin::ListConditionValues200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | | [optional] |
8
+ | **value** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'onelogin'
14
+
15
+ instance = OneLogin::ListConditionValues200ResponseInner.new(
16
+ name: null,
17
+ value: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # OneLogin::ListConditions200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name of the Condition. | [optional] |
8
+ | **value** | **String** | The unique identifier of the condition. This should be used when defining conditions for a rule. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'onelogin'
14
+
15
+ instance = OneLogin::ListConditions200ResponseInner.new(
16
+ name: null,
17
+ value: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # OneLogin::ListMappingConditionOperators200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name or description of the operator. | [optional] |
8
+ | **value** | **String** | The condition operator value to use when creating or updating User Mappings. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'onelogin'
14
+
15
+ instance = OneLogin::ListMappingConditionOperators200ResponseInner.new(
16
+ name: null,
17
+ value: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # OneLogin::ListMappingConditions200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The name of the Condition. | [optional] |
8
+ | **value** | **String** | The unique identifier of the condition. This should be used when defining conditions for a User Mapping. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'onelogin'
14
+
15
+ instance = OneLogin::ListMappingConditions200ResponseInner.new(
16
+ name: null,
17
+ value: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # OneLogin::ListScopes200ResponseInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | | [optional] |
8
+ | **value** | **String** | | [optional] |
9
+ | **description** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'onelogin'
15
+
16
+ instance = OneLogin::ListScopes200ResponseInner.new(
17
+ id: null,
18
+ value: null,
19
+ description: null
20
+ )
21
+ ```
22
+
data/docs/Log.md ADDED
@@ -0,0 +1,24 @@
1
+ # OneLogin::Log
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **request_id** | **String** | | [optional] |
8
+ | **correlation_id** | **String** | | [optional] |
9
+ | **created_at** | **String** | | [optional] |
10
+ | **events** | **Array<String>** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'onelogin'
16
+
17
+ instance = OneLogin::Log.new(
18
+ request_id: null,
19
+ correlation_id: null,
20
+ created_at: null,
21
+ events: null
22
+ )
23
+ ```
24
+
data/docs/Mapping.md ADDED
@@ -0,0 +1,30 @@
1
+ # OneLogin::Mapping
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | | [optional] |
8
+ | **name** | **String** | The name of the mapping. | |
9
+ | **enabled** | **Boolean** | Indicates if the mapping is enabled or not. | |
10
+ | **match** | **String** | Indicates how conditions should be matched. | |
11
+ | **position** | **Integer** | Indicates the order of the mapping. When `null` this will default to last position. | |
12
+ | **conditions** | [**Array<Condition>**](Condition.md) | An array of conditions that the user must meet in order for the mapping to be applied. | [optional] |
13
+ | **actions** | [**Array<Action>**](Action.md) | An array of actions that will be applied to the users that are matched by the conditions. | |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'onelogin'
19
+
20
+ instance = OneLogin::Mapping.new(
21
+ id: null,
22
+ name: null,
23
+ enabled: null,
24
+ match: null,
25
+ position: null,
26
+ conditions: null,
27
+ actions: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,22 @@
1
+ # OneLogin::Registration
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Registration identifier. | [optional] |
8
+ | **status** | **String** | pending registration has not been completed successfully. accepted registration has successfully completed. | [optional] |
9
+ | **device_id** | **String** | Device id to be used with Verify the Factor. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'onelogin'
15
+
16
+ instance = OneLogin::Registration.new(
17
+ id: null,
18
+ status: null,
19
+ device_id: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # OneLogin::RemoveRoleUsersRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **user_id** | **Array<Integer>** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'onelogin'
13
+
14
+ instance = OneLogin::RemoveRoleUsersRequest.new(
15
+ user_id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # OneLogin::RevokeTokenRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **access_token** | **String** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'onelogin'
13
+
14
+ instance = OneLogin::RevokeTokenRequest.new(
15
+ access_token: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # OneLogin::RiskDevice
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | This device's unique identifier | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'onelogin'
13
+
14
+ instance = OneLogin::RiskDevice.new(
15
+ id: null
16
+ )
17
+ ```
18
+
data/docs/RiskRule.md ADDED
@@ -0,0 +1,30 @@
1
+ # OneLogin::RiskRule
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | The name of this rule | [optional] |
9
+ | **description** | **String** | | [optional] |
10
+ | **type** | **String** | The type parameter specifies the type of rule that will be created. | [optional] |
11
+ | **target** | **String** | The target parameter that will be used when evaluating the rule against an incoming event. | [optional] |
12
+ | **filters** | **Array<String>** | A list of IP addresses or country codes or names to evaluate against each event. | [optional] |
13
+ | **source** | [**Source**](Source.md) | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'onelogin'
19
+
20
+ instance = OneLogin::RiskRule.new(
21
+ id: null,
22
+ name: null,
23
+ description: null,
24
+ type: null,
25
+ target: null,
26
+ filters: null,
27
+ source: null
28
+ )
29
+ ```
30
+
data/docs/RiskUser.md ADDED
@@ -0,0 +1,22 @@
1
+ # OneLogin::RiskUser
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | A unique identifier for the user. | |
8
+ | **name** | **String** | A name for the user. | [optional] |
9
+ | **authenticated** | **Boolean** | Indicates if the metadata supplied in this event should be considered as trusted for the user. | [optional][default to false] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'onelogin'
15
+
16
+ instance = OneLogin::RiskUser.new(
17
+ id: null,
18
+ name: null,
19
+ authenticated: null
20
+ )
21
+ ```
22
+
data/docs/Role.md ADDED
@@ -0,0 +1,26 @@
1
+ # OneLogin::Role
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | | [optional] |
8
+ | **name** | **String** | | |
9
+ | **apps** | **Array<Integer>** | | [optional] |
10
+ | **users** | **Array<Integer>** | | [optional] |
11
+ | **admins** | **Array<Integer>** | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'onelogin'
17
+
18
+ instance = OneLogin::Role.new(
19
+ id: null,
20
+ name: null,
21
+ apps: null,
22
+ users: null,
23
+ admins: null
24
+ )
25
+ ```
26
+
data/docs/Rule.md ADDED
@@ -0,0 +1,30 @@
1
+ # OneLogin::Rule
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | | [optional] |
8
+ | **name** | **String** | The name of the rule. | [optional] |
9
+ | **match** | **String** | Indicates how conditions should be matched. | [optional] |
10
+ | **enabled** | **Boolean** | Indicates if the rule is enabled or not. | [optional] |
11
+ | **position** | **Integer** | Indicates the order of the rule. When `null` this will default to last position. | [optional] |
12
+ | **conditions** | [**Array<Condition>**](Condition.md) | An array of conditions that the user must meet in order for the rule to be applied. | [optional] |
13
+ | **actions** | [**Array<Action>**](Action.md) | An array of actions that will be applied to the users that are matched by the conditions. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'onelogin'
19
+
20
+ instance = OneLogin::Rule.new(
21
+ id: null,
22
+ name: null,
23
+ match: null,
24
+ enabled: null,
25
+ position: null,
26
+ conditions: null,
27
+ actions: null
28
+ )
29
+ ```
30
+
data/docs/RuleId.md ADDED
@@ -0,0 +1,18 @@
1
+ # OneLogin::RuleId
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'onelogin'
13
+
14
+ instance = OneLogin::RuleId.new(
15
+ id: null
16
+ )
17
+ ```
18
+