onelogin 1.6.0 → 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 (443) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +7 -4
  3. data/README.md +245 -484
  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 -42
  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 +401 -216
  289. data/.github/workflows/git-secrets-public.yml +0 -55
  290. data/.gitignore +0 -12
  291. data/.travis.yml +0 -6
  292. data/bin/console +0 -14
  293. data/bin/setup +0 -6
  294. data/examples/Gemfile +0 -3
  295. data/examples/Gemfile.lock +0 -25
  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 -93
  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/examples/rails-custom-login-page/.gitignore +0 -45
  305. data/examples/rails-custom-login-page/.ruby-version +0 -1
  306. data/examples/rails-custom-login-page/Gemfile +0 -57
  307. data/examples/rails-custom-login-page/Gemfile.lock +0 -212
  308. data/examples/rails-custom-login-page/README.md +0 -137
  309. data/examples/rails-custom-login-page/Rakefile +0 -6
  310. data/examples/rails-custom-login-page/app/assets/config/manifest.js +0 -3
  311. data/examples/rails-custom-login-page/app/assets/images/.keep +0 -0
  312. data/examples/rails-custom-login-page/app/assets/javascripts/application.js +0 -18
  313. data/examples/rails-custom-login-page/app/assets/javascripts/cable.js +0 -13
  314. data/examples/rails-custom-login-page/app/assets/javascripts/channels/.keep +0 -0
  315. data/examples/rails-custom-login-page/app/assets/javascripts/dashboard.coffee +0 -3
  316. data/examples/rails-custom-login-page/app/assets/javascripts/home.coffee +0 -3
  317. data/examples/rails-custom-login-page/app/assets/javascripts/sessions.coffee +0 -3
  318. data/examples/rails-custom-login-page/app/assets/stylesheets/application.css +0 -15
  319. data/examples/rails-custom-login-page/app/assets/stylesheets/dashboard.scss +0 -3
  320. data/examples/rails-custom-login-page/app/assets/stylesheets/home.scss +0 -3
  321. data/examples/rails-custom-login-page/app/assets/stylesheets/sessions.scss +0 -3
  322. data/examples/rails-custom-login-page/app/channels/application_cable/channel.rb +0 -4
  323. data/examples/rails-custom-login-page/app/channels/application_cable/connection.rb +0 -4
  324. data/examples/rails-custom-login-page/app/controllers/application_controller.rb +0 -23
  325. data/examples/rails-custom-login-page/app/controllers/concerns/.keep +0 -0
  326. data/examples/rails-custom-login-page/app/controllers/dashboard_controller.rb +0 -10
  327. data/examples/rails-custom-login-page/app/controllers/home_controller.rb +0 -5
  328. data/examples/rails-custom-login-page/app/controllers/sessions_controller.rb +0 -46
  329. data/examples/rails-custom-login-page/app/controllers/users_controller.rb +0 -120
  330. data/examples/rails-custom-login-page/app/helpers/application_helper.rb +0 -2
  331. data/examples/rails-custom-login-page/app/helpers/dashboard_helper.rb +0 -28
  332. data/examples/rails-custom-login-page/app/helpers/home_helper.rb +0 -2
  333. data/examples/rails-custom-login-page/app/helpers/sessions_helper.rb +0 -87
  334. data/examples/rails-custom-login-page/app/helpers/users_helper.rb +0 -3
  335. data/examples/rails-custom-login-page/app/jobs/application_job.rb +0 -2
  336. data/examples/rails-custom-login-page/app/mailers/application_mailer.rb +0 -4
  337. data/examples/rails-custom-login-page/app/models/application_record.rb +0 -3
  338. data/examples/rails-custom-login-page/app/models/concerns/.keep +0 -0
  339. data/examples/rails-custom-login-page/app/views/dashboard/index.html.erb +0 -43
  340. data/examples/rails-custom-login-page/app/views/home/index.html.erb +0 -272
  341. data/examples/rails-custom-login-page/app/views/layouts/application.html.erb +0 -31
  342. data/examples/rails-custom-login-page/app/views/layouts/mailer.html.erb +0 -13
  343. data/examples/rails-custom-login-page/app/views/layouts/mailer.text.erb +0 -1
  344. data/examples/rails-custom-login-page/app/views/users/_form.html.erb +0 -1
  345. data/examples/rails-custom-login-page/app/views/users/_user.json.jbuilder +0 -2
  346. data/examples/rails-custom-login-page/app/views/users/edit.html.erb +0 -33
  347. data/examples/rails-custom-login-page/app/views/users/index.html.erb +0 -33
  348. data/examples/rails-custom-login-page/app/views/users/index.json.jbuilder +0 -1
  349. data/examples/rails-custom-login-page/app/views/users/new.html.erb +0 -60
  350. data/examples/rails-custom-login-page/app/views/users/onboard.html.erb +0 -54
  351. data/examples/rails-custom-login-page/app/views/users/show.html.erb +0 -17
  352. data/examples/rails-custom-login-page/app/views/users/show.json.jbuilder +0 -1
  353. data/examples/rails-custom-login-page/bin/bundle +0 -3
  354. data/examples/rails-custom-login-page/bin/rails +0 -9
  355. data/examples/rails-custom-login-page/bin/rake +0 -9
  356. data/examples/rails-custom-login-page/bin/setup +0 -38
  357. data/examples/rails-custom-login-page/bin/spring +0 -17
  358. data/examples/rails-custom-login-page/bin/update +0 -29
  359. data/examples/rails-custom-login-page/bin/yarn +0 -11
  360. data/examples/rails-custom-login-page/config/application.rb +0 -18
  361. data/examples/rails-custom-login-page/config/boot.rb +0 -3
  362. data/examples/rails-custom-login-page/config/cable.yml +0 -10
  363. data/examples/rails-custom-login-page/config/database.yml +0 -25
  364. data/examples/rails-custom-login-page/config/environment.rb +0 -5
  365. data/examples/rails-custom-login-page/config/environments/development.rb +0 -54
  366. data/examples/rails-custom-login-page/config/environments/production.rb +0 -91
  367. data/examples/rails-custom-login-page/config/environments/test.rb +0 -42
  368. data/examples/rails-custom-login-page/config/initializers/application_controller_renderer.rb +0 -8
  369. data/examples/rails-custom-login-page/config/initializers/assets.rb +0 -14
  370. data/examples/rails-custom-login-page/config/initializers/backtrace_silencers.rb +0 -7
  371. data/examples/rails-custom-login-page/config/initializers/cookies_serializer.rb +0 -5
  372. data/examples/rails-custom-login-page/config/initializers/filter_parameter_logging.rb +0 -4
  373. data/examples/rails-custom-login-page/config/initializers/inflections.rb +0 -16
  374. data/examples/rails-custom-login-page/config/initializers/mime_types.rb +0 -4
  375. data/examples/rails-custom-login-page/config/initializers/onelogin.rb +0 -6
  376. data/examples/rails-custom-login-page/config/initializers/wrap_parameters.rb +0 -14
  377. data/examples/rails-custom-login-page/config/locales/en.yml +0 -33
  378. data/examples/rails-custom-login-page/config/puma.rb +0 -56
  379. data/examples/rails-custom-login-page/config/routes.rb +0 -23
  380. data/examples/rails-custom-login-page/config/secrets.yml.sample +0 -38
  381. data/examples/rails-custom-login-page/config/spring.rb +0 -6
  382. data/examples/rails-custom-login-page/config.ru +0 -5
  383. data/examples/rails-custom-login-page/db/seeds.rb +0 -7
  384. data/examples/rails-custom-login-page/lib/assets/.keep +0 -0
  385. data/examples/rails-custom-login-page/lib/tasks/.keep +0 -0
  386. data/examples/rails-custom-login-page/package.json +0 -5
  387. data/examples/rails-custom-login-page/public/404.html +0 -67
  388. data/examples/rails-custom-login-page/public/422.html +0 -67
  389. data/examples/rails-custom-login-page/public/500.html +0 -66
  390. data/examples/rails-custom-login-page/public/apple-touch-icon-precomposed.png +0 -0
  391. data/examples/rails-custom-login-page/public/apple-touch-icon.png +0 -0
  392. data/examples/rails-custom-login-page/public/favicon.ico +0 -0
  393. data/examples/rails-custom-login-page/public/robots.txt +0 -1
  394. data/examples/rails-custom-login-page/test/application_system_test_case.rb +0 -5
  395. data/examples/rails-custom-login-page/test/controllers/.keep +0 -0
  396. data/examples/rails-custom-login-page/test/controllers/dashboard_controller_test.rb +0 -9
  397. data/examples/rails-custom-login-page/test/controllers/home_controller_test.rb +0 -9
  398. data/examples/rails-custom-login-page/test/controllers/sessions_controller_test.rb +0 -7
  399. data/examples/rails-custom-login-page/test/controllers/users_controller_test.rb +0 -48
  400. data/examples/rails-custom-login-page/test/fixtures/.keep +0 -0
  401. data/examples/rails-custom-login-page/test/fixtures/files/.keep +0 -0
  402. data/examples/rails-custom-login-page/test/helpers/.keep +0 -0
  403. data/examples/rails-custom-login-page/test/integration/.keep +0 -0
  404. data/examples/rails-custom-login-page/test/mailers/.keep +0 -0
  405. data/examples/rails-custom-login-page/test/models/.keep +0 -0
  406. data/examples/rails-custom-login-page/test/system/.keep +0 -0
  407. data/examples/rails-custom-login-page/test/test_helper.rb +0 -9
  408. data/examples/rails-custom-login-page/vendor/.keep +0 -0
  409. data/lib/onelogin/api/apiexception.rb +0 -10
  410. data/lib/onelogin/api/client.rb +0 -2954
  411. data/lib/onelogin/api/cursor.rb +0 -114
  412. data/lib/onelogin/api/models/app.rb +0 -22
  413. data/lib/onelogin/api/models/auth_factor.rb +0 -16
  414. data/lib/onelogin/api/models/connector_basic.rb +0 -20
  415. data/lib/onelogin/api/models/device.rb +0 -18
  416. data/lib/onelogin/api/models/embed_app.rb +0 -31
  417. data/lib/onelogin/api/models/event.rb +0 -54
  418. data/lib/onelogin/api/models/event_type.rb +0 -17
  419. data/lib/onelogin/api/models/factor_enrollment_response.rb +0 -22
  420. data/lib/onelogin/api/models/group.rb +0 -17
  421. data/lib/onelogin/api/models/mfa.rb +0 -26
  422. data/lib/onelogin/api/models/mfa_token.rb +0 -18
  423. data/lib/onelogin/api/models/onelogin_app.rb +0 -62
  424. data/lib/onelogin/api/models/onelogin_app_basic.rb +0 -51
  425. data/lib/onelogin/api/models/onelogin_app_v1.rb +0 -22
  426. data/lib/onelogin/api/models/onelogin_token.rb +0 -20
  427. data/lib/onelogin/api/models/otp_device.rb +0 -25
  428. data/lib/onelogin/api/models/privilege.rb +0 -51
  429. data/lib/onelogin/api/models/rate_limit.rb +0 -17
  430. data/lib/onelogin/api/models/role.rb +0 -16
  431. data/lib/onelogin/api/models/saml_endpoint_response.rb +0 -18
  432. data/lib/onelogin/api/models/session_token_info.rb +0 -21
  433. data/lib/onelogin/api/models/session_token_mfa_info.rb +0 -26
  434. data/lib/onelogin/api/models/statement.rb +0 -36
  435. data/lib/onelogin/api/models/user.rb +0 -135
  436. data/lib/onelogin/api/models/user_data.rb +0 -13
  437. data/lib/onelogin/api/models/user_metadata.rb +0 -13
  438. data/lib/onelogin/api/models.rb +0 -26
  439. data/lib/onelogin/api/util/constants.rb +0 -177
  440. data/lib/onelogin/api/util/parser.rb +0 -56
  441. data/lib/onelogin/api/util/url_builder.rb +0 -24
  442. data/lib/onelogin/api/util.rb +0 -13
  443. data/lib/onelogin/api.rb +0 -2
data/README.md CHANGED
@@ -1,517 +1,278 @@
1
- # OneLogin Ruby SDK
1
+ # onelogin
2
2
 
3
- This SDK will let you execute all the API methods, version/1, described
4
- at https://developers.onelogin.com/api-docs/1/getting-started/dev-overview.
3
+ OneLogin - the Ruby gem for the OneLogin API
5
4
 
6
- The toolkit is hosted on github. You can download it from:
7
- * Lastest release: https://github.com/onelogin/onelogin-ruby-sdk/releases/latest
8
- * Master repo: https://github.com/onelogin/onelogin-ruby-sdk/tree/master
5
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
9
6
 
7
+ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
10
8
 
11
- ## Installation
12
-
13
- Add this line to your application's Gemfile:
14
-
15
- ```ruby
16
- gem 'onelogin'
17
- ```
18
-
19
- And then execute:
20
-
21
- $ bundle
22
-
23
- Or install it yourself as:
24
-
25
- $ gem install onelogin
26
-
27
-
28
- ### Dependencies
29
-
30
- * httparty
31
-
32
- ## Getting started
33
-
34
- You'll need a OneLogin account and a set of API credentials before you get started.
9
+ - API version: 3.0.0-alpha.1
10
+ - Package version: 1.0.0
11
+ - Build package: org.openapitools.codegen.languages.RubyClientCodegen
35
12
 
36
- If you don't have an account you can [sign up for a free developer account here](https://www.onelogin.com/developer-signup).
37
-
38
- |||
39
- |---|---|
40
- |client_id|Required: A valid OneLogin API client_id|
41
- |client_secret|Required: A valid OneLogin API client_secret|
42
- |region| Optional: `us` or `eu`. Defaults to `us` |
43
- |max_results| Optional: Defaults to 1000 |
44
- |timeout| Optional: Defaults to 60 (requires httparty > 0.16.2) |
45
-
46
- ```ruby
47
- require 'onelogin'
48
-
49
- client = OneLogin::Api::Client.new(
50
- client_id: '',
51
- client_secret:'',
52
- region: 'us'
53
- )
54
-
55
- # Now you can make requests
56
- client.get_users
57
- ```
58
-
59
- For all methods see Rubydoc of this SDK published at:
60
- http://www.rubydoc.info/github/onelogin/onelogin-ruby-sdk
61
-
62
-
63
- ## Usage
64
-
65
- ### Errors and exceptions
66
-
67
- OneLogin's API can return 400, 401, 403 or 404 when there was any issue executing the action. When that happens, the methods of the SDK will include error and errorMessage in the client. Use `error` and `error_description` of the Client to retrieve them.
68
-
69
- ```ruby
70
- users = client.get_users
13
+ ## Installation
71
14
 
72
- if users.nil?
73
- puts client.error
74
- puts client.error_description
75
- end
76
- ```
15
+ ### Build a gem
77
16
 
78
- In some scenarios there is an attribute not provided or invalid that causes the error,
79
- when that happens in addition to the error_description a error_attribute is available
80
- with the name of the attribute that caused the issue. Accesible at the client like:
17
+ To build the Ruby code into a gem:
81
18
 
82
- ```ruby
83
- client.error_attribute
19
+ ```shell
20
+ gem build onelogin.gemspec
84
21
  ```
85
22
 
86
- ### Authentication
87
-
88
- By default methods call internally to `get_access_token` if there is no valid access_token. You can also get tokens etc directly if needed.
89
-
90
- ```ruby
91
- # Get an AccessToken
92
- token = client.get_access_token
93
-
94
- # Refresh an AccessToken
95
- token2 = client.regenerate_token
23
+ Then either install the gem locally:
96
24
 
97
- # Revoke an AccessToken
98
- token3 = client.get_access_token
25
+ ```shell
26
+ gem install ./onelogin-1.0.0.gem
99
27
  ```
100
28
 
101
- ### Paging
102
- All OneLogin API endpoints that support paging are returned as enumerations to save you keeping track of the paging cursor.
29
+ (for development, run `gem install --dev ./onelogin-1.0.0.gem` to install the development dependencies)
103
30
 
104
- User `take` to limit the results or get all results by enumerating.
31
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
105
32
 
106
- e.g.
107
- ```ruby
108
- # List the first name of all users
109
- client.get_users.each do |user|
110
- puts user.firstname
111
- end
33
+ Finally add this to the Gemfile:
112
34
 
113
- # List the first name of all users starting with the 2nd user
114
- # `each` accepts a start param to skip first x results
115
- client.get_users.each(1) do |user|
116
- puts user.firstname
117
- end
35
+ gem 'onelogin', '~> 1.0.0'
118
36
 
119
- # List the first 5 users with the name of Joe
120
- client.get_users(firstname: 'Joe').take(5).each do |user|
121
- puts "#{user.firstname} #{user.lastname}"
122
- end
37
+ ### Install from Git
123
38
 
124
- # Get 10 event ids
125
- client.get_events.take(10).map{|event| event.id }
39
+ If the Ruby gem is hosted at a git repository: https://github.com/onelogin/onelogin-ruby-sdk, then add the following in the Gemfile:
126
40
 
127
- # Get all roles
128
- client.get_roles.to_a
129
- ```
41
+ gem 'onelogin', :git => 'https://github.com/onelogin/onelogin-ruby-sdk.git'
130
42
 
131
- For safety where some collections (e.g. `get_events`) have large numbers of resources there is a
132
- limit of 1000 total results returned. You can override this with the `max_results` param during Client initialization.
43
+ ### Include the Ruby code directly
133
44
 
134
- ```
135
- client = OneLogin::Api::Client.new(
136
- client_id: '',
137
- client_secret:'',
138
- max_results: 50000
139
- )
45
+ Include the Ruby code directly using `-I` as follows:
140
46
 
141
- client.get_events.map {|event| event.id}
47
+ ```shell
48
+ ruby -Ilib script.rb
142
49
  ```
143
50
 
51
+ ## Getting Started
144
52
 
145
-
146
- ### Available Methods
53
+ Please follow the [installation](#installation) procedure and then run the following code:
147
54
 
148
55
  ```ruby
149
- # Get rate limits
150
- rate_limits = client.get_rate_limits
151
-
152
- # Get Custom Attributes
153
- custom_global_attributes = client.get_custom_attributes
154
-
155
- # Get Users with no query parameters
156
- users = client.get_users
157
-
158
- # Get Users with query parameters
159
- query_parameters = {
160
- email: "user@example.com"
161
- }
162
- users_filtered = client.get_users(query_parameters)
163
-
164
- query_parameters = {
165
- email: "usermfa@example.com"
166
- }
167
- users_filtered2 = client.get_users(query_parameters)
168
-
169
- # Get Users with limit
170
- query_parameters = {
171
- limit: 3
172
- }
173
- users_filtered_limited = client.get_users(query_parameters)
174
-
175
- # Only return the firstname and email fields for each user
176
- client.get_users(fields: 'email,firstname').each do |user|
177
- puts "#{user.firstname} - #{user.email}"
178
- end
56
+ # Load the gem
57
+ require 'onelogin'
179
58
 
180
- # Get User by id
181
- user = client.get_user(users_filtered.first.id)
182
- user_mfa = client.get_user(users_filtered2.first.id)
183
-
184
- # Update User with specific id
185
- user = client.get_user(user.id)
186
- update_user_params = user.get_user_params
187
- update_user_params["firstname"] = 'modified_firstname'
188
- user = client.update_user(user.id, update_user_params)
189
- user = client.get_user(user.id)
190
-
191
- # Get Global Roles
192
- roles = client.get_roles
193
-
194
- # Get Role
195
- role = client.get_role(1234)
196
-
197
- # Assign & Remove Roles On Users
198
- role_ids = [
199
- 1234, 5678
200
- ]
201
- result = client.assign_role_to_user(user.id, role_ids)
202
- role_ids.pop
203
- result = client.remove_role_from_user(user.id, role_ids)
204
- user = client.get_user(user.id)
205
-
206
- # Sets Password by ID Using Cleartext
207
- password = "Aa765431-XxX"
208
- result = client.set_password_using_clear_text(user.id, password, password)
209
-
210
- # Sets Password by ID Using Salt and SHA-256
211
- password = "Aa765432-YyY"
212
- salt = "11xxxx1"
213
-
214
- require 'digest'
215
- sha256 = Digest::SHA256.new
216
- hashed_salted_password = sha256.hexdigest("#{pw}#{salt}")
217
- result = client.set_password_using_hash_salt(user_mfa.id, hashed_salted_password, hashed_salted_password, "salt+sha256", salt)
218
-
219
- Set Custom Attribute Value to User
220
- customAttributes = {
221
- custom_global_attributes[0]=> "xxxx",
222
- custom_global_attributes[1]=> "yyyy"
223
- }
224
- result = client.set_custom_attribute_to_user(34687020, customAttributes)
225
-
226
- # Log Out User
227
- result = client.log_user_out(user.id)
228
-
229
- # Lock User
230
- result = client.lock_user(user.id, 5)
231
-
232
- # Get User apps
233
- apps = client.get_user_apps(user.id)
234
-
235
- # Get User Roles
236
- role_ids = client.get_user_roles(user.id)
237
-
238
- # Generate MFA Token
239
- mfa_token = client.generate_mfa_token(user.id)
240
-
241
- # Get all Connectors in a OneLogin account filtering by name*/
242
- apps = client.get_connectors({name:'SAML'})
243
-
244
- # Get all Apps in a OneLogin account using API v1 */
245
- apps_v1 = client.get_apps_v1
246
-
247
- # Get all Apps in a OneLogin account filtering by auth_method*/
248
- apps = client.get_apps({auth_method:6})
249
-
250
- # Create app
251
- app_data = {
252
- name: "Created SAML App by API",
253
- description:"Created SAML App by API description",
254
- notes: "Created SAML App by API notes",
255
- auth_method: 2,
256
- policy_id: 167865,
257
- allow_assumed_signin: false,
258
- parameters: {
259
- saml_username: {
260
- user_attribute_mappings: "email",
261
- label: "NameID (fka Email)",
262
- }
263
- },
264
- connector_id: 110016,
265
- visible: true,
266
- configuration: {
267
- saml_initiater_id: "0",
268
- encrypt_assertion: "0",
269
- recipient: "http://sp.example.com/acs",
270
- saml_notbefore: "3",
271
- saml_nameid_format_id: "0",
272
- saml_issuer_type: "0",
273
- saml_sign_element: "0",
274
- consumer_url: "http://sp.example.com/acs",
275
- validator: ".*",
276
- relaystate: "",
277
- logout_url: "http://sp.example.com/sls",
278
- saml_encryption_method_id: "0",
279
- login: "http://sp.example.com/login",
280
- saml_sessionnotonorafter: "1440",
281
- generate_attribute_value_tags: "0",
282
- saml_notonorafter: "3",
283
- audience: "http://sp.example.com/audience",
284
- signature_algorithm: "SHA-256"
285
- }
286
- }
287
- app = client.create_app(app_data)
288
-
289
- # Update app
290
- app_data[:name] = "Created SAML App by API updated"
291
- client.update_app(app.id, app_data)
292
-
293
- # Get app
294
- app = client.get_app(app.id)
295
-
296
- # Delete app
297
- result = client.delete_app(app.id)
298
-
299
- # Delete parameter from app
300
- result = client.delete_parameter_from_app(app.id, parameter_id)
301
-
302
- # Create user
303
- new_user_params = {
304
- email: "testcreate_1@example.com",
305
- firstname: "testcreate_1_fn",
306
- lastname: "testcreate_1_ln",
307
- username: "testcreate_1@example.com"
308
- }
309
- created_user = client.create_user(new_user_params)
310
-
311
- # Delete User
312
- result = client.delete_user(created_user.id)
313
-
314
- # Get EventTypes
315
- event_types = client.get_event_types
316
-
317
- # Get Events
318
- events = client.get_events
319
-
320
- query_events_params = {
321
- limit: 2
322
- }
323
- events_limited = client.get_events(query_events_params)
324
-
325
- # Get Event
326
- event = client.get_event(events[0].id)
327
-
328
- # Create Event
329
- new_event_params = {
330
- event_type_id: "000",
331
- account_id: "00000",
332
- actor_system: "00",
333
- user_id: "00000000",
334
- user_name: "test_event",
335
- custom_message: "test creating event from python :)"
336
- }
337
- result = client.create_event(new_event_params)
338
-
339
- # Get Filtered Events
340
- query_events_params = array(
341
- user_id: "00000000"
342
- )
343
- events = client.get_events(query_events_params)
344
-
345
- # Get Groups
346
- groups = client.get_groups
347
-
348
- # Get Group
349
- group = client.get_group(groups.first.id)
350
-
351
- # Get SAMLResponse directly
352
- app_id = "000000"
353
- saml_endpoint_response = client.get_saml_assertion("user@example.com", "Aa765431-XxX", app_id, "example-onelogin-subdomain")
354
-
355
- # Get SAMLResponse after MFA
356
- saml_endpoint_response2 = client.get_saml_assertion("usermfa@example.com", "Aa765432-YyY", app_id, "example-onelogin-subdomain")
357
- mfa = saml_endpoint_response2.mfa
358
- otp_token = "000000"
359
- saml_endpoint_response_after_verify = client.get_saml_assertion_verifying(app_id, mfa.devices[0].id, mfa.state_token, "78395727", nil)
360
-
361
- # Create Session Login Token
362
- session_login_token_params = {
363
- username_or_email: "user@example.com",
364
- password: "Aa765431-XxX",
365
- subdomain: "example-onelogin-subdomain"
366
- }
367
- session_token_data = client.create_session_login_token(session_login_token_params)
368
-
369
- # Create Session Login Token MFA , after verify
370
- session_login_token_mfa_params = {
371
- username_or_email: "usermfa@example.com",
372
- password: "Aa765432-YyY",
373
- subdomain: "example-onelogin-subdomain"
374
- }
375
- session_token_mfa_data = client.create_session_login_token(session_login_token_mfa_params)
376
- otp_token = "000000" # We get this value from OTP device
377
- session_token_data2 = client.get_session_token_verified(session_token_mfa_data.devices.first.id,session_token_mfa_data.state_token, otp_token)
378
-
379
- user_id = 00000000
380
- # Get Available Authentication Factors
381
- auth_factors = client.get_factors(user_id)
382
-
383
- # Enroll an Authentication Factor
384
- enroll_factor = client.enroll_factor(user_id, auth_factors.first.id, 'My Device', '+14156456830')
385
-
386
- # Get Enrolled Authentication Factors
387
- otp_devices = client.get_enrolled_factors(user_id)
388
-
389
- # Activate an Authentication Factor
390
- device_id = 0000000
391
- enrollment_response = client.activate_factor(user_id, device_id)
392
-
393
- # Verify an Authentication Factor
394
- result = client.verify_factor(user_id, device_id, otp_token="4242342423")
395
-
396
- # Remove a Factor
397
- result = client.remove_factor(user_id, device_id)
398
-
399
- # Generate Invite Link
400
- url_link = client.generate_invite_link("user@example.com")
401
-
402
- # Send Invite Link
403
- sent = client.send_invite_link("user@example.com")
404
-
405
- #Get Apps to Embed for a User
406
- embed_token = "30e256c101cd0d2e731de1ec222e93c4be8a1572"
407
- apps = client.get_embed_apps("30e256c101cd0d2e731de1ec222e93c4be8a1572", "user@example.com")
408
-
409
- # Get Privileges
410
- privileges = client.get_privileges()
411
-
412
- # Create Privilege
413
- name = "privilege_example"
414
- version = "2018-05-18"
415
-
416
- statement1 = OneLogin::Api::Models::Statement.new(
417
- "Allow",
418
- [
419
- "users:List",
420
- "users:Get",
421
- ],
422
- ["*"]
423
- )
424
-
425
- statement2 = OneLogin::Api::Models::Statement.new(
426
- "Allow",
427
- [
428
- "apps:List",
429
- "apps:Get",
430
- ],
431
- ["*"]
432
- )
433
-
434
- statements = [
435
- statement1,
436
- statement2
437
- ]
438
- privilege = client.create_privilege(name, version, statements)
439
-
440
- # Update Privilege
441
- name = "privilege_example_updated"
442
- statement2 = OneLogin::Api::Models::Statement.new(
443
- "Allow",
444
- [
445
- "apps:List",
446
- ],
447
- ["*"]
448
- )
449
- statements = [
450
- statement1,
451
- statement2
452
- ]
453
- privilege = client.update_privilege(privilege.id, name, version, statements)
454
-
455
- # Get Privilege
456
- privileges = client.get_privilege(privilege.id)
457
-
458
- # Delete Privilege
459
- result = client.delete_privilege(privilege.id)
460
-
461
- # Gets a list of the roles assigned to a privilege
462
- assigned_roles = client.get_roles_assigned_to_privilege(privilege.id)
463
-
464
- # Assign roles to a privilege
465
- result = client.assign_roles_to_privilege(privilege.id, [role_id1, role_id2])
466
-
467
- # Remove role from a privilege
468
- result = client.remove_role_from_privilege(privilege.id, role_id_1)
469
-
470
- # Gets a list of the users assigned to a privilege
471
- assigned_users = client.get_users_assigned_to_privilege(privilege.id)
472
-
473
- # Assign users to a privilege
474
- result = client.assign_users_to_privilege(privilege.id, [user_id1, user_id2])
475
-
476
- # Remove user from a privilege
477
- result = client.remove_user_from_privilege(privilege.id, user_id2)
478
- ```
59
+ api_instance = OneLogin::DefaultApi.new
60
+ authorization = 'authorization_example' # String |
61
+ user_id = 56 # Integer | Set to the id of the user.
62
+ activate_factor_request = OneLogin::ActivateFactorRequest.new # ActivateFactorRequest |
479
63
 
480
- ## Proxy Servers
481
- If you're stuck behind a proxy then you can still use this SDK by providing at a minimum the
482
- host address of your proxy server.
64
+ begin
65
+ api_instance.activate_factor(authorization, user_id, activate_factor_request)
66
+ rescue OneLogin::ApiError => e
67
+ puts "Exception when calling DefaultApi->activate_factor: #{e}"
68
+ end
483
69
 
484
- ```ruby
485
- client = OneLogin::Api::Client.new(
486
- client_id: 'some-client-id',
487
- client_secret:'some-client-secret',
488
- region: 'us',
489
- proxy_host: 'https://blah.com',
490
- proxy_port: '8080',
491
- proxy_user: 'username',
492
- proxy_pass: 'password'
493
- )
494
70
  ```
495
71
 
496
- * `proxy_host` - required, the host address of your proxy server
497
- * `proxy_port` - optional, the port number of your proxy server
498
- * `proxy_user` - optional, the username for your proxy server
499
- * `proxy_pass` - optional, the password for your proxy server
500
-
501
- ## Development
502
-
503
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
504
-
505
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
506
-
507
- ## Contributing
508
-
509
- Bug reports and pull requests are welcome on GitHub at https://github.com/onelogin/onelogin-ruby-sdk. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
510
-
511
- ## License
512
-
513
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
514
-
515
- ## Code of Conduct
72
+ ## Documentation for API Endpoints
73
+
74
+ All URIs are relative to *https://onelogininc.onelogin.com*
75
+
76
+ Class | Method | HTTP request | Description
77
+ ------------ | ------------- | ------------- | -------------
78
+ *OneLogin::DefaultApi* | [**activate_factor**](docs/DefaultApi.md#activate_factor) | **POST** /api/2/mfa/users/{user_id}/verifications |
79
+ *OneLogin::DefaultApi* | [**add_access_token_claim**](docs/DefaultApi.md#add_access_token_claim) | **POST** /api/2/api_authorizations/{id}/claims |
80
+ *OneLogin::DefaultApi* | [**add_client_app**](docs/DefaultApi.md#add_client_app) | **POST** /api/2/api_authorizations/{id}/clients |
81
+ *OneLogin::DefaultApi* | [**add_role_admins**](docs/DefaultApi.md#add_role_admins) | **POST** /api/2/roles/{role_id}/admins |
82
+ *OneLogin::DefaultApi* | [**add_role_users**](docs/DefaultApi.md#add_role_users) | **POST** /api/2/roles/{role_id}/users |
83
+ *OneLogin::DefaultApi* | [**add_scope**](docs/DefaultApi.md#add_scope) | **POST** /api/2/api_authorizations/{id}/scopes |
84
+ *OneLogin::DefaultApi* | [**bulk_mapping_sort**](docs/DefaultApi.md#bulk_mapping_sort) | **PUT** /api/2/apps/mappings/sort |
85
+ *OneLogin::DefaultApi* | [**bulk_sort**](docs/DefaultApi.md#bulk_sort) | **PUT** /api/2/apps/{app_id}/rules/sort |
86
+ *OneLogin::DefaultApi* | [**create_app**](docs/DefaultApi.md#create_app) | **POST** /api/2/apps |
87
+ *OneLogin::DefaultApi* | [**create_authorization_server**](docs/DefaultApi.md#create_authorization_server) | **POST** /api/2/api_authorizations |
88
+ *OneLogin::DefaultApi* | [**create_environment_variable**](docs/DefaultApi.md#create_environment_variable) | **POST** /api/2/hooks/envs |
89
+ *OneLogin::DefaultApi* | [**create_hook**](docs/DefaultApi.md#create_hook) | **POST** /api/2/hooks |
90
+ *OneLogin::DefaultApi* | [**create_mapping**](docs/DefaultApi.md#create_mapping) | **POST** /api/2/mappings |
91
+ *OneLogin::DefaultApi* | [**create_risk_rule**](docs/DefaultApi.md#create_risk_rule) | **POST** /api/2/risk/rules |
92
+ *OneLogin::DefaultApi* | [**create_roles**](docs/DefaultApi.md#create_roles) | **POST** /api/2/roles |
93
+ *OneLogin::DefaultApi* | [**create_rule**](docs/DefaultApi.md#create_rule) | **POST** /api/2/apps/{app_id}/rules |
94
+ *OneLogin::DefaultApi* | [**create_user**](docs/DefaultApi.md#create_user) | **POST** /api/2/users |
95
+ *OneLogin::DefaultApi* | [**delete_access_token_claim**](docs/DefaultApi.md#delete_access_token_claim) | **DELETE** /api/2/api_authorizations/{id}/claims/{claim_id} |
96
+ *OneLogin::DefaultApi* | [**delete_app**](docs/DefaultApi.md#delete_app) | **DELETE** /api/2/apps/{app_id} |
97
+ *OneLogin::DefaultApi* | [**delete_app_parameter**](docs/DefaultApi.md#delete_app_parameter) | **DELETE** /api/2/apps/{app_id}/parameters/{parameter_id} |
98
+ *OneLogin::DefaultApi* | [**delete_authorization_server**](docs/DefaultApi.md#delete_authorization_server) | **DELETE** /api/2/api_authorizations/{id} |
99
+ *OneLogin::DefaultApi* | [**delete_environment_variable**](docs/DefaultApi.md#delete_environment_variable) | **DELETE** /api/2/hooks/envs/{envvar_id} |
100
+ *OneLogin::DefaultApi* | [**delete_factor**](docs/DefaultApi.md#delete_factor) | **DELETE** /api/2/mfa/users/{user_id}/devices/{device_id} |
101
+ *OneLogin::DefaultApi* | [**delete_hook**](docs/DefaultApi.md#delete_hook) | **DELETE** /api/2/hooks/{hook_id} |
102
+ *OneLogin::DefaultApi* | [**delete_mapping**](docs/DefaultApi.md#delete_mapping) | **DELETE** /api/2/mappings/{mapping_id} |
103
+ *OneLogin::DefaultApi* | [**delete_risk_rule**](docs/DefaultApi.md#delete_risk_rule) | **DELETE** /api/2/risk/rules/{risk_rule_id} |
104
+ *OneLogin::DefaultApi* | [**delete_role**](docs/DefaultApi.md#delete_role) | **DELETE** /api/2/roles/{role_id} |
105
+ *OneLogin::DefaultApi* | [**delete_rule**](docs/DefaultApi.md#delete_rule) | **DELETE** /api/2/apps/{app_id}/rules/{rule_id} |
106
+ *OneLogin::DefaultApi* | [**delete_scope**](docs/DefaultApi.md#delete_scope) | **DELETE** /api/2/api_authorizations/{id}/scopes/{scope_id} |
107
+ *OneLogin::DefaultApi* | [**delete_user**](docs/DefaultApi.md#delete_user) | **DELETE** /api/2/users/{user_id} |
108
+ *OneLogin::DefaultApi* | [**dry_run_mapping**](docs/DefaultApi.md#dry_run_mapping) | **POST** /api/2/mappings/{mapping_id}/dryrun |
109
+ *OneLogin::DefaultApi* | [**enroll_factor**](docs/DefaultApi.md#enroll_factor) | **POST** /api/2/mfa/users/{user_id}/registrations |
110
+ *OneLogin::DefaultApi* | [**generate_mfa_token**](docs/DefaultApi.md#generate_mfa_token) | **POST** /api/2/mfs/users/{user_id}/mfa_token |
111
+ *OneLogin::DefaultApi* | [**generate_saml_assertion**](docs/DefaultApi.md#generate_saml_assertion) | **POST** /api/2/saml_assertion |
112
+ *OneLogin::DefaultApi* | [**generate_token**](docs/DefaultApi.md#generate_token) | **POST** /auth/oauth2/v2/token |
113
+ *OneLogin::DefaultApi* | [**get_app**](docs/DefaultApi.md#get_app) | **GET** /api/2/apps/{app_id} |
114
+ *OneLogin::DefaultApi* | [**get_authorization_server**](docs/DefaultApi.md#get_authorization_server) | **GET** /api/2/api_authorizations/{id} |
115
+ *OneLogin::DefaultApi* | [**get_available_factors**](docs/DefaultApi.md#get_available_factors) | **GET** /api/2/mfa/users/{user_id}/factors |
116
+ *OneLogin::DefaultApi* | [**get_client_apps**](docs/DefaultApi.md#get_client_apps) | **GET** /api/2/api_authorizations/{id}/clients |
117
+ *OneLogin::DefaultApi* | [**get_enrolled_factors**](docs/DefaultApi.md#get_enrolled_factors) | **GET** /api/2/mfa/users/{user_id}/devices |
118
+ *OneLogin::DefaultApi* | [**get_environment_variable**](docs/DefaultApi.md#get_environment_variable) | **GET** /api/2/hooks/envs/{envvar_id} |
119
+ *OneLogin::DefaultApi* | [**get_hook**](docs/DefaultApi.md#get_hook) | **GET** /api/2/hooks/{hook_id} |
120
+ *OneLogin::DefaultApi* | [**get_logs**](docs/DefaultApi.md#get_logs) | **GET** /api/2/hooks/{hook_id}/logs |
121
+ *OneLogin::DefaultApi* | [**get_mapping**](docs/DefaultApi.md#get_mapping) | **GET** /api/2/mappings/{mapping_id} |
122
+ *OneLogin::DefaultApi* | [**get_rate_limit**](docs/DefaultApi.md#get_rate_limit) | **GET** /auth/rate_limit |
123
+ *OneLogin::DefaultApi* | [**get_risk_rule**](docs/DefaultApi.md#get_risk_rule) | **GET** /api/2/risk/rules/{risk_rule_id} |
124
+ *OneLogin::DefaultApi* | [**get_risk_score**](docs/DefaultApi.md#get_risk_score) | **POST** /api/2/risk/verify |
125
+ *OneLogin::DefaultApi* | [**get_role**](docs/DefaultApi.md#get_role) | **GET** /api/2/roles/{role_id} |
126
+ *OneLogin::DefaultApi* | [**get_role_admins**](docs/DefaultApi.md#get_role_admins) | **GET** /api/2/roles/{role_id}/admins |
127
+ *OneLogin::DefaultApi* | [**get_role_apps**](docs/DefaultApi.md#get_role_apps) | **GET** /api/2/roles/{role_id}/apps |
128
+ *OneLogin::DefaultApi* | [**get_role_users**](docs/DefaultApi.md#get_role_users) | **GET** /api/2/roles/{role_id}/users |
129
+ *OneLogin::DefaultApi* | [**get_rule**](docs/DefaultApi.md#get_rule) | **GET** /api/2/apps/{app_id}/rules/{rule_id} |
130
+ *OneLogin::DefaultApi* | [**get_score_insights**](docs/DefaultApi.md#get_score_insights) | **GET** /api/2/risk/scores |
131
+ *OneLogin::DefaultApi* | [**get_user**](docs/DefaultApi.md#get_user) | **GET** /api/2/users/{user_id} |
132
+ *OneLogin::DefaultApi* | [**get_user_apps**](docs/DefaultApi.md#get_user_apps) | **GET** /api/2/users/{user_id}/apps |
133
+ *OneLogin::DefaultApi* | [**list_access_token_claims**](docs/DefaultApi.md#list_access_token_claims) | **GET** /api/2/api_authorizations/{id}/claims |
134
+ *OneLogin::DefaultApi* | [**list_action_values**](docs/DefaultApi.md#list_action_values) | **GET** /api/2/apps/{app_id}/rules/actions/{actuion_value}/values |
135
+ *OneLogin::DefaultApi* | [**list_actions**](docs/DefaultApi.md#list_actions) | **GET** /api/2/apps/{app_id}/rules/actions |
136
+ *OneLogin::DefaultApi* | [**list_app_users**](docs/DefaultApi.md#list_app_users) | **GET** /api/2/apps/{app_id}/users |
137
+ *OneLogin::DefaultApi* | [**list_apps**](docs/DefaultApi.md#list_apps) | **GET** /api/2/apps |
138
+ *OneLogin::DefaultApi* | [**list_authorization_servers**](docs/DefaultApi.md#list_authorization_servers) | **GET** /api/2/api_authorizations |
139
+ *OneLogin::DefaultApi* | [**list_condition_operators**](docs/DefaultApi.md#list_condition_operators) | **GET** /api/2/apps/{app_id}/rules/conditions/{condition_value}/operators |
140
+ *OneLogin::DefaultApi* | [**list_condition_values**](docs/DefaultApi.md#list_condition_values) | **GET** /api/2/apps/{app_id}/rules/conditions/{condition_value}/values |
141
+ *OneLogin::DefaultApi* | [**list_conditions**](docs/DefaultApi.md#list_conditions) | **GET** /api/2/apps/{app_id}/rules/conditions |
142
+ *OneLogin::DefaultApi* | [**list_connectors**](docs/DefaultApi.md#list_connectors) | **GET** /api/2/connectors |
143
+ *OneLogin::DefaultApi* | [**list_environment_variables**](docs/DefaultApi.md#list_environment_variables) | **GET** /api/2/hooks/envs |
144
+ *OneLogin::DefaultApi* | [**list_hooks**](docs/DefaultApi.md#list_hooks) | **GET** /api/2/hooks |
145
+ *OneLogin::DefaultApi* | [**list_mapping_action_values**](docs/DefaultApi.md#list_mapping_action_values) | **GET** /api/2/apps/mappings/actions/{actuion_value}/values |
146
+ *OneLogin::DefaultApi* | [**list_mapping_actions**](docs/DefaultApi.md#list_mapping_actions) | **GET** /api/2/apps/mappings/actions |
147
+ *OneLogin::DefaultApi* | [**list_mapping_condition_operators**](docs/DefaultApi.md#list_mapping_condition_operators) | **GET** /api/2/apps/mappings/conditions/{condition_value}/operators |
148
+ *OneLogin::DefaultApi* | [**list_mapping_condition_values**](docs/DefaultApi.md#list_mapping_condition_values) | **GET** /api/2/apps/mappings/conditions/{condition_value}/values |
149
+ *OneLogin::DefaultApi* | [**list_mapping_conditions**](docs/DefaultApi.md#list_mapping_conditions) | **GET** /api/2/apps/mappings/conditions |
150
+ *OneLogin::DefaultApi* | [**list_mappings**](docs/DefaultApi.md#list_mappings) | **GET** /api/2/mappings |
151
+ *OneLogin::DefaultApi* | [**list_risk_rules**](docs/DefaultApi.md#list_risk_rules) | **GET** /api/2/risk/rules |
152
+ *OneLogin::DefaultApi* | [**list_roles**](docs/DefaultApi.md#list_roles) | **GET** /api/2/roles |
153
+ *OneLogin::DefaultApi* | [**list_rules**](docs/DefaultApi.md#list_rules) | **GET** /api/2/apps/{app_id}/rules |
154
+ *OneLogin::DefaultApi* | [**list_scopes**](docs/DefaultApi.md#list_scopes) | **GET** /api/2/api_authorizations/{id}/scopes |
155
+ *OneLogin::DefaultApi* | [**list_users**](docs/DefaultApi.md#list_users) | **GET** /api/2/users |
156
+ *OneLogin::DefaultApi* | [**remove_client_app**](docs/DefaultApi.md#remove_client_app) | **DELETE** /api/2/api_authorizations/{id}/clients/{client_app_id} |
157
+ *OneLogin::DefaultApi* | [**remove_role_admins**](docs/DefaultApi.md#remove_role_admins) | **DELETE** /api/2/roles/{role_id}/admins |
158
+ *OneLogin::DefaultApi* | [**remove_role_users**](docs/DefaultApi.md#remove_role_users) | **DELETE** /api/2/roles/{role_id}/users |
159
+ *OneLogin::DefaultApi* | [**revoke_token**](docs/DefaultApi.md#revoke_token) | **POST** /auth/oauth2/revoke |
160
+ *OneLogin::DefaultApi* | [**set_role_apps**](docs/DefaultApi.md#set_role_apps) | **PUT** /api/2/roles/{role_id}/apps |
161
+ *OneLogin::DefaultApi* | [**track_event**](docs/DefaultApi.md#track_event) | **POST** /api/2/risk/events |
162
+ *OneLogin::DefaultApi* | [**update_access_token_claim**](docs/DefaultApi.md#update_access_token_claim) | **PUT** /api/2/api_authorizations/{id}/claims/{claim_id} |
163
+ *OneLogin::DefaultApi* | [**update_app**](docs/DefaultApi.md#update_app) | **PUT** /api/2/apps/{app_id} |
164
+ *OneLogin::DefaultApi* | [**update_authorization_server**](docs/DefaultApi.md#update_authorization_server) | **PUT** /api/2/api_authorizations/{id} |
165
+ *OneLogin::DefaultApi* | [**update_client_app**](docs/DefaultApi.md#update_client_app) | **PUT** /api/2/api_authorizations/{id}/clients/{client_app_id} |
166
+ *OneLogin::DefaultApi* | [**update_environment_variable**](docs/DefaultApi.md#update_environment_variable) | **PUT** /api/2/hooks/envs/{envvar_id} |
167
+ *OneLogin::DefaultApi* | [**update_hook**](docs/DefaultApi.md#update_hook) | **PUT** /api/2/hooks/{hook_id} |
168
+ *OneLogin::DefaultApi* | [**update_mapping**](docs/DefaultApi.md#update_mapping) | **PUT** /api/2/mappings/{mapping_id} |
169
+ *OneLogin::DefaultApi* | [**update_risk_rule**](docs/DefaultApi.md#update_risk_rule) | **PUT** /api/2/risk/rules/{risk_rule_id} |
170
+ *OneLogin::DefaultApi* | [**update_role**](docs/DefaultApi.md#update_role) | **PUT** /api/2/roles/{role_id} |
171
+ *OneLogin::DefaultApi* | [**update_rule**](docs/DefaultApi.md#update_rule) | **PUT** /api/2/apps/{app_id}/rules/{rule_id} |
172
+ *OneLogin::DefaultApi* | [**update_scope**](docs/DefaultApi.md#update_scope) | **PUT** /api/2/api_authorizations/{id}/scopes/{scope_id} |
173
+ *OneLogin::DefaultApi* | [**update_user**](docs/DefaultApi.md#update_user) | **PUT** /api/2/users/{user_id} |
174
+ *OneLogin::DefaultApi* | [**verify_enrollment**](docs/DefaultApi.md#verify_enrollment) | **PUT** /api/2/mfa/users/{user_id}/registrations/{registration_id} |
175
+ *OneLogin::DefaultApi* | [**verify_enrollment_voice_protect**](docs/DefaultApi.md#verify_enrollment_voice_protect) | **GET** /api/2/mfa/users/{user_id}/registrations/{registration_id} |
176
+ *OneLogin::DefaultApi* | [**verify_factor**](docs/DefaultApi.md#verify_factor) | **PUT** /api/2/mfa/users/{user_id}/verifications/{verification_id} |
177
+ *OneLogin::DefaultApi* | [**verify_factor_saml**](docs/DefaultApi.md#verify_factor_saml) | **POST** /api/2/saml_assertion/verify_factor |
178
+ *OneLogin::DefaultApi* | [**verify_factor_voice**](docs/DefaultApi.md#verify_factor_voice) | **GET** /api/2/mfa/users/{user_id}/verifications/{verification_id} |
179
+
180
+
181
+ ## Documentation for Models
182
+
183
+ - [OneLogin::Action](docs/Action.md)
184
+ - [OneLogin::ActivateFactorRequest](docs/ActivateFactorRequest.md)
185
+ - [OneLogin::AddAccessTokenClaimRequest](docs/AddAccessTokenClaimRequest.md)
186
+ - [OneLogin::AddClientAppRequest](docs/AddClientAppRequest.md)
187
+ - [OneLogin::AddRoleUsers200ResponseInner](docs/AddRoleUsers200ResponseInner.md)
188
+ - [OneLogin::AddScopeRequest](docs/AddScopeRequest.md)
189
+ - [OneLogin::AuthMethod](docs/AuthMethod.md)
190
+ - [OneLogin::AuthServerConfiguration](docs/AuthServerConfiguration.md)
191
+ - [OneLogin::ClientApp](docs/ClientApp.md)
192
+ - [OneLogin::Condition](docs/Condition.md)
193
+ - [OneLogin::Connector](docs/Connector.md)
194
+ - [OneLogin::CreateAuthorizationServerRequest](docs/CreateAuthorizationServerRequest.md)
195
+ - [OneLogin::CreateEnvironmentVariableRequest](docs/CreateEnvironmentVariableRequest.md)
196
+ - [OneLogin::CreateRoles201ResponseInner](docs/CreateRoles201ResponseInner.md)
197
+ - [OneLogin::Device](docs/Device.md)
198
+ - [OneLogin::EnrollFactorRequest](docs/EnrollFactorRequest.md)
199
+ - [OneLogin::Envvar](docs/Envvar.md)
200
+ - [OneLogin::ErrorStatus](docs/ErrorStatus.md)
201
+ - [OneLogin::ErrorStatusErrorsInner](docs/ErrorStatusErrorsInner.md)
202
+ - [OneLogin::FactorInner](docs/FactorInner.md)
203
+ - [OneLogin::FactorInnerFactorData](docs/FactorInnerFactorData.md)
204
+ - [OneLogin::GenerateMfaToken200Response](docs/GenerateMfaToken200Response.md)
205
+ - [OneLogin::GenerateMfaToken422Response](docs/GenerateMfaToken422Response.md)
206
+ - [OneLogin::GenerateMfaToken422ResponseDetails](docs/GenerateMfaToken422ResponseDetails.md)
207
+ - [OneLogin::GenerateMfaTokenRequest](docs/GenerateMfaTokenRequest.md)
208
+ - [OneLogin::GenerateSamlAssertionRequest](docs/GenerateSamlAssertionRequest.md)
209
+ - [OneLogin::GenerateToken200Response](docs/GenerateToken200Response.md)
210
+ - [OneLogin::GenerateToken400Response](docs/GenerateToken400Response.md)
211
+ - [OneLogin::GenerateTokenRequest](docs/GenerateTokenRequest.md)
212
+ - [OneLogin::GetAuthorizationServer200Response](docs/GetAuthorizationServer200Response.md)
213
+ - [OneLogin::GetAvailableFactors200ResponseInner](docs/GetAvailableFactors200ResponseInner.md)
214
+ - [OneLogin::GetClientApps200ResponseInner](docs/GetClientApps200ResponseInner.md)
215
+ - [OneLogin::GetClientApps200ResponseInnerScopesInner](docs/GetClientApps200ResponseInnerScopesInner.md)
216
+ - [OneLogin::GetRateLimit200Response](docs/GetRateLimit200Response.md)
217
+ - [OneLogin::GetRateLimit200ResponseData](docs/GetRateLimit200ResponseData.md)
218
+ - [OneLogin::GetRiskScore200Response](docs/GetRiskScore200Response.md)
219
+ - [OneLogin::GetRiskScore400Response](docs/GetRiskScore400Response.md)
220
+ - [OneLogin::GetRiskScoreRequest](docs/GetRiskScoreRequest.md)
221
+ - [OneLogin::GetScoreInsights200Response](docs/GetScoreInsights200Response.md)
222
+ - [OneLogin::GetScoreInsights200ResponseScores](docs/GetScoreInsights200ResponseScores.md)
223
+ - [OneLogin::GetUserApps200ResponseInner](docs/GetUserApps200ResponseInner.md)
224
+ - [OneLogin::Hook](docs/Hook.md)
225
+ - [OneLogin::HookConditionsInner](docs/HookConditionsInner.md)
226
+ - [OneLogin::HookOptions](docs/HookOptions.md)
227
+ - [OneLogin::HookStatus](docs/HookStatus.md)
228
+ - [OneLogin::Id](docs/Id.md)
229
+ - [OneLogin::ListAccessTokenClaims200ResponseInner](docs/ListAccessTokenClaims200ResponseInner.md)
230
+ - [OneLogin::ListActions200ResponseInner](docs/ListActions200ResponseInner.md)
231
+ - [OneLogin::ListAppUsers200ResponseInner](docs/ListAppUsers200ResponseInner.md)
232
+ - [OneLogin::ListAuthorizationServers200ResponseInner](docs/ListAuthorizationServers200ResponseInner.md)
233
+ - [OneLogin::ListAuthorizationServers200ResponseInnerConfiguration](docs/ListAuthorizationServers200ResponseInnerConfiguration.md)
234
+ - [OneLogin::ListConditionOperators200ResponseInner](docs/ListConditionOperators200ResponseInner.md)
235
+ - [OneLogin::ListConditionValues200ResponseInner](docs/ListConditionValues200ResponseInner.md)
236
+ - [OneLogin::ListConditions200ResponseInner](docs/ListConditions200ResponseInner.md)
237
+ - [OneLogin::ListMappingConditionOperators200ResponseInner](docs/ListMappingConditionOperators200ResponseInner.md)
238
+ - [OneLogin::ListMappingConditions200ResponseInner](docs/ListMappingConditions200ResponseInner.md)
239
+ - [OneLogin::ListScopes200ResponseInner](docs/ListScopes200ResponseInner.md)
240
+ - [OneLogin::Log](docs/Log.md)
241
+ - [OneLogin::Mapping](docs/Mapping.md)
242
+ - [OneLogin::Registration](docs/Registration.md)
243
+ - [OneLogin::RemoveRoleUsersRequest](docs/RemoveRoleUsersRequest.md)
244
+ - [OneLogin::RevokeTokenRequest](docs/RevokeTokenRequest.md)
245
+ - [OneLogin::RiskDevice](docs/RiskDevice.md)
246
+ - [OneLogin::RiskRule](docs/RiskRule.md)
247
+ - [OneLogin::RiskUser](docs/RiskUser.md)
248
+ - [OneLogin::Role](docs/Role.md)
249
+ - [OneLogin::Rule](docs/Rule.md)
250
+ - [OneLogin::RuleId](docs/RuleId.md)
251
+ - [OneLogin::Schema](docs/Schema.md)
252
+ - [OneLogin::Schema1](docs/Schema1.md)
253
+ - [OneLogin::Schema1AddedBy](docs/Schema1AddedBy.md)
254
+ - [OneLogin::SchemaProvisioning](docs/SchemaProvisioning.md)
255
+ - [OneLogin::Session](docs/Session.md)
256
+ - [OneLogin::SetRoleApps200ResponseInner](docs/SetRoleApps200ResponseInner.md)
257
+ - [OneLogin::Source](docs/Source.md)
258
+ - [OneLogin::Status](docs/Status.md)
259
+ - [OneLogin::Status1](docs/Status1.md)
260
+ - [OneLogin::Status2](docs/Status2.md)
261
+ - [OneLogin::Status2Status](docs/Status2Status.md)
262
+ - [OneLogin::TrackEventRequest](docs/TrackEventRequest.md)
263
+ - [OneLogin::UpdateAuthorizationServer400Response](docs/UpdateAuthorizationServer400Response.md)
264
+ - [OneLogin::UpdateClientAppRequest](docs/UpdateClientAppRequest.md)
265
+ - [OneLogin::UpdateEnvironmentVariableRequest](docs/UpdateEnvironmentVariableRequest.md)
266
+ - [OneLogin::UpdateRole200Response](docs/UpdateRole200Response.md)
267
+ - [OneLogin::User](docs/User.md)
268
+ - [OneLogin::VerifyEnrollmentRequest](docs/VerifyEnrollmentRequest.md)
269
+ - [OneLogin::VerifyFactorRequest](docs/VerifyFactorRequest.md)
270
+ - [OneLogin::VerifyFactorSaml200Response](docs/VerifyFactorSaml200Response.md)
271
+ - [OneLogin::VerifyFactorSamlRequest](docs/VerifyFactorSamlRequest.md)
272
+ - [OneLogin::VerifyFactorVoice200ResponseInner](docs/VerifyFactorVoice200ResponseInner.md)
273
+
274
+
275
+ ## Documentation for Authorization
276
+
277
+ All endpoints do not require authorization.
516
278
 
517
- Everyone interacting in the OneLogin Ruby Sdk project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/onelogin/onelogin-ruby-sdk/blob/master/CODE_OF_CONDUCT.md).