onelogin 1.4.1 → 3.0.0.pre.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (436) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +7 -4
  3. data/README.md +245 -423
  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 +36 -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 +402 -210
  289. data/.gitignore +0 -12
  290. data/.travis.yml +0 -6
  291. data/bin/console +0 -14
  292. data/bin/setup +0 -6
  293. data/examples/Gemfile +0 -3
  294. data/examples/Gemfile.lock +0 -21
  295. data/examples/README.md +0 -19
  296. data/examples/all-users-to-csv.rb +0 -48
  297. data/examples/create-user.rb +0 -16
  298. data/examples/events-to-csv.rb +0 -93
  299. data/examples/last-app-user-login-to-csv.rb +0 -72
  300. data/examples/list-users.rb +0 -15
  301. data/examples/rails-custom-login-page/.gitignore +0 -45
  302. data/examples/rails-custom-login-page/.ruby-version +0 -1
  303. data/examples/rails-custom-login-page/Gemfile +0 -57
  304. data/examples/rails-custom-login-page/Gemfile.lock +0 -208
  305. data/examples/rails-custom-login-page/README.md +0 -105
  306. data/examples/rails-custom-login-page/Rakefile +0 -6
  307. data/examples/rails-custom-login-page/app/assets/config/manifest.js +0 -3
  308. data/examples/rails-custom-login-page/app/assets/images/.keep +0 -0
  309. data/examples/rails-custom-login-page/app/assets/javascripts/application.js +0 -18
  310. data/examples/rails-custom-login-page/app/assets/javascripts/cable.js +0 -13
  311. data/examples/rails-custom-login-page/app/assets/javascripts/channels/.keep +0 -0
  312. data/examples/rails-custom-login-page/app/assets/javascripts/dashboard.coffee +0 -3
  313. data/examples/rails-custom-login-page/app/assets/javascripts/home.coffee +0 -3
  314. data/examples/rails-custom-login-page/app/assets/javascripts/sessions.coffee +0 -3
  315. data/examples/rails-custom-login-page/app/assets/stylesheets/application.css +0 -15
  316. data/examples/rails-custom-login-page/app/assets/stylesheets/dashboard.scss +0 -3
  317. data/examples/rails-custom-login-page/app/assets/stylesheets/home.scss +0 -3
  318. data/examples/rails-custom-login-page/app/assets/stylesheets/sessions.scss +0 -3
  319. data/examples/rails-custom-login-page/app/channels/application_cable/channel.rb +0 -4
  320. data/examples/rails-custom-login-page/app/channels/application_cable/connection.rb +0 -4
  321. data/examples/rails-custom-login-page/app/controllers/application_controller.rb +0 -23
  322. data/examples/rails-custom-login-page/app/controllers/concerns/.keep +0 -0
  323. data/examples/rails-custom-login-page/app/controllers/dashboard_controller.rb +0 -10
  324. data/examples/rails-custom-login-page/app/controllers/home_controller.rb +0 -4
  325. data/examples/rails-custom-login-page/app/controllers/sessions_controller.rb +0 -46
  326. data/examples/rails-custom-login-page/app/controllers/users_controller.rb +0 -116
  327. data/examples/rails-custom-login-page/app/helpers/application_helper.rb +0 -2
  328. data/examples/rails-custom-login-page/app/helpers/dashboard_helper.rb +0 -28
  329. data/examples/rails-custom-login-page/app/helpers/home_helper.rb +0 -2
  330. data/examples/rails-custom-login-page/app/helpers/sessions_helper.rb +0 -87
  331. data/examples/rails-custom-login-page/app/helpers/users_helper.rb +0 -3
  332. data/examples/rails-custom-login-page/app/jobs/application_job.rb +0 -2
  333. data/examples/rails-custom-login-page/app/mailers/application_mailer.rb +0 -4
  334. data/examples/rails-custom-login-page/app/models/application_record.rb +0 -3
  335. data/examples/rails-custom-login-page/app/models/concerns/.keep +0 -0
  336. data/examples/rails-custom-login-page/app/views/dashboard/index.html.erb +0 -50
  337. data/examples/rails-custom-login-page/app/views/home/index.html.erb +0 -209
  338. data/examples/rails-custom-login-page/app/views/layouts/application.html.erb +0 -31
  339. data/examples/rails-custom-login-page/app/views/layouts/mailer.html.erb +0 -13
  340. data/examples/rails-custom-login-page/app/views/layouts/mailer.text.erb +0 -1
  341. data/examples/rails-custom-login-page/app/views/users/_form.html.erb +0 -1
  342. data/examples/rails-custom-login-page/app/views/users/_user.json.jbuilder +0 -2
  343. data/examples/rails-custom-login-page/app/views/users/edit.html.erb +0 -27
  344. data/examples/rails-custom-login-page/app/views/users/index.html.erb +0 -30
  345. data/examples/rails-custom-login-page/app/views/users/index.json.jbuilder +0 -1
  346. data/examples/rails-custom-login-page/app/views/users/new.html.erb +0 -60
  347. data/examples/rails-custom-login-page/app/views/users/onboard.html.erb +0 -54
  348. data/examples/rails-custom-login-page/app/views/users/show.html.erb +0 -14
  349. data/examples/rails-custom-login-page/app/views/users/show.json.jbuilder +0 -1
  350. data/examples/rails-custom-login-page/bin/bundle +0 -3
  351. data/examples/rails-custom-login-page/bin/rails +0 -9
  352. data/examples/rails-custom-login-page/bin/rake +0 -9
  353. data/examples/rails-custom-login-page/bin/setup +0 -38
  354. data/examples/rails-custom-login-page/bin/spring +0 -17
  355. data/examples/rails-custom-login-page/bin/update +0 -29
  356. data/examples/rails-custom-login-page/bin/yarn +0 -11
  357. data/examples/rails-custom-login-page/config/application.rb +0 -18
  358. data/examples/rails-custom-login-page/config/boot.rb +0 -3
  359. data/examples/rails-custom-login-page/config/cable.yml +0 -10
  360. data/examples/rails-custom-login-page/config/database.yml +0 -25
  361. data/examples/rails-custom-login-page/config/environment.rb +0 -5
  362. data/examples/rails-custom-login-page/config/environments/development.rb +0 -54
  363. data/examples/rails-custom-login-page/config/environments/production.rb +0 -91
  364. data/examples/rails-custom-login-page/config/environments/test.rb +0 -42
  365. data/examples/rails-custom-login-page/config/initializers/application_controller_renderer.rb +0 -8
  366. data/examples/rails-custom-login-page/config/initializers/assets.rb +0 -14
  367. data/examples/rails-custom-login-page/config/initializers/backtrace_silencers.rb +0 -7
  368. data/examples/rails-custom-login-page/config/initializers/cookies_serializer.rb +0 -5
  369. data/examples/rails-custom-login-page/config/initializers/filter_parameter_logging.rb +0 -4
  370. data/examples/rails-custom-login-page/config/initializers/inflections.rb +0 -16
  371. data/examples/rails-custom-login-page/config/initializers/mime_types.rb +0 -4
  372. data/examples/rails-custom-login-page/config/initializers/onelogin.rb +0 -4
  373. data/examples/rails-custom-login-page/config/initializers/wrap_parameters.rb +0 -14
  374. data/examples/rails-custom-login-page/config/locales/en.yml +0 -33
  375. data/examples/rails-custom-login-page/config/puma.rb +0 -56
  376. data/examples/rails-custom-login-page/config/routes.rb +0 -23
  377. data/examples/rails-custom-login-page/config/secrets.yml.sample +0 -36
  378. data/examples/rails-custom-login-page/config/spring.rb +0 -6
  379. data/examples/rails-custom-login-page/config.ru +0 -5
  380. data/examples/rails-custom-login-page/db/seeds.rb +0 -7
  381. data/examples/rails-custom-login-page/lib/assets/.keep +0 -0
  382. data/examples/rails-custom-login-page/lib/tasks/.keep +0 -0
  383. data/examples/rails-custom-login-page/package.json +0 -5
  384. data/examples/rails-custom-login-page/public/404.html +0 -67
  385. data/examples/rails-custom-login-page/public/422.html +0 -67
  386. data/examples/rails-custom-login-page/public/500.html +0 -66
  387. data/examples/rails-custom-login-page/public/apple-touch-icon-precomposed.png +0 -0
  388. data/examples/rails-custom-login-page/public/apple-touch-icon.png +0 -0
  389. data/examples/rails-custom-login-page/public/favicon.ico +0 -0
  390. data/examples/rails-custom-login-page/public/robots.txt +0 -1
  391. data/examples/rails-custom-login-page/test/application_system_test_case.rb +0 -5
  392. data/examples/rails-custom-login-page/test/controllers/.keep +0 -0
  393. data/examples/rails-custom-login-page/test/controllers/dashboard_controller_test.rb +0 -9
  394. data/examples/rails-custom-login-page/test/controllers/home_controller_test.rb +0 -9
  395. data/examples/rails-custom-login-page/test/controllers/sessions_controller_test.rb +0 -7
  396. data/examples/rails-custom-login-page/test/controllers/users_controller_test.rb +0 -48
  397. data/examples/rails-custom-login-page/test/fixtures/.keep +0 -0
  398. data/examples/rails-custom-login-page/test/fixtures/files/.keep +0 -0
  399. data/examples/rails-custom-login-page/test/helpers/.keep +0 -0
  400. data/examples/rails-custom-login-page/test/integration/.keep +0 -0
  401. data/examples/rails-custom-login-page/test/mailers/.keep +0 -0
  402. data/examples/rails-custom-login-page/test/models/.keep +0 -0
  403. data/examples/rails-custom-login-page/test/system/.keep +0 -0
  404. data/examples/rails-custom-login-page/test/test_helper.rb +0 -9
  405. data/examples/rails-custom-login-page/vendor/.keep +0 -0
  406. data/lib/onelogin/api/apiexception.rb +0 -10
  407. data/lib/onelogin/api/client.rb +0 -2328
  408. data/lib/onelogin/api/cursor.rb +0 -113
  409. data/lib/onelogin/api/models/app.rb +0 -22
  410. data/lib/onelogin/api/models/auth_factor.rb +0 -16
  411. data/lib/onelogin/api/models/device.rb +0 -18
  412. data/lib/onelogin/api/models/embed_app.rb +0 -31
  413. data/lib/onelogin/api/models/event.rb +0 -54
  414. data/lib/onelogin/api/models/event_type.rb +0 -17
  415. data/lib/onelogin/api/models/factor_enrollment_response.rb +0 -22
  416. data/lib/onelogin/api/models/group.rb +0 -17
  417. data/lib/onelogin/api/models/mfa.rb +0 -26
  418. data/lib/onelogin/api/models/mfa_token.rb +0 -18
  419. data/lib/onelogin/api/models/onelogin_token.rb +0 -20
  420. data/lib/onelogin/api/models/otp_device.rb +0 -25
  421. data/lib/onelogin/api/models/privilege.rb +0 -51
  422. data/lib/onelogin/api/models/rate_limit.rb +0 -17
  423. data/lib/onelogin/api/models/role.rb +0 -16
  424. data/lib/onelogin/api/models/saml_endpoint_response.rb +0 -18
  425. data/lib/onelogin/api/models/session_token_info.rb +0 -21
  426. data/lib/onelogin/api/models/session_token_mfa_info.rb +0 -26
  427. data/lib/onelogin/api/models/statement.rb +0 -36
  428. data/lib/onelogin/api/models/user.rb +0 -135
  429. data/lib/onelogin/api/models/user_data.rb +0 -13
  430. data/lib/onelogin/api/models/user_metadata.rb +0 -13
  431. data/lib/onelogin/api/models.rb +0 -22
  432. data/lib/onelogin/api/util/constants.rb +0 -160
  433. data/lib/onelogin/api/util/parser.rb +0 -56
  434. data/lib/onelogin/api/util/url_builder.rb +0 -24
  435. data/lib/onelogin/api/util.rb +0 -13
  436. data/lib/onelogin/api.rb +0 -2
metadata CHANGED
@@ -1,256 +1,355 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onelogin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 3.0.0.pre.alpha.1
5
5
  platform: ruby
6
6
  authors:
7
- - OneLogin
7
+ - Onelogin DevEx
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-01 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: httparty
14
+ name: typhoeus
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 0.13.7
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
17
+ - - "~>"
25
18
  - !ruby/object:Gem::Version
26
- version: 0.13.7
27
- - !ruby/object:Gem::Dependency
28
- name: nokogiri
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
19
+ version: '1.0'
31
20
  - - ">="
32
21
  - !ruby/object:Gem::Version
33
- version: 1.6.3.1
22
+ version: 1.0.1
34
23
  type: :runtime
35
24
  prerelease: false
36
25
  version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: 1.6.3.1
41
- - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1.15'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1.15'
55
- - !ruby/object:Gem::Dependency
56
- name: rake
57
- requirement: !ruby/object:Gem::Requirement
58
26
  requirements:
59
27
  - - "~>"
60
28
  - !ruby/object:Gem::Version
61
- version: '10.0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
29
+ version: '1.0'
30
+ - - ">="
67
31
  - !ruby/object:Gem::Version
68
- version: '10.0'
32
+ version: 1.0.1
69
33
  - !ruby/object:Gem::Dependency
70
34
  name: rspec
71
35
  requirement: !ruby/object:Gem::Requirement
72
36
  requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: 3.6.0
73
40
  - - "~>"
74
41
  - !ruby/object:Gem::Version
75
- version: '3.0'
42
+ version: '3.6'
76
43
  type: :development
77
44
  prerelease: false
78
45
  version_requirements: !ruby/object:Gem::Requirement
79
46
  requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 3.6.0
80
50
  - - "~>"
81
51
  - !ruby/object:Gem::Version
82
- version: '3.0'
83
- description: OneLogin's Ruby SDK. Use this API client to interact with OneLogin's
52
+ version: '3.6'
53
+ description: OneLogin's Ruby SDK. Use this API client to interact with OneLogin's
84
54
  platform
85
55
  email:
86
56
  - support@onelogin.com
87
57
  executables: []
88
58
  extensions: []
89
- extra_rdoc_files:
90
- - LICENSE
91
- - README.md
59
+ extra_rdoc_files: []
92
60
  files:
93
- - ".gitignore"
94
- - ".travis.yml"
95
61
  - CODE_OF_CONDUCT.md
96
62
  - Gemfile
97
63
  - LICENSE
98
64
  - README.md
99
65
  - Rakefile
100
- - bin/console
101
- - bin/setup
102
- - examples/Gemfile
103
- - examples/Gemfile.lock
104
- - examples/README.md
105
- - examples/all-users-to-csv.rb
106
- - examples/create-user.rb
107
- - examples/events-to-csv.rb
108
- - examples/last-app-user-login-to-csv.rb
109
- - examples/list-users.rb
110
- - examples/rails-custom-login-page/.gitignore
111
- - examples/rails-custom-login-page/.ruby-version
112
- - examples/rails-custom-login-page/Gemfile
113
- - examples/rails-custom-login-page/Gemfile.lock
114
- - examples/rails-custom-login-page/README.md
115
- - examples/rails-custom-login-page/Rakefile
116
- - examples/rails-custom-login-page/app/assets/config/manifest.js
117
- - examples/rails-custom-login-page/app/assets/images/.keep
118
- - examples/rails-custom-login-page/app/assets/javascripts/application.js
119
- - examples/rails-custom-login-page/app/assets/javascripts/cable.js
120
- - examples/rails-custom-login-page/app/assets/javascripts/channels/.keep
121
- - examples/rails-custom-login-page/app/assets/javascripts/dashboard.coffee
122
- - examples/rails-custom-login-page/app/assets/javascripts/home.coffee
123
- - examples/rails-custom-login-page/app/assets/javascripts/sessions.coffee
124
- - examples/rails-custom-login-page/app/assets/stylesheets/application.css
125
- - examples/rails-custom-login-page/app/assets/stylesheets/dashboard.scss
126
- - examples/rails-custom-login-page/app/assets/stylesheets/home.scss
127
- - examples/rails-custom-login-page/app/assets/stylesheets/sessions.scss
128
- - examples/rails-custom-login-page/app/channels/application_cable/channel.rb
129
- - examples/rails-custom-login-page/app/channels/application_cable/connection.rb
130
- - examples/rails-custom-login-page/app/controllers/application_controller.rb
131
- - examples/rails-custom-login-page/app/controllers/concerns/.keep
132
- - examples/rails-custom-login-page/app/controllers/dashboard_controller.rb
133
- - examples/rails-custom-login-page/app/controllers/home_controller.rb
134
- - examples/rails-custom-login-page/app/controllers/sessions_controller.rb
135
- - examples/rails-custom-login-page/app/controllers/users_controller.rb
136
- - examples/rails-custom-login-page/app/helpers/application_helper.rb
137
- - examples/rails-custom-login-page/app/helpers/dashboard_helper.rb
138
- - examples/rails-custom-login-page/app/helpers/home_helper.rb
139
- - examples/rails-custom-login-page/app/helpers/sessions_helper.rb
140
- - examples/rails-custom-login-page/app/helpers/users_helper.rb
141
- - examples/rails-custom-login-page/app/jobs/application_job.rb
142
- - examples/rails-custom-login-page/app/mailers/application_mailer.rb
143
- - examples/rails-custom-login-page/app/models/application_record.rb
144
- - examples/rails-custom-login-page/app/models/concerns/.keep
145
- - examples/rails-custom-login-page/app/views/dashboard/index.html.erb
146
- - examples/rails-custom-login-page/app/views/home/index.html.erb
147
- - examples/rails-custom-login-page/app/views/layouts/application.html.erb
148
- - examples/rails-custom-login-page/app/views/layouts/mailer.html.erb
149
- - examples/rails-custom-login-page/app/views/layouts/mailer.text.erb
150
- - examples/rails-custom-login-page/app/views/users/_form.html.erb
151
- - examples/rails-custom-login-page/app/views/users/_user.json.jbuilder
152
- - examples/rails-custom-login-page/app/views/users/edit.html.erb
153
- - examples/rails-custom-login-page/app/views/users/index.html.erb
154
- - examples/rails-custom-login-page/app/views/users/index.json.jbuilder
155
- - examples/rails-custom-login-page/app/views/users/new.html.erb
156
- - examples/rails-custom-login-page/app/views/users/onboard.html.erb
157
- - examples/rails-custom-login-page/app/views/users/show.html.erb
158
- - examples/rails-custom-login-page/app/views/users/show.json.jbuilder
159
- - examples/rails-custom-login-page/bin/bundle
160
- - examples/rails-custom-login-page/bin/rails
161
- - examples/rails-custom-login-page/bin/rake
162
- - examples/rails-custom-login-page/bin/setup
163
- - examples/rails-custom-login-page/bin/spring
164
- - examples/rails-custom-login-page/bin/update
165
- - examples/rails-custom-login-page/bin/yarn
166
- - examples/rails-custom-login-page/config.ru
167
- - examples/rails-custom-login-page/config/application.rb
168
- - examples/rails-custom-login-page/config/boot.rb
169
- - examples/rails-custom-login-page/config/cable.yml
170
- - examples/rails-custom-login-page/config/database.yml
171
- - examples/rails-custom-login-page/config/environment.rb
172
- - examples/rails-custom-login-page/config/environments/development.rb
173
- - examples/rails-custom-login-page/config/environments/production.rb
174
- - examples/rails-custom-login-page/config/environments/test.rb
175
- - examples/rails-custom-login-page/config/initializers/application_controller_renderer.rb
176
- - examples/rails-custom-login-page/config/initializers/assets.rb
177
- - examples/rails-custom-login-page/config/initializers/backtrace_silencers.rb
178
- - examples/rails-custom-login-page/config/initializers/cookies_serializer.rb
179
- - examples/rails-custom-login-page/config/initializers/filter_parameter_logging.rb
180
- - examples/rails-custom-login-page/config/initializers/inflections.rb
181
- - examples/rails-custom-login-page/config/initializers/mime_types.rb
182
- - examples/rails-custom-login-page/config/initializers/onelogin.rb
183
- - examples/rails-custom-login-page/config/initializers/wrap_parameters.rb
184
- - examples/rails-custom-login-page/config/locales/en.yml
185
- - examples/rails-custom-login-page/config/puma.rb
186
- - examples/rails-custom-login-page/config/routes.rb
187
- - examples/rails-custom-login-page/config/secrets.yml.sample
188
- - examples/rails-custom-login-page/config/spring.rb
189
- - examples/rails-custom-login-page/db/seeds.rb
190
- - examples/rails-custom-login-page/lib/assets/.keep
191
- - examples/rails-custom-login-page/lib/tasks/.keep
192
- - examples/rails-custom-login-page/package.json
193
- - examples/rails-custom-login-page/public/404.html
194
- - examples/rails-custom-login-page/public/422.html
195
- - examples/rails-custom-login-page/public/500.html
196
- - examples/rails-custom-login-page/public/apple-touch-icon-precomposed.png
197
- - examples/rails-custom-login-page/public/apple-touch-icon.png
198
- - examples/rails-custom-login-page/public/favicon.ico
199
- - examples/rails-custom-login-page/public/robots.txt
200
- - examples/rails-custom-login-page/test/application_system_test_case.rb
201
- - examples/rails-custom-login-page/test/controllers/.keep
202
- - examples/rails-custom-login-page/test/controllers/dashboard_controller_test.rb
203
- - examples/rails-custom-login-page/test/controllers/home_controller_test.rb
204
- - examples/rails-custom-login-page/test/controllers/sessions_controller_test.rb
205
- - examples/rails-custom-login-page/test/controllers/users_controller_test.rb
206
- - examples/rails-custom-login-page/test/fixtures/.keep
207
- - examples/rails-custom-login-page/test/fixtures/files/.keep
208
- - examples/rails-custom-login-page/test/helpers/.keep
209
- - examples/rails-custom-login-page/test/integration/.keep
210
- - examples/rails-custom-login-page/test/mailers/.keep
211
- - examples/rails-custom-login-page/test/models/.keep
212
- - examples/rails-custom-login-page/test/system/.keep
213
- - examples/rails-custom-login-page/test/test_helper.rb
214
- - examples/rails-custom-login-page/vendor/.keep
66
+ - docs/Action.md
67
+ - docs/ActivateFactorRequest.md
68
+ - docs/AddAccessTokenClaimRequest.md
69
+ - docs/AddClientAppRequest.md
70
+ - docs/AddRoleUsers200ResponseInner.md
71
+ - docs/AddScopeRequest.md
72
+ - docs/AuthMethod.md
73
+ - docs/AuthServerConfiguration.md
74
+ - docs/ClientApp.md
75
+ - docs/Condition.md
76
+ - docs/Connector.md
77
+ - docs/CreateAuthorizationServerRequest.md
78
+ - docs/CreateEnvironmentVariableRequest.md
79
+ - docs/CreateRoles201ResponseInner.md
80
+ - docs/DefaultApi.md
81
+ - docs/Device.md
82
+ - docs/EnrollFactorRequest.md
83
+ - docs/Envvar.md
84
+ - docs/ErrorStatus.md
85
+ - docs/ErrorStatusErrorsInner.md
86
+ - docs/FactorInner.md
87
+ - docs/FactorInnerFactorData.md
88
+ - docs/GenerateMfaToken200Response.md
89
+ - docs/GenerateMfaToken422Response.md
90
+ - docs/GenerateMfaToken422ResponseDetails.md
91
+ - docs/GenerateMfaTokenRequest.md
92
+ - docs/GenerateSamlAssertionRequest.md
93
+ - docs/GenerateToken200Response.md
94
+ - docs/GenerateToken400Response.md
95
+ - docs/GenerateTokenRequest.md
96
+ - docs/GetAuthorizationServer200Response.md
97
+ - docs/GetAvailableFactors200ResponseInner.md
98
+ - docs/GetClientApps200ResponseInner.md
99
+ - docs/GetClientApps200ResponseInnerScopesInner.md
100
+ - docs/GetRateLimit200Response.md
101
+ - docs/GetRateLimit200ResponseData.md
102
+ - docs/GetRiskScore200Response.md
103
+ - docs/GetRiskScore400Response.md
104
+ - docs/GetRiskScoreRequest.md
105
+ - docs/GetScoreInsights200Response.md
106
+ - docs/GetScoreInsights200ResponseScores.md
107
+ - docs/GetUserApps200ResponseInner.md
108
+ - docs/Hook.md
109
+ - docs/HookConditionsInner.md
110
+ - docs/HookOptions.md
111
+ - docs/HookStatus.md
112
+ - docs/Id.md
113
+ - docs/ListAccessTokenClaims200ResponseInner.md
114
+ - docs/ListActions200ResponseInner.md
115
+ - docs/ListAppUsers200ResponseInner.md
116
+ - docs/ListAuthorizationServers200ResponseInner.md
117
+ - docs/ListAuthorizationServers200ResponseInnerConfiguration.md
118
+ - docs/ListConditionOperators200ResponseInner.md
119
+ - docs/ListConditionValues200ResponseInner.md
120
+ - docs/ListConditions200ResponseInner.md
121
+ - docs/ListMappingConditionOperators200ResponseInner.md
122
+ - docs/ListMappingConditions200ResponseInner.md
123
+ - docs/ListScopes200ResponseInner.md
124
+ - docs/Log.md
125
+ - docs/Mapping.md
126
+ - docs/Registration.md
127
+ - docs/RemoveRoleUsersRequest.md
128
+ - docs/RevokeTokenRequest.md
129
+ - docs/RiskDevice.md
130
+ - docs/RiskRule.md
131
+ - docs/RiskUser.md
132
+ - docs/Role.md
133
+ - docs/Rule.md
134
+ - docs/RuleId.md
135
+ - docs/Schema.md
136
+ - docs/Schema1.md
137
+ - docs/Schema1AddedBy.md
138
+ - docs/SchemaProvisioning.md
139
+ - docs/Session.md
140
+ - docs/SetRoleApps200ResponseInner.md
141
+ - docs/Source.md
142
+ - docs/Status.md
143
+ - docs/Status1.md
144
+ - docs/Status2.md
145
+ - docs/Status2Status.md
146
+ - docs/TrackEventRequest.md
147
+ - docs/UpdateAuthorizationServer400Response.md
148
+ - docs/UpdateClientAppRequest.md
149
+ - docs/UpdateEnvironmentVariableRequest.md
150
+ - docs/UpdateRole200Response.md
151
+ - docs/User.md
152
+ - docs/VerifyEnrollmentRequest.md
153
+ - docs/VerifyFactorRequest.md
154
+ - docs/VerifyFactorSaml200Response.md
155
+ - docs/VerifyFactorSamlRequest.md
156
+ - docs/VerifyFactorVoice200ResponseInner.md
157
+ - git_push.sh
215
158
  - lib/onelogin.rb
216
- - lib/onelogin/api.rb
217
- - lib/onelogin/api/apiexception.rb
218
- - lib/onelogin/api/client.rb
219
- - lib/onelogin/api/cursor.rb
220
- - lib/onelogin/api/models.rb
221
- - lib/onelogin/api/models/app.rb
222
- - lib/onelogin/api/models/auth_factor.rb
223
- - lib/onelogin/api/models/device.rb
224
- - lib/onelogin/api/models/embed_app.rb
225
- - lib/onelogin/api/models/event.rb
226
- - lib/onelogin/api/models/event_type.rb
227
- - lib/onelogin/api/models/factor_enrollment_response.rb
228
- - lib/onelogin/api/models/group.rb
229
- - lib/onelogin/api/models/mfa.rb
230
- - lib/onelogin/api/models/mfa_token.rb
231
- - lib/onelogin/api/models/onelogin_token.rb
232
- - lib/onelogin/api/models/otp_device.rb
233
- - lib/onelogin/api/models/privilege.rb
234
- - lib/onelogin/api/models/rate_limit.rb
235
- - lib/onelogin/api/models/role.rb
236
- - lib/onelogin/api/models/saml_endpoint_response.rb
237
- - lib/onelogin/api/models/session_token_info.rb
238
- - lib/onelogin/api/models/session_token_mfa_info.rb
239
- - lib/onelogin/api/models/statement.rb
240
- - lib/onelogin/api/models/user.rb
241
- - lib/onelogin/api/models/user_data.rb
242
- - lib/onelogin/api/models/user_metadata.rb
243
- - lib/onelogin/api/util.rb
244
- - lib/onelogin/api/util/constants.rb
245
- - lib/onelogin/api/util/parser.rb
246
- - lib/onelogin/api/util/url_builder.rb
159
+ - lib/onelogin/api/default_api.rb
160
+ - lib/onelogin/api_client.rb
161
+ - lib/onelogin/api_error.rb
162
+ - lib/onelogin/configuration.rb
163
+ - lib/onelogin/models/action.rb
164
+ - lib/onelogin/models/activate_factor_request.rb
165
+ - lib/onelogin/models/add_access_token_claim_request.rb
166
+ - lib/onelogin/models/add_client_app_request.rb
167
+ - lib/onelogin/models/add_role_users200_response_inner.rb
168
+ - lib/onelogin/models/add_scope_request.rb
169
+ - lib/onelogin/models/auth_method.rb
170
+ - lib/onelogin/models/auth_server_configuration.rb
171
+ - lib/onelogin/models/client_app.rb
172
+ - lib/onelogin/models/condition.rb
173
+ - lib/onelogin/models/connector.rb
174
+ - lib/onelogin/models/create_authorization_server_request.rb
175
+ - lib/onelogin/models/create_environment_variable_request.rb
176
+ - lib/onelogin/models/create_roles201_response_inner.rb
177
+ - lib/onelogin/models/device.rb
178
+ - lib/onelogin/models/enroll_factor_request.rb
179
+ - lib/onelogin/models/envvar.rb
180
+ - lib/onelogin/models/error_status.rb
181
+ - lib/onelogin/models/error_status_errors_inner.rb
182
+ - lib/onelogin/models/factor_inner.rb
183
+ - lib/onelogin/models/factor_inner_factor_data.rb
184
+ - lib/onelogin/models/generate_mfa_token200_response.rb
185
+ - lib/onelogin/models/generate_mfa_token422_response.rb
186
+ - lib/onelogin/models/generate_mfa_token422_response_details.rb
187
+ - lib/onelogin/models/generate_mfa_token_request.rb
188
+ - lib/onelogin/models/generate_saml_assertion_request.rb
189
+ - lib/onelogin/models/generate_token200_response.rb
190
+ - lib/onelogin/models/generate_token400_response.rb
191
+ - lib/onelogin/models/generate_token_request.rb
192
+ - lib/onelogin/models/get_authorization_server200_response.rb
193
+ - lib/onelogin/models/get_available_factors200_response_inner.rb
194
+ - lib/onelogin/models/get_client_apps200_response_inner.rb
195
+ - lib/onelogin/models/get_client_apps200_response_inner_scopes_inner.rb
196
+ - lib/onelogin/models/get_rate_limit200_response.rb
197
+ - lib/onelogin/models/get_rate_limit200_response_data.rb
198
+ - lib/onelogin/models/get_risk_score200_response.rb
199
+ - lib/onelogin/models/get_risk_score400_response.rb
200
+ - lib/onelogin/models/get_risk_score_request.rb
201
+ - lib/onelogin/models/get_score_insights200_response.rb
202
+ - lib/onelogin/models/get_score_insights200_response_scores.rb
203
+ - lib/onelogin/models/get_user_apps200_response_inner.rb
204
+ - lib/onelogin/models/hook.rb
205
+ - lib/onelogin/models/hook_conditions_inner.rb
206
+ - lib/onelogin/models/hook_options.rb
207
+ - lib/onelogin/models/hook_status.rb
208
+ - lib/onelogin/models/id.rb
209
+ - lib/onelogin/models/list_access_token_claims200_response_inner.rb
210
+ - lib/onelogin/models/list_actions200_response_inner.rb
211
+ - lib/onelogin/models/list_app_users200_response_inner.rb
212
+ - lib/onelogin/models/list_authorization_servers200_response_inner.rb
213
+ - lib/onelogin/models/list_authorization_servers200_response_inner_configuration.rb
214
+ - lib/onelogin/models/list_condition_operators200_response_inner.rb
215
+ - lib/onelogin/models/list_condition_values200_response_inner.rb
216
+ - lib/onelogin/models/list_conditions200_response_inner.rb
217
+ - lib/onelogin/models/list_mapping_condition_operators200_response_inner.rb
218
+ - lib/onelogin/models/list_mapping_conditions200_response_inner.rb
219
+ - lib/onelogin/models/list_scopes200_response_inner.rb
220
+ - lib/onelogin/models/log.rb
221
+ - lib/onelogin/models/mapping.rb
222
+ - lib/onelogin/models/registration.rb
223
+ - lib/onelogin/models/remove_role_users_request.rb
224
+ - lib/onelogin/models/revoke_token_request.rb
225
+ - lib/onelogin/models/risk_device.rb
226
+ - lib/onelogin/models/risk_rule.rb
227
+ - lib/onelogin/models/risk_user.rb
228
+ - lib/onelogin/models/role.rb
229
+ - lib/onelogin/models/rule.rb
230
+ - lib/onelogin/models/rule_id.rb
231
+ - lib/onelogin/models/schema.rb
232
+ - lib/onelogin/models/schema1.rb
233
+ - lib/onelogin/models/schema1_added_by.rb
234
+ - lib/onelogin/models/schema_provisioning.rb
235
+ - lib/onelogin/models/session.rb
236
+ - lib/onelogin/models/set_role_apps200_response_inner.rb
237
+ - lib/onelogin/models/source.rb
238
+ - lib/onelogin/models/status.rb
239
+ - lib/onelogin/models/status1.rb
240
+ - lib/onelogin/models/status2.rb
241
+ - lib/onelogin/models/status2_status.rb
242
+ - lib/onelogin/models/track_event_request.rb
243
+ - lib/onelogin/models/update_authorization_server400_response.rb
244
+ - lib/onelogin/models/update_client_app_request.rb
245
+ - lib/onelogin/models/update_environment_variable_request.rb
246
+ - lib/onelogin/models/update_role200_response.rb
247
+ - lib/onelogin/models/user.rb
248
+ - lib/onelogin/models/verify_enrollment_request.rb
249
+ - lib/onelogin/models/verify_factor_request.rb
250
+ - lib/onelogin/models/verify_factor_saml200_response.rb
251
+ - lib/onelogin/models/verify_factor_saml_request.rb
252
+ - lib/onelogin/models/verify_factor_voice200_response_inner.rb
247
253
  - lib/onelogin/version.rb
248
254
  - onelogin.gemspec
255
+ - spec/api/default_api_spec.rb
256
+ - spec/api_client_spec.rb
257
+ - spec/configuration_spec.rb
258
+ - spec/models/action_spec.rb
259
+ - spec/models/activate_factor_request_spec.rb
260
+ - spec/models/add_access_token_claim_request_spec.rb
261
+ - spec/models/add_client_app_request_spec.rb
262
+ - spec/models/add_role_users200_response_inner_spec.rb
263
+ - spec/models/add_scope_request_spec.rb
264
+ - spec/models/auth_method_spec.rb
265
+ - spec/models/auth_server_configuration_spec.rb
266
+ - spec/models/client_app_spec.rb
267
+ - spec/models/condition_spec.rb
268
+ - spec/models/connector_spec.rb
269
+ - spec/models/create_authorization_server_request_spec.rb
270
+ - spec/models/create_environment_variable_request_spec.rb
271
+ - spec/models/create_roles201_response_inner_spec.rb
272
+ - spec/models/device_spec.rb
273
+ - spec/models/enroll_factor_request_spec.rb
274
+ - spec/models/envvar_spec.rb
275
+ - spec/models/error_status_errors_inner_spec.rb
276
+ - spec/models/error_status_spec.rb
277
+ - spec/models/factor_inner_factor_data_spec.rb
278
+ - spec/models/factor_inner_spec.rb
279
+ - spec/models/generate_mfa_token200_response_spec.rb
280
+ - spec/models/generate_mfa_token422_response_details_spec.rb
281
+ - spec/models/generate_mfa_token422_response_spec.rb
282
+ - spec/models/generate_mfa_token_request_spec.rb
283
+ - spec/models/generate_saml_assertion_request_spec.rb
284
+ - spec/models/generate_token200_response_spec.rb
285
+ - spec/models/generate_token400_response_spec.rb
286
+ - spec/models/generate_token_request_spec.rb
287
+ - spec/models/get_authorization_server200_response_spec.rb
288
+ - spec/models/get_available_factors200_response_inner_spec.rb
289
+ - spec/models/get_client_apps200_response_inner_scopes_inner_spec.rb
290
+ - spec/models/get_client_apps200_response_inner_spec.rb
291
+ - spec/models/get_rate_limit200_response_data_spec.rb
292
+ - spec/models/get_rate_limit200_response_spec.rb
293
+ - spec/models/get_risk_score200_response_spec.rb
294
+ - spec/models/get_risk_score400_response_spec.rb
295
+ - spec/models/get_risk_score_request_spec.rb
296
+ - spec/models/get_score_insights200_response_scores_spec.rb
297
+ - spec/models/get_score_insights200_response_spec.rb
298
+ - spec/models/get_user_apps200_response_inner_spec.rb
299
+ - spec/models/hook_conditions_inner_spec.rb
300
+ - spec/models/hook_options_spec.rb
301
+ - spec/models/hook_spec.rb
302
+ - spec/models/hook_status_spec.rb
303
+ - spec/models/id_spec.rb
304
+ - spec/models/list_access_token_claims200_response_inner_spec.rb
305
+ - spec/models/list_actions200_response_inner_spec.rb
306
+ - spec/models/list_app_users200_response_inner_spec.rb
307
+ - spec/models/list_authorization_servers200_response_inner_configuration_spec.rb
308
+ - spec/models/list_authorization_servers200_response_inner_spec.rb
309
+ - spec/models/list_condition_operators200_response_inner_spec.rb
310
+ - spec/models/list_condition_values200_response_inner_spec.rb
311
+ - spec/models/list_conditions200_response_inner_spec.rb
312
+ - spec/models/list_mapping_condition_operators200_response_inner_spec.rb
313
+ - spec/models/list_mapping_conditions200_response_inner_spec.rb
314
+ - spec/models/list_scopes200_response_inner_spec.rb
315
+ - spec/models/log_spec.rb
316
+ - spec/models/mapping_spec.rb
317
+ - spec/models/registration_spec.rb
318
+ - spec/models/remove_role_users_request_spec.rb
319
+ - spec/models/revoke_token_request_spec.rb
320
+ - spec/models/risk_device_spec.rb
321
+ - spec/models/risk_rule_spec.rb
322
+ - spec/models/risk_user_spec.rb
323
+ - spec/models/role_spec.rb
324
+ - spec/models/rule_id_spec.rb
325
+ - spec/models/rule_spec.rb
326
+ - spec/models/schema1_added_by_spec.rb
327
+ - spec/models/schema1_spec.rb
328
+ - spec/models/schema_provisioning_spec.rb
329
+ - spec/models/schema_spec.rb
330
+ - spec/models/session_spec.rb
331
+ - spec/models/set_role_apps200_response_inner_spec.rb
332
+ - spec/models/source_spec.rb
333
+ - spec/models/status1_spec.rb
334
+ - spec/models/status2_spec.rb
335
+ - spec/models/status2_status_spec.rb
336
+ - spec/models/status_spec.rb
337
+ - spec/models/track_event_request_spec.rb
338
+ - spec/models/update_authorization_server400_response_spec.rb
339
+ - spec/models/update_client_app_request_spec.rb
340
+ - spec/models/update_environment_variable_request_spec.rb
341
+ - spec/models/update_role200_response_spec.rb
342
+ - spec/models/user_spec.rb
343
+ - spec/models/verify_enrollment_request_spec.rb
344
+ - spec/models/verify_factor_request_spec.rb
345
+ - spec/models/verify_factor_saml200_response_spec.rb
346
+ - spec/models/verify_factor_saml_request_spec.rb
347
+ - spec/models/verify_factor_voice200_response_inner_spec.rb
348
+ - spec/spec_helper.rb
249
349
  homepage: https://github.com/onelogin/onelogin-ruby-sdk
250
350
  licenses:
251
351
  - MIT
252
- metadata:
253
- allowed_push_host: https://rubygems.org
352
+ metadata: {}
254
353
  post_install_message:
255
354
  rdoc_options: []
256
355
  require_paths:
@@ -259,16 +358,109 @@ required_ruby_version: !ruby/object:Gem::Requirement
259
358
  requirements:
260
359
  - - ">="
261
360
  - !ruby/object:Gem::Version
262
- version: 1.9.3
361
+ version: '2.4'
263
362
  required_rubygems_version: !ruby/object:Gem::Requirement
264
363
  requirements:
265
- - - ">="
364
+ - - ">"
266
365
  - !ruby/object:Gem::Version
267
- version: '0'
366
+ version: 1.3.1
268
367
  requirements: []
269
- rubyforge_project: http://www.rubygems.org/gems/onelogin-ruby-sdk
270
- rubygems_version: 2.4.8
368
+ rubygems_version: 3.0.3.1
271
369
  signing_key:
272
370
  specification_version: 4
273
- summary: OneLogin's Ruby SDK.
274
- test_files: []
371
+ summary: OneLogin's Ruby SDK.
372
+ test_files:
373
+ - spec/api/default_api_spec.rb
374
+ - spec/api_client_spec.rb
375
+ - spec/configuration_spec.rb
376
+ - spec/models/update_client_app_request_spec.rb
377
+ - spec/models/get_available_factors200_response_inner_spec.rb
378
+ - spec/models/auth_server_configuration_spec.rb
379
+ - spec/models/session_spec.rb
380
+ - spec/models/update_authorization_server400_response_spec.rb
381
+ - spec/models/envvar_spec.rb
382
+ - spec/models/get_client_apps200_response_inner_spec.rb
383
+ - spec/models/generate_token_request_spec.rb
384
+ - spec/models/activate_factor_request_spec.rb
385
+ - spec/models/list_mapping_condition_operators200_response_inner_spec.rb
386
+ - spec/models/create_roles201_response_inner_spec.rb
387
+ - spec/models/risk_device_spec.rb
388
+ - spec/models/generate_token400_response_spec.rb
389
+ - spec/models/get_risk_score200_response_spec.rb
390
+ - spec/models/hook_status_spec.rb
391
+ - spec/models/add_role_users200_response_inner_spec.rb
392
+ - spec/models/generate_mfa_token200_response_spec.rb
393
+ - spec/models/get_authorization_server200_response_spec.rb
394
+ - spec/models/list_condition_operators200_response_inner_spec.rb
395
+ - spec/models/get_user_apps200_response_inner_spec.rb
396
+ - spec/models/hook_spec.rb
397
+ - spec/models/generate_token200_response_spec.rb
398
+ - spec/models/device_spec.rb
399
+ - spec/models/risk_user_spec.rb
400
+ - spec/models/add_scope_request_spec.rb
401
+ - spec/models/hook_conditions_inner_spec.rb
402
+ - spec/models/hook_options_spec.rb
403
+ - spec/models/get_risk_score400_response_spec.rb
404
+ - spec/models/verify_enrollment_request_spec.rb
405
+ - spec/models/add_client_app_request_spec.rb
406
+ - spec/models/list_access_token_claims200_response_inner_spec.rb
407
+ - spec/models/id_spec.rb
408
+ - spec/models/client_app_spec.rb
409
+ - spec/models/condition_spec.rb
410
+ - spec/models/get_risk_score_request_spec.rb
411
+ - spec/models/list_authorization_servers200_response_inner_spec.rb
412
+ - spec/models/create_environment_variable_request_spec.rb
413
+ - spec/models/schema1_spec.rb
414
+ - spec/models/verify_factor_saml_request_spec.rb
415
+ - spec/models/remove_role_users_request_spec.rb
416
+ - spec/models/schema1_added_by_spec.rb
417
+ - spec/models/update_environment_variable_request_spec.rb
418
+ - spec/models/connector_spec.rb
419
+ - spec/models/factor_inner_spec.rb
420
+ - spec/models/get_client_apps200_response_inner_scopes_inner_spec.rb
421
+ - spec/models/rule_spec.rb
422
+ - spec/models/rule_id_spec.rb
423
+ - spec/models/verify_factor_request_spec.rb
424
+ - spec/models/verify_factor_saml200_response_spec.rb
425
+ - spec/models/list_scopes200_response_inner_spec.rb
426
+ - spec/models/log_spec.rb
427
+ - spec/models/list_condition_values200_response_inner_spec.rb
428
+ - spec/models/status_spec.rb
429
+ - spec/models/set_role_apps200_response_inner_spec.rb
430
+ - spec/models/list_mapping_conditions200_response_inner_spec.rb
431
+ - spec/models/enroll_factor_request_spec.rb
432
+ - spec/models/status2_spec.rb
433
+ - spec/models/source_spec.rb
434
+ - spec/models/generate_mfa_token422_response_details_spec.rb
435
+ - spec/models/status2_status_spec.rb
436
+ - spec/models/create_authorization_server_request_spec.rb
437
+ - spec/models/action_spec.rb
438
+ - spec/models/list_authorization_servers200_response_inner_configuration_spec.rb
439
+ - spec/models/add_access_token_claim_request_spec.rb
440
+ - spec/models/list_actions200_response_inner_spec.rb
441
+ - spec/models/auth_method_spec.rb
442
+ - spec/models/revoke_token_request_spec.rb
443
+ - spec/models/generate_mfa_token_request_spec.rb
444
+ - spec/models/status1_spec.rb
445
+ - spec/models/schema_provisioning_spec.rb
446
+ - spec/models/list_conditions200_response_inner_spec.rb
447
+ - spec/models/get_rate_limit200_response_data_spec.rb
448
+ - spec/models/mapping_spec.rb
449
+ - spec/models/get_score_insights200_response_spec.rb
450
+ - spec/models/error_status_errors_inner_spec.rb
451
+ - spec/models/update_role200_response_spec.rb
452
+ - spec/models/risk_rule_spec.rb
453
+ - spec/models/verify_factor_voice200_response_inner_spec.rb
454
+ - spec/models/error_status_spec.rb
455
+ - spec/models/factor_inner_factor_data_spec.rb
456
+ - spec/models/schema_spec.rb
457
+ - spec/models/registration_spec.rb
458
+ - spec/models/user_spec.rb
459
+ - spec/models/role_spec.rb
460
+ - spec/models/generate_mfa_token422_response_spec.rb
461
+ - spec/models/generate_saml_assertion_request_spec.rb
462
+ - spec/models/track_event_request_spec.rb
463
+ - spec/models/get_rate_limit200_response_spec.rb
464
+ - spec/models/list_app_users200_response_inner_spec.rb
465
+ - spec/models/get_score_insights200_response_scores_spec.rb
466
+ - spec/spec_helper.rb