ory-kratos-client 0.7.6.alpha7 → 0.8.0.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (407) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +57 -40
  4. data/docs/AdminCreateIdentityBody.md +2 -0
  5. data/docs/AuthenticatorAssuranceLevel.md +15 -0
  6. data/docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md +34 -0
  7. data/docs/GenericError.md +2 -0
  8. data/docs/IdentityCredentials.md +1 -1
  9. data/docs/IdentityCredentialsType.md +15 -0
  10. data/docs/IdentitySchema.md +20 -0
  11. data/docs/MetadataApi.md +0 -61
  12. data/docs/NeedsPrivilegedSessionError.md +34 -0
  13. data/docs/SelfServiceBrowserLocationChangeRequiredError.md +34 -0
  14. data/docs/SelfServiceFlowExpiredError.md +36 -0
  15. data/docs/SelfServiceLoginFlow.md +7 -3
  16. data/docs/SelfServiceLogoutUrl.md +3 -1
  17. data/docs/SelfServiceRecoveryFlow.md +2 -0
  18. data/docs/SelfServiceRegistrationFlow.md +3 -1
  19. data/docs/SelfServiceSettingsFlow.md +2 -0
  20. data/docs/SelfServiceVerificationFlow.md +2 -0
  21. data/docs/Session.md +7 -3
  22. data/docs/SessionAuthenticationMethod.md +20 -0
  23. data/docs/SessionDevice.md +18 -0
  24. data/docs/SubmitSelfServiceLoginFlowBody.md +5 -2
  25. data/docs/SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.md +22 -0
  26. data/docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md +3 -1
  27. data/docs/SubmitSelfServiceLoginFlowWithTotpMethodBody.md +22 -0
  28. data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +22 -0
  29. data/docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md +3 -1
  30. data/docs/SubmitSelfServiceSettingsFlowBody.md +5 -2
  31. data/docs/SubmitSelfServiceSettingsFlowWithLookupMethodBody.md +28 -0
  32. data/docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md +2 -0
  33. data/docs/SubmitSelfServiceSettingsFlowWithTotpMethodBody.md +24 -0
  34. data/docs/SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody.md +26 -0
  35. data/docs/UiNode.md +1 -1
  36. data/docs/UiNodeAnchorAttributes.md +4 -0
  37. data/docs/UiNodeAttributes.md +34 -0
  38. data/docs/UiNodeImageAttributes.md +9 -1
  39. data/docs/UiNodeInputAttributes.md +4 -0
  40. data/docs/{Meta.md → UiNodeMeta.md} +2 -2
  41. data/docs/UiNodeScriptAttributes.md +32 -0
  42. data/docs/UiNodeTextAttributes.md +4 -0
  43. data/docs/{V0alpha1Api.md → V0alpha2Api.md} +405 -172
  44. data/lib/ory-kratos-client/api/metadata_api.rb +1 -56
  45. data/lib/ory-kratos-client/api/{v0alpha1_api.rb → v0alpha2_api.rb} +372 -149
  46. data/lib/ory-kratos-client/api_client.rb +1 -1
  47. data/lib/ory-kratos-client/api_error.rb +1 -1
  48. data/lib/ory-kratos-client/configuration.rb +1 -1
  49. data/lib/ory-kratos-client/models/admin_create_identity_body.rb +11 -2
  50. data/lib/ory-kratos-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  51. data/lib/ory-kratos-client/models/admin_update_identity_body.rb +1 -1
  52. data/lib/ory-kratos-client/models/authenticator_assurance_level.rb +39 -0
  53. data/lib/ory-kratos-client/models/error_authenticator_assurance_level_not_satisfied.rb +305 -0
  54. data/lib/ory-kratos-client/models/generic_error.rb +12 -2
  55. data/lib/ory-kratos-client/models/health_not_ready_status.rb +1 -1
  56. data/lib/ory-kratos-client/models/health_status.rb +1 -1
  57. data/lib/ory-kratos-client/models/identity.rb +1 -1
  58. data/lib/ory-kratos-client/models/identity_credentials.rb +2 -3
  59. data/lib/ory-kratos-client/models/identity_credentials_type.rb +38 -0
  60. data/lib/ory-kratos-client/models/{successful_self_service_settings_without_browser.rb → identity_schema.rb} +19 -28
  61. data/lib/ory-kratos-client/models/identity_state.rb +1 -1
  62. data/lib/ory-kratos-client/models/inline_response200.rb +1 -1
  63. data/lib/ory-kratos-client/models/inline_response2001.rb +1 -1
  64. data/lib/ory-kratos-client/models/inline_response503.rb +1 -1
  65. data/lib/ory-kratos-client/models/json_error.rb +1 -1
  66. data/lib/ory-kratos-client/models/needs_privileged_session_error.rb +311 -0
  67. data/lib/ory-kratos-client/models/recovery_address.rb +1 -1
  68. data/lib/ory-kratos-client/models/self_service_browser_location_change_required_error.rb +306 -0
  69. data/lib/ory-kratos-client/models/self_service_error.rb +1 -1
  70. data/lib/ory-kratos-client/models/self_service_flow_expired_error.rb +316 -0
  71. data/lib/ory-kratos-client/models/self_service_login_flow.rb +32 -14
  72. data/lib/ory-kratos-client/models/self_service_logout_url.rb +18 -3
  73. data/lib/ory-kratos-client/models/self_service_recovery_flow.rb +12 -2
  74. data/lib/ory-kratos-client/models/self_service_recovery_flow_state.rb +1 -1
  75. data/lib/ory-kratos-client/models/self_service_recovery_link.rb +1 -1
  76. data/lib/ory-kratos-client/models/self_service_registration_flow.rb +13 -4
  77. data/lib/ory-kratos-client/models/self_service_settings_flow.rb +12 -2
  78. data/lib/ory-kratos-client/models/self_service_settings_flow_state.rb +1 -1
  79. data/lib/ory-kratos-client/models/self_service_verification_flow.rb +12 -2
  80. data/lib/ory-kratos-client/models/self_service_verification_flow_state.rb +1 -1
  81. data/lib/ory-kratos-client/models/session.rb +26 -5
  82. data/lib/ory-kratos-client/models/session_authentication_method.rb +263 -0
  83. data/lib/ory-kratos-client/models/session_device.rb +219 -0
  84. data/lib/ory-kratos-client/models/settings_profile_form_config.rb +1 -1
  85. data/lib/ory-kratos-client/models/submit_self_service_login_flow_body.rb +5 -3
  86. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +249 -0
  87. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +16 -6
  88. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
  89. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_totp_method_body.rb +249 -0
  90. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +244 -0
  91. data/lib/ory-kratos-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  92. data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  93. data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  94. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_body.rb +1 -1
  95. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +16 -6
  96. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  97. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_body.rb +5 -3
  98. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +274 -0
  99. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +12 -2
  100. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  101. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  102. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +254 -0
  103. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +264 -0
  104. data/lib/ory-kratos-client/models/submit_self_service_verification_flow_body.rb +1 -1
  105. data/lib/ory-kratos-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  106. data/lib/ory-kratos-client/models/successful_self_service_login_without_browser.rb +1 -1
  107. data/lib/ory-kratos-client/models/successful_self_service_registration_without_browser.rb +1 -1
  108. data/lib/ory-kratos-client/models/ui_container.rb +1 -1
  109. data/lib/ory-kratos-client/models/ui_node.rb +2 -2
  110. data/lib/ory-kratos-client/models/ui_node_anchor_attributes.rb +31 -2
  111. data/lib/ory-kratos-client/models/ui_node_attributes.rb +23 -69
  112. data/lib/ory-kratos-client/models/ui_node_image_attributes.rb +54 -5
  113. data/lib/ory-kratos-client/models/ui_node_input_attributes.rb +26 -2
  114. data/lib/ory-kratos-client/models/{meta.rb → ui_node_meta.rb} +4 -4
  115. data/lib/ory-kratos-client/models/ui_node_script_attributes.rb +328 -0
  116. data/lib/ory-kratos-client/models/ui_node_text_attributes.rb +31 -2
  117. data/lib/ory-kratos-client/models/ui_text.rb +1 -1
  118. data/lib/ory-kratos-client/models/verifiable_identity_address.rb +1 -1
  119. data/lib/ory-kratos-client/models/version.rb +1 -1
  120. data/lib/ory-kratos-client/version.rb +2 -2
  121. data/lib/ory-kratos-client.rb +19 -4
  122. data/ory-kratos-client.gemspec +1 -1
  123. data/spec/api/metadata_api_spec.rb +1 -12
  124. data/spec/api/{v0alpha1_api_spec.rb → v0alpha2_api_spec.rb} +67 -22
  125. data/spec/api_client_spec.rb +1 -1
  126. data/spec/configuration_spec.rb +1 -1
  127. data/spec/models/admin_create_identity_body_spec.rb +7 -1
  128. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  129. data/spec/models/admin_update_identity_body_spec.rb +1 -1
  130. data/spec/models/authenticator_assurance_level_spec.rb +28 -0
  131. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +82 -0
  132. data/spec/models/generic_error_spec.rb +7 -1
  133. data/spec/models/health_not_ready_status_spec.rb +1 -1
  134. data/spec/models/health_status_spec.rb +1 -1
  135. data/spec/models/identity_credentials_spec.rb +1 -1
  136. data/spec/models/identity_credentials_type_spec.rb +28 -0
  137. data/spec/models/{successful_self_service_settings_without_browser_spec.rb → identity_schema_spec.rb} +9 -9
  138. data/spec/models/identity_spec.rb +1 -1
  139. data/spec/models/identity_state_spec.rb +1 -1
  140. data/spec/models/inline_response2001_spec.rb +1 -1
  141. data/spec/models/inline_response200_spec.rb +1 -1
  142. data/spec/models/inline_response503_spec.rb +1 -1
  143. data/spec/models/json_error_spec.rb +1 -1
  144. data/spec/models/needs_privileged_session_error_spec.rb +82 -0
  145. data/spec/models/recovery_address_spec.rb +1 -1
  146. data/spec/models/self_service_browser_location_change_required_error_spec.rb +82 -0
  147. data/spec/models/self_service_error_spec.rb +1 -1
  148. data/spec/models/self_service_flow_expired_error_spec.rb +88 -0
  149. data/spec/models/self_service_login_flow_spec.rb +16 -4
  150. data/spec/models/self_service_logout_url_spec.rb +7 -1
  151. data/spec/models/self_service_recovery_flow_spec.rb +7 -1
  152. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  153. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  154. data/spec/models/self_service_registration_flow_spec.rb +7 -1
  155. data/spec/models/self_service_settings_flow_spec.rb +7 -1
  156. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  157. data/spec/models/self_service_verification_flow_spec.rb +7 -1
  158. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  159. data/spec/models/session_authentication_method_spec.rb +44 -0
  160. data/spec/models/session_device_spec.rb +34 -0
  161. data/spec/models/session_spec.rb +13 -1
  162. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  163. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  164. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +46 -0
  165. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +7 -1
  166. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
  167. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +46 -0
  168. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +46 -0
  169. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  170. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  171. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  172. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  173. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +7 -1
  174. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  175. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  176. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +64 -0
  177. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +7 -1
  178. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  179. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  180. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +52 -0
  181. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +58 -0
  182. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  183. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  184. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  185. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  186. data/spec/models/ui_container_spec.rb +1 -1
  187. data/spec/models/ui_node_anchor_attributes_spec.rb +13 -1
  188. data/spec/models/ui_node_attributes_spec.rb +13 -1
  189. data/spec/models/ui_node_image_attributes_spec.rb +25 -1
  190. data/spec/models/ui_node_input_attributes_spec.rb +13 -1
  191. data/spec/models/{meta_spec.rb → ui_node_meta_spec.rb} +7 -7
  192. data/spec/models/ui_node_script_attributes_spec.rb +76 -0
  193. data/spec/models/ui_node_spec.rb +1 -1
  194. data/spec/models/ui_node_text_attributes_spec.rb +13 -1
  195. data/spec/models/ui_text_spec.rb +1 -1
  196. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  197. data/spec/models/version_spec.rb +1 -1
  198. data/spec/spec_helper.rb +1 -1
  199. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.15.0.gem +0 -0
  200. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.2.gem +0 -0
  201. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  202. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.4/gem_make.out +2 -2
  203. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  204. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.1 → psych-4.0.2}/gem.build_complete +0 -0
  205. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.1 → psych-4.0.2}/gem_make.out +6 -6
  206. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.1 → psych-4.0.2}/mkmf.log +0 -0
  207. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.1 → psych-4.0.2}/psych.so +0 -0
  208. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  209. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/.github/workflows/ruby.yml +0 -0
  210. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/.gitignore +0 -0
  211. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/.rspec +0 -0
  212. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/CHANGELOG.md +5 -1
  213. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/Gemfile +0 -0
  214. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/Guardfile +0 -0
  215. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/LICENSE +0 -0
  216. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/README.md +0 -0
  217. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/Rakefile +0 -0
  218. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/ethon.gemspec +0 -0
  219. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curl.rb +0 -0
  220. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/classes.rb +0 -0
  221. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/codes.rb +0 -0
  222. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/constants.rb +17 -0
  223. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/form_options.rb +0 -0
  224. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/functions.rb +1 -0
  225. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/infos.rb +0 -0
  226. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/messages.rb +0 -0
  227. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/options.rb +33 -2
  228. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/curls/settings.rb +2 -0
  229. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/callbacks.rb +0 -0
  230. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/debug_info.rb +0 -0
  231. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/features.rb +0 -0
  232. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/form.rb +0 -0
  233. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/header.rb +0 -0
  234. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/actionable.rb +0 -0
  235. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/custom.rb +0 -0
  236. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/delete.rb +0 -0
  237. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/get.rb +0 -0
  238. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/head.rb +0 -0
  239. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/options.rb +0 -0
  240. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/patch.rb +0 -0
  241. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/post.rb +0 -0
  242. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/postable.rb +0 -0
  243. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/put.rb +0 -0
  244. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http/putable.rb +0 -0
  245. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/http.rb +0 -0
  246. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/informations.rb +19 -1
  247. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/mirror.rb +0 -0
  248. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/operations.rb +1 -15
  249. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/options.rb +0 -0
  250. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/params.rb +0 -0
  251. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/queryable.rb +0 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/response_callbacks.rb +0 -0
  253. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy/util.rb +0 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/easy.rb +0 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/ethon_error.rb +0 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/global_init.rb +0 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/invalid_option.rb +0 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/invalid_value.rb +0 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_add.rb +0 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_fdset.rb +0 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_remove.rb +0 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/multi_timeout.rb +0 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors/select.rb +0 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/errors.rb +0 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/libc.rb +0 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/loggable.rb +0 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/multi/operations.rb +45 -8
  268. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/multi/options.rb +0 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/multi/stack.rb +0 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/multi.rb +22 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon/version.rb +1 -1
  272. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/lib/ethon.rb +0 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/benchmarks.rb +0 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/memory_leaks.rb +0 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/perf_spec_helper.rb +0 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/support/memory_test_helpers.rb +0 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/support/os_memory_leak_tracker.rb +0 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/profile/support/ruby_object_leak_tracker.rb +0 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/curl_spec.rb +0 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/callbacks_spec.rb +0 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/debug_info_spec.rb +0 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/features_spec.rb +0 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/form_spec.rb +0 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/header_spec.rb +0 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/custom_spec.rb +0 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/delete_spec.rb +0 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/get_spec.rb +0 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/head_spec.rb +0 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/options_spec.rb +0 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/patch_spec.rb +0 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/post_spec.rb +0 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http/put_spec.rb +0 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/http_spec.rb +0 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/informations_spec.rb +22 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/mirror_spec.rb +1 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/operations_spec.rb +0 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/options_spec.rb +0 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/queryable_spec.rb +0 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/response_callbacks_spec.rb +0 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy/util_spec.rb +0 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/easy_spec.rb +0 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/libc_spec.rb +0 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/loggable_spec.rb +0 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/multi/operations_spec.rb +0 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/multi/options_spec.rb +182 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/ethon/multi/stack_spec.rb +0 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/multi_spec.rb +152 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/spec_helper.rb +0 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/support/localhost_server.rb +0 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.14.0 → ethon-0.15.0}/spec/support/server.rb +0 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Makefile +2 -2
  312. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  313. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/.gitignore +0 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/Gemfile +0 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/LICENSE +0 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/Mavenfile +0 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/README.md +0 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/Rakefile +1 -1
  319. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/bin/console +0 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/bin/setup +0 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/.sitearchdir.time +0 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/Makefile +2 -2
  323. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/api.o +0 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/depend +0 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/dumper.o +0 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/emitter.o +0 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/extconf.rb +0 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/loader.o +0 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/parser.o +0 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych.c +0 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych.h +0 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych.o +0 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1/lib → psych-4.0.2/ext/psych}/psych.so +0 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_emitter.c +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_emitter.h +0 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_emitter.o +0 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_parser.c +0 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_parser.h +0 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_parser.o +0 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_to_ruby.c +0 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_to_ruby.h +0 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_to_ruby.o +0 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_yaml_tree.c +0 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_yaml_tree.h +0 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/psych_yaml_tree.o +0 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/reader.o +0 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/scanner.o +0 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/writer.o +0 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/LICENSE +0 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/api.c +0 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/config.h +0 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/dumper.c +0 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/emitter.c +0 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/loader.c +0 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/parser.c +0 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/reader.c +0 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/scanner.c +0 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/writer.c +0 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/yaml.h +0 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/ext/psych/yaml/yaml_private.h +0 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/class_loader.rb +0 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/coder.rb +0 -0
  363. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/core_ext.rb +0 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/exception.rb +0 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/handler.rb +0 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/handlers/document_stream.rb +0 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/handlers/recorder.rb +0 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/json/ruby_events.rb +0 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/json/stream.rb +0 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/json/tree_builder.rb +0 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/json/yaml_events.rb +0 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/alias.rb +0 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/document.rb +0 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/mapping.rb +0 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/node.rb +0 -0
  376. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/scalar.rb +0 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/sequence.rb +0 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes/stream.rb +0 -0
  379. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/nodes.rb +0 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/omap.rb +0 -0
  381. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/parser.rb +0 -0
  382. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/scalar_scanner.rb +8 -9
  383. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/set.rb +0 -0
  384. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/stream.rb +0 -0
  385. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/streaming.rb +0 -0
  386. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/syntax_error.rb +0 -0
  387. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/tree_builder.rb +0 -0
  388. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/versions.rb +1 -1
  389. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/depth_first.rb +0 -0
  390. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/emitter.rb +0 -0
  391. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/json_tree.rb +0 -0
  392. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/to_ruby.rb +0 -0
  393. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/visitor.rb +0 -0
  394. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors/yaml_tree.rb +2 -0
  395. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/visitors.rb +0 -0
  396. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych/y.rb +0 -0
  397. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/lib/psych.rb +1 -1
  398. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1/ext/psych → psych-4.0.2/lib}/psych.so +0 -0
  399. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.1 → psych-4.0.2}/psych.gemspec +0 -0
  400. data/vendor/bundle/ruby/2.5.0/specifications/{ethon-0.14.0.gemspec → ethon-0.15.0.gemspec} +3 -3
  401. data/vendor/bundle/ruby/2.5.0/specifications/{psych-4.0.1.gemspec → psych-4.0.2.gemspec} +3 -3
  402. metadata +271 -211
  403. data/docs/SuccessfulSelfServiceSettingsWithoutBrowser.md +0 -20
  404. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.14.0.gem +0 -0
  405. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.1.gem +0 -0
  406. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/spec/ethon/multi/options_spec.rb +0 -69
  407. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.14.0/spec/ethon/multi_spec.rb +0 -22
@@ -0,0 +1,244 @@
1
+ =begin
2
+ #Ory Kratos API
3
+
4
+ #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
+
6
+ The version of the OpenAPI document: v0.8.0-alpha.2
7
+ Contact: hi@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module OryKratosClient
17
+ class SubmitSelfServiceLoginFlowWithWebAuthnMethodBody
18
+ # Sending the anti-csrf token is only required for browser login flows.
19
+ attr_accessor :csrf_token
20
+
21
+ # Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy.
22
+ attr_accessor :method
23
+
24
+ # Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection.
25
+ attr_accessor :webauthn_login
26
+
27
+ # Attribute mapping from ruby-style variable name to JSON key.
28
+ def self.attribute_map
29
+ {
30
+ :'csrf_token' => :'csrf_token',
31
+ :'method' => :'method',
32
+ :'webauthn_login' => :'webauthn_login'
33
+ }
34
+ end
35
+
36
+ # Returns all the JSON keys this model knows about
37
+ def self.acceptable_attributes
38
+ attribute_map.values
39
+ end
40
+
41
+ # Attribute type mapping.
42
+ def self.openapi_types
43
+ {
44
+ :'csrf_token' => :'String',
45
+ :'method' => :'String',
46
+ :'webauthn_login' => :'String'
47
+ }
48
+ end
49
+
50
+ # List of attributes with nullable: true
51
+ def self.openapi_nullable
52
+ Set.new([
53
+ ])
54
+ end
55
+
56
+ # Initializes the object
57
+ # @param [Hash] attributes Model attributes in the form of hash
58
+ def initialize(attributes = {})
59
+ if (!attributes.is_a?(Hash))
60
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryKratosClient::SubmitSelfServiceLoginFlowWithWebAuthnMethodBody` initialize method"
61
+ end
62
+
63
+ # check to see if the attribute exists and convert string to symbol for hash key
64
+ attributes = attributes.each_with_object({}) { |(k, v), h|
65
+ if (!self.class.attribute_map.key?(k.to_sym))
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryKratosClient::SubmitSelfServiceLoginFlowWithWebAuthnMethodBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
67
+ end
68
+ h[k.to_sym] = v
69
+ }
70
+
71
+ if attributes.key?(:'csrf_token')
72
+ self.csrf_token = attributes[:'csrf_token']
73
+ end
74
+
75
+ if attributes.key?(:'method')
76
+ self.method = attributes[:'method']
77
+ end
78
+
79
+ if attributes.key?(:'webauthn_login')
80
+ self.webauthn_login = attributes[:'webauthn_login']
81
+ end
82
+ end
83
+
84
+ # Show invalid properties with the reasons. Usually used together with valid?
85
+ # @return Array for valid properties with the reasons
86
+ def list_invalid_properties
87
+ invalid_properties = Array.new
88
+ if @method.nil?
89
+ invalid_properties.push('invalid value for "method", method cannot be nil.')
90
+ end
91
+
92
+ invalid_properties
93
+ end
94
+
95
+ # Check to see if the all the properties in the model are valid
96
+ # @return true if the model is valid
97
+ def valid?
98
+ return false if @method.nil?
99
+ true
100
+ end
101
+
102
+ # Checks equality by comparing each attribute.
103
+ # @param [Object] Object to be compared
104
+ def ==(o)
105
+ return true if self.equal?(o)
106
+ self.class == o.class &&
107
+ csrf_token == o.csrf_token &&
108
+ method == o.method &&
109
+ webauthn_login == o.webauthn_login
110
+ end
111
+
112
+ # @see the `==` method
113
+ # @param [Object] Object to be compared
114
+ def eql?(o)
115
+ self == o
116
+ end
117
+
118
+ # Calculates hash code according to all attributes.
119
+ # @return [Integer] Hash code
120
+ def hash
121
+ [csrf_token, method, webauthn_login].hash
122
+ end
123
+
124
+ # Builds the object from hash
125
+ # @param [Hash] attributes Model attributes in the form of hash
126
+ # @return [Object] Returns the model itself
127
+ def self.build_from_hash(attributes)
128
+ new.build_from_hash(attributes)
129
+ end
130
+
131
+ # Builds the object from hash
132
+ # @param [Hash] attributes Model attributes in the form of hash
133
+ # @return [Object] Returns the model itself
134
+ def build_from_hash(attributes)
135
+ return nil unless attributes.is_a?(Hash)
136
+ self.class.openapi_types.each_pair do |key, type|
137
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
138
+ self.send("#{key}=", nil)
139
+ elsif type =~ /\AArray<(.*)>/i
140
+ # check to ensure the input is an array given that the attribute
141
+ # is documented as an array but the input is not
142
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
143
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
144
+ end
145
+ elsif !attributes[self.class.attribute_map[key]].nil?
146
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
147
+ end
148
+ end
149
+
150
+ self
151
+ end
152
+
153
+ # Deserializes the data based on type
154
+ # @param string type Data type
155
+ # @param string value Value to be deserialized
156
+ # @return [Object] Deserialized data
157
+ def _deserialize(type, value)
158
+ case type.to_sym
159
+ when :Time
160
+ Time.parse(value)
161
+ when :Date
162
+ Date.parse(value)
163
+ when :String
164
+ value.to_s
165
+ when :Integer
166
+ value.to_i
167
+ when :Float
168
+ value.to_f
169
+ when :Boolean
170
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
171
+ true
172
+ else
173
+ false
174
+ end
175
+ when :Object
176
+ # generic object (usually a Hash), return directly
177
+ value
178
+ when /\AArray<(?<inner_type>.+)>\z/
179
+ inner_type = Regexp.last_match[:inner_type]
180
+ value.map { |v| _deserialize(inner_type, v) }
181
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
182
+ k_type = Regexp.last_match[:k_type]
183
+ v_type = Regexp.last_match[:v_type]
184
+ {}.tap do |hash|
185
+ value.each do |k, v|
186
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
187
+ end
188
+ end
189
+ else # model
190
+ # models (e.g. Pet) or oneOf
191
+ klass = OryKratosClient.const_get(type)
192
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
193
+ end
194
+ end
195
+
196
+ # Returns the string representation of the object
197
+ # @return [String] String presentation of the object
198
+ def to_s
199
+ to_hash.to_s
200
+ end
201
+
202
+ # to_body is an alias to to_hash (backward compatibility)
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_body
205
+ to_hash
206
+ end
207
+
208
+ # Returns the object in the form of hash
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_hash
211
+ hash = {}
212
+ self.class.attribute_map.each_pair do |attr, param|
213
+ value = self.send(attr)
214
+ if value.nil?
215
+ is_nullable = self.class.openapi_nullable.include?(attr)
216
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
217
+ end
218
+
219
+ hash[param] = _to_hash(value)
220
+ end
221
+ hash
222
+ end
223
+
224
+ # Outputs non-array value in the form of hash
225
+ # For object, use to_hash. Otherwise, just return the value
226
+ # @param [Object] value Any valid value
227
+ # @return [Hash] Returns the value in the form of hash
228
+ def _to_hash(value)
229
+ if value.is_a?(Array)
230
+ value.compact.map { |v| _to_hash(v) }
231
+ elsif value.is_a?(Hash)
232
+ {}.tap do |hash|
233
+ value.each { |k, v| hash[k] = _to_hash(v) }
234
+ end
235
+ elsif value.respond_to? :to_hash
236
+ value.to_hash
237
+ else
238
+ value
239
+ end
240
+ end
241
+
242
+ end
243
+
244
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.7
6
+ The version of the OpenAPI document: v0.8.0-alpha.2
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.7
6
+ The version of the OpenAPI document: v0.8.0-alpha.2
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.7
6
+ The version of the OpenAPI document: v0.8.0-alpha.2
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.7
6
+ The version of the OpenAPI document: v0.8.0-alpha.2
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.7
6
+ The version of the OpenAPI document: v0.8.0-alpha.2
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -23,6 +23,9 @@ module OryKratosClient
23
23
  attr_accessor :method
24
24
 
25
25
  # The provider to register with
26
+ attr_accessor :provider
27
+
28
+ # The identity traits
26
29
  attr_accessor :traits
27
30
 
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -30,6 +33,7 @@ module OryKratosClient
30
33
  {
31
34
  :'csrf_token' => :'csrf_token',
32
35
  :'method' => :'method',
36
+ :'provider' => :'provider',
33
37
  :'traits' => :'traits'
34
38
  }
35
39
  end
@@ -44,7 +48,8 @@ module OryKratosClient
44
48
  {
45
49
  :'csrf_token' => :'String',
46
50
  :'method' => :'String',
47
- :'traits' => :'String'
51
+ :'provider' => :'String',
52
+ :'traits' => :'Object'
48
53
  }
49
54
  end
50
55
 
@@ -77,6 +82,10 @@ module OryKratosClient
77
82
  self.method = attributes[:'method']
78
83
  end
79
84
 
85
+ if attributes.key?(:'provider')
86
+ self.provider = attributes[:'provider']
87
+ end
88
+
80
89
  if attributes.key?(:'traits')
81
90
  self.traits = attributes[:'traits']
82
91
  end
@@ -90,8 +99,8 @@ module OryKratosClient
90
99
  invalid_properties.push('invalid value for "method", method cannot be nil.')
91
100
  end
92
101
 
93
- if @traits.nil?
94
- invalid_properties.push('invalid value for "traits", traits cannot be nil.')
102
+ if @provider.nil?
103
+ invalid_properties.push('invalid value for "provider", provider cannot be nil.')
95
104
  end
96
105
 
97
106
  invalid_properties
@@ -101,7 +110,7 @@ module OryKratosClient
101
110
  # @return true if the model is valid
102
111
  def valid?
103
112
  return false if @method.nil?
104
- return false if @traits.nil?
113
+ return false if @provider.nil?
105
114
  true
106
115
  end
107
116
 
@@ -112,6 +121,7 @@ module OryKratosClient
112
121
  self.class == o.class &&
113
122
  csrf_token == o.csrf_token &&
114
123
  method == o.method &&
124
+ provider == o.provider &&
115
125
  traits == o.traits
116
126
  end
117
127
 
@@ -124,7 +134,7 @@ module OryKratosClient
124
134
  # Calculates hash code according to all attributes.
125
135
  # @return [Integer] Hash code
126
136
  def hash
127
- [csrf_token, method, traits].hash
137
+ [csrf_token, method, provider, traits].hash
128
138
  end
129
139
 
130
140
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.7
6
+ The version of the OpenAPI document: v0.8.0-alpha.2
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.7
6
+ The version of the OpenAPI document: v0.8.0-alpha.2
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -21,7 +21,8 @@ module OryKratosClient
21
21
  [
22
22
  :'SubmitSelfServiceSettingsFlowWithOidcMethodBody',
23
23
  :'SubmitSelfServiceSettingsFlowWithPasswordMethodBody',
24
- :'SubmitSelfServiceSettingsFlowWithProfileMethodBody'
24
+ :'SubmitSelfServiceSettingsFlowWithProfileMethodBody',
25
+ :'SubmitSelfServiceSettingsFlowWithTotpMethodBody'
25
26
  ]
26
27
  end
27
28
 
@@ -35,7 +36,8 @@ module OryKratosClient
35
36
  {
36
37
  :'oidc' => :'SubmitSelfServiceSettingsFlowWithOidcMethodBody',
37
38
  :'password' => :'SubmitSelfServiceSettingsFlowWithPasswordMethodBody',
38
- :'profile' => :'SubmitSelfServiceSettingsFlowWithProfileMethodBody'
39
+ :'profile' => :'SubmitSelfServiceSettingsFlowWithProfileMethodBody',
40
+ :'totp' => :'SubmitSelfServiceSettingsFlowWithTotpMethodBody'
39
41
  }
40
42
  end
41
43
 
@@ -0,0 +1,274 @@
1
+ =begin
2
+ #Ory Kratos API
3
+
4
+ #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
+
6
+ The version of the OpenAPI document: v0.8.0-alpha.2
7
+ Contact: hi@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module OryKratosClient
17
+ class SubmitSelfServiceSettingsFlowWithLookupMethodBody
18
+ # CSRFToken is the anti-CSRF token
19
+ attr_accessor :csrf_token
20
+
21
+ # If set to true will save the regenerated lookup secrets
22
+ attr_accessor :lookup_secret_confirm
23
+
24
+ # Disables this method if true.
25
+ attr_accessor :lookup_secret_disable
26
+
27
+ # If set to true will regenerate the lookup secrets
28
+ attr_accessor :lookup_secret_regenerate
29
+
30
+ # If set to true will reveal the lookup secrets
31
+ attr_accessor :lookup_secret_reveal
32
+
33
+ # Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing.
34
+ attr_accessor :method
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ def self.attribute_map
38
+ {
39
+ :'csrf_token' => :'csrf_token',
40
+ :'lookup_secret_confirm' => :'lookup_secret_confirm',
41
+ :'lookup_secret_disable' => :'lookup_secret_disable',
42
+ :'lookup_secret_regenerate' => :'lookup_secret_regenerate',
43
+ :'lookup_secret_reveal' => :'lookup_secret_reveal',
44
+ :'method' => :'method'
45
+ }
46
+ end
47
+
48
+ # Returns all the JSON keys this model knows about
49
+ def self.acceptable_attributes
50
+ attribute_map.values
51
+ end
52
+
53
+ # Attribute type mapping.
54
+ def self.openapi_types
55
+ {
56
+ :'csrf_token' => :'String',
57
+ :'lookup_secret_confirm' => :'Boolean',
58
+ :'lookup_secret_disable' => :'Boolean',
59
+ :'lookup_secret_regenerate' => :'Boolean',
60
+ :'lookup_secret_reveal' => :'Boolean',
61
+ :'method' => :'String'
62
+ }
63
+ end
64
+
65
+ # List of attributes with nullable: true
66
+ def self.openapi_nullable
67
+ Set.new([
68
+ ])
69
+ end
70
+
71
+ # Initializes the object
72
+ # @param [Hash] attributes Model attributes in the form of hash
73
+ def initialize(attributes = {})
74
+ if (!attributes.is_a?(Hash))
75
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryKratosClient::SubmitSelfServiceSettingsFlowWithLookupMethodBody` initialize method"
76
+ end
77
+
78
+ # check to see if the attribute exists and convert string to symbol for hash key
79
+ attributes = attributes.each_with_object({}) { |(k, v), h|
80
+ if (!self.class.attribute_map.key?(k.to_sym))
81
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryKratosClient::SubmitSelfServiceSettingsFlowWithLookupMethodBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
82
+ end
83
+ h[k.to_sym] = v
84
+ }
85
+
86
+ if attributes.key?(:'csrf_token')
87
+ self.csrf_token = attributes[:'csrf_token']
88
+ end
89
+
90
+ if attributes.key?(:'lookup_secret_confirm')
91
+ self.lookup_secret_confirm = attributes[:'lookup_secret_confirm']
92
+ end
93
+
94
+ if attributes.key?(:'lookup_secret_disable')
95
+ self.lookup_secret_disable = attributes[:'lookup_secret_disable']
96
+ end
97
+
98
+ if attributes.key?(:'lookup_secret_regenerate')
99
+ self.lookup_secret_regenerate = attributes[:'lookup_secret_regenerate']
100
+ end
101
+
102
+ if attributes.key?(:'lookup_secret_reveal')
103
+ self.lookup_secret_reveal = attributes[:'lookup_secret_reveal']
104
+ end
105
+
106
+ if attributes.key?(:'method')
107
+ self.method = attributes[:'method']
108
+ end
109
+ end
110
+
111
+ # Show invalid properties with the reasons. Usually used together with valid?
112
+ # @return Array for valid properties with the reasons
113
+ def list_invalid_properties
114
+ invalid_properties = Array.new
115
+ if @method.nil?
116
+ invalid_properties.push('invalid value for "method", method cannot be nil.')
117
+ end
118
+
119
+ invalid_properties
120
+ end
121
+
122
+ # Check to see if the all the properties in the model are valid
123
+ # @return true if the model is valid
124
+ def valid?
125
+ return false if @method.nil?
126
+ true
127
+ end
128
+
129
+ # Checks equality by comparing each attribute.
130
+ # @param [Object] Object to be compared
131
+ def ==(o)
132
+ return true if self.equal?(o)
133
+ self.class == o.class &&
134
+ csrf_token == o.csrf_token &&
135
+ lookup_secret_confirm == o.lookup_secret_confirm &&
136
+ lookup_secret_disable == o.lookup_secret_disable &&
137
+ lookup_secret_regenerate == o.lookup_secret_regenerate &&
138
+ lookup_secret_reveal == o.lookup_secret_reveal &&
139
+ method == o.method
140
+ end
141
+
142
+ # @see the `==` method
143
+ # @param [Object] Object to be compared
144
+ def eql?(o)
145
+ self == o
146
+ end
147
+
148
+ # Calculates hash code according to all attributes.
149
+ # @return [Integer] Hash code
150
+ def hash
151
+ [csrf_token, lookup_secret_confirm, lookup_secret_disable, lookup_secret_regenerate, lookup_secret_reveal, method].hash
152
+ end
153
+
154
+ # Builds the object from hash
155
+ # @param [Hash] attributes Model attributes in the form of hash
156
+ # @return [Object] Returns the model itself
157
+ def self.build_from_hash(attributes)
158
+ new.build_from_hash(attributes)
159
+ end
160
+
161
+ # Builds the object from hash
162
+ # @param [Hash] attributes Model attributes in the form of hash
163
+ # @return [Object] Returns the model itself
164
+ def build_from_hash(attributes)
165
+ return nil unless attributes.is_a?(Hash)
166
+ self.class.openapi_types.each_pair do |key, type|
167
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
168
+ self.send("#{key}=", nil)
169
+ elsif type =~ /\AArray<(.*)>/i
170
+ # check to ensure the input is an array given that the attribute
171
+ # is documented as an array but the input is not
172
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
173
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
174
+ end
175
+ elsif !attributes[self.class.attribute_map[key]].nil?
176
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
177
+ end
178
+ end
179
+
180
+ self
181
+ end
182
+
183
+ # Deserializes the data based on type
184
+ # @param string type Data type
185
+ # @param string value Value to be deserialized
186
+ # @return [Object] Deserialized data
187
+ def _deserialize(type, value)
188
+ case type.to_sym
189
+ when :Time
190
+ Time.parse(value)
191
+ when :Date
192
+ Date.parse(value)
193
+ when :String
194
+ value.to_s
195
+ when :Integer
196
+ value.to_i
197
+ when :Float
198
+ value.to_f
199
+ when :Boolean
200
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
201
+ true
202
+ else
203
+ false
204
+ end
205
+ when :Object
206
+ # generic object (usually a Hash), return directly
207
+ value
208
+ when /\AArray<(?<inner_type>.+)>\z/
209
+ inner_type = Regexp.last_match[:inner_type]
210
+ value.map { |v| _deserialize(inner_type, v) }
211
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
212
+ k_type = Regexp.last_match[:k_type]
213
+ v_type = Regexp.last_match[:v_type]
214
+ {}.tap do |hash|
215
+ value.each do |k, v|
216
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
217
+ end
218
+ end
219
+ else # model
220
+ # models (e.g. Pet) or oneOf
221
+ klass = OryKratosClient.const_get(type)
222
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
223
+ end
224
+ end
225
+
226
+ # Returns the string representation of the object
227
+ # @return [String] String presentation of the object
228
+ def to_s
229
+ to_hash.to_s
230
+ end
231
+
232
+ # to_body is an alias to to_hash (backward compatibility)
233
+ # @return [Hash] Returns the object in the form of hash
234
+ def to_body
235
+ to_hash
236
+ end
237
+
238
+ # Returns the object in the form of hash
239
+ # @return [Hash] Returns the object in the form of hash
240
+ def to_hash
241
+ hash = {}
242
+ self.class.attribute_map.each_pair do |attr, param|
243
+ value = self.send(attr)
244
+ if value.nil?
245
+ is_nullable = self.class.openapi_nullable.include?(attr)
246
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
247
+ end
248
+
249
+ hash[param] = _to_hash(value)
250
+ end
251
+ hash
252
+ end
253
+
254
+ # Outputs non-array value in the form of hash
255
+ # For object, use to_hash. Otherwise, just return the value
256
+ # @param [Object] value Any valid value
257
+ # @return [Hash] Returns the value in the form of hash
258
+ def _to_hash(value)
259
+ if value.is_a?(Array)
260
+ value.compact.map { |v| _to_hash(v) }
261
+ elsif value.is_a?(Hash)
262
+ {}.tap do |hash|
263
+ value.each { |k, v| hash[k] = _to_hash(v) }
264
+ end
265
+ elsif value.respond_to? :to_hash
266
+ value.to_hash
267
+ else
268
+ value
269
+ end
270
+ end
271
+
272
+ end
273
+
274
+ end