ory-client 0.1.0.alpha12 → 0.2.0.alpha14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (505) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +120 -23
  4. data/docs/AcceptOAuth2ConsentRequest.md +28 -0
  5. data/docs/AcceptOAuth2ConsentRequestSession.md +20 -0
  6. data/docs/AcceptOAuth2LoginRequest.md +30 -0
  7. data/docs/AdminApi.md +76 -0
  8. data/docs/AdminCreateJsonWebKeySetBody.md +22 -0
  9. data/docs/AdminTrustOAuth2JwtGrantIssuerBody.md +28 -0
  10. data/docs/AdminUpdateIdentityBody.md +2 -0
  11. data/docs/{IdentitySchemaLocation.md → GetManagedIdentitySchemaLocation.md} +2 -2
  12. data/docs/{InlineResponse2001.md → GetVersion200Response.md} +2 -2
  13. data/docs/HandledOAuth2ConsentRequest.md +18 -0
  14. data/docs/HandledOAuth2LoginRequest.md +18 -0
  15. data/docs/HandledOAuth2LogoutRequest.md +18 -0
  16. data/docs/Headers.md +18 -0
  17. data/docs/IDTokenClaims.md +44 -0
  18. data/docs/IdentitySchemaContainer.md +20 -0
  19. data/docs/IntrospectedOAuth2Token.md +44 -0
  20. data/docs/{InlineResponse200.md → IsReady200Response.md} +2 -2
  21. data/docs/{InlineResponse503.md → IsReady503Response.md} +2 -2
  22. data/docs/JsonPatch.md +4 -2
  23. data/docs/JsonWebKey.md +50 -0
  24. data/docs/JsonWebKeySet.md +18 -0
  25. data/docs/{IdentitySchema.md → ManagedIdentitySchema.md} +2 -4
  26. data/docs/{IdentitySchemaValidationResult.md → ManagedIdentitySchemaValidationResult.md} +2 -2
  27. data/docs/MetadataApi.md +12 -12
  28. data/docs/NormalizedProjectRevision.md +82 -0
  29. data/docs/NormalizedProjectRevisionIdentitySchema.md +1 -1
  30. data/docs/OAuth2AccessRequest.md +24 -0
  31. data/docs/OAuth2ApiError.md +24 -0
  32. data/docs/OAuth2Client.md +110 -0
  33. data/docs/OAuth2ConsentRequest.md +42 -0
  34. data/docs/OAuth2ConsentRequestOpenIDConnectContext.md +26 -0
  35. data/docs/OAuth2ConsentSession.md +36 -0
  36. data/docs/OAuth2LoginRequest.md +34 -0
  37. data/docs/OAuth2LogoutRequest.md +28 -0
  38. data/docs/OAuth2TokenResponse.md +28 -0
  39. data/docs/OidcConfiguration.md +74 -0
  40. data/docs/OidcUserInfo.md +54 -0
  41. data/docs/Pagination.md +5 -1
  42. data/docs/PaginationHeaders.md +20 -0
  43. data/docs/PreviousOAuth2ConsentSession.md +30 -0
  44. data/docs/ProjectServiceOAuth2.md +18 -0
  45. data/docs/ProjectServices.md +2 -0
  46. data/docs/RefreshTokenHookRequest.md +28 -0
  47. data/docs/RefreshTokenHookResponse.md +18 -0
  48. data/docs/RejectOAuth2Request.md +26 -0
  49. data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +1 -1
  50. data/docs/Subscription.md +2 -2
  51. data/docs/SuccessfulOAuth2RequestResponse.md +18 -0
  52. data/docs/TokenPagination.md +20 -0
  53. data/docs/TokenPaginationHeaders.md +20 -0
  54. data/docs/TrustedOAuth2JwtGrantIssuer.md +32 -0
  55. data/docs/TrustedOAuth2JwtGrantJsonWebKey.md +20 -0
  56. data/docs/UiNodeInputAttributes.md +3 -1
  57. data/docs/UpdateOAuth2ClientLifespans.md +40 -0
  58. data/docs/V0alpha2Api.md +3304 -245
  59. data/docs/VerifiableIdentityAddress.md +1 -1
  60. data/lib/ory-client/api/admin_api.rb +90 -0
  61. data/lib/ory-client/api/metadata_api.rb +11 -11
  62. data/lib/ory-client/api/read_api.rb +2 -2
  63. data/lib/ory-client/api/v0alpha2_api.rb +3162 -275
  64. data/lib/ory-client/api/write_api.rb +2 -2
  65. data/lib/ory-client/api_client.rb +5 -3
  66. data/lib/ory-client/api_error.rb +2 -2
  67. data/lib/ory-client/configuration.rb +25 -3
  68. data/lib/ory-client/models/accept_o_auth2_consent_request.rb +270 -0
  69. data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +232 -0
  70. data/lib/ory-client/models/accept_o_auth2_login_request.rb +285 -0
  71. data/lib/ory-client/models/active_project.rb +3 -2
  72. data/lib/ory-client/models/admin_create_identity_body.rb +3 -2
  73. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +3 -2
  74. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +3 -2
  75. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +3 -2
  76. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +3 -2
  77. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +3 -2
  78. data/lib/ory-client/models/admin_create_json_web_key_set_body.rb +255 -0
  79. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +3 -2
  80. data/lib/ory-client/models/admin_identity_import_credentials.rb +3 -2
  81. data/lib/ory-client/models/admin_trust_o_auth2_jwt_grant_issuer_body.rb +291 -0
  82. data/lib/ory-client/models/admin_update_identity_body.rb +13 -3
  83. data/lib/ory-client/models/api_token.rb +3 -2
  84. data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
  85. data/lib/ory-client/models/cloud_account.rb +3 -2
  86. data/lib/ory-client/models/cname_settings.rb +3 -2
  87. data/lib/ory-client/models/create_custom_hostname_body.rb +3 -2
  88. data/lib/ory-client/models/create_project_body.rb +3 -2
  89. data/lib/ory-client/models/create_subscription_payload.rb +3 -2
  90. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +3 -2
  91. data/lib/ory-client/models/expand_tree.rb +3 -2
  92. data/lib/ory-client/models/generic_error.rb +3 -2
  93. data/lib/ory-client/models/generic_error_content.rb +3 -2
  94. data/lib/ory-client/models/get_check_response.rb +3 -2
  95. data/lib/ory-client/models/{identity_schema_location.rb → get_managed_identity_schema_location.rb} +6 -5
  96. data/lib/ory-client/models/get_relation_tuples_response.rb +3 -2
  97. data/lib/ory-client/models/{inline_response2001.rb → get_version200_response.rb} +6 -5
  98. data/lib/ory-client/models/handled_o_auth2_consent_request.rb +225 -0
  99. data/lib/ory-client/models/handled_o_auth2_login_request.rb +225 -0
  100. data/lib/ory-client/models/handled_o_auth2_logout_request.rb +225 -0
  101. data/lib/ory-client/models/headers.rb +222 -0
  102. data/lib/ory-client/models/health_not_ready_status.rb +3 -2
  103. data/lib/ory-client/models/health_status.rb +3 -2
  104. data/lib/ory-client/models/id_token_claims.rb +343 -0
  105. data/lib/ory-client/models/identity.rb +3 -2
  106. data/lib/ory-client/models/identity_credentials.rb +3 -2
  107. data/lib/ory-client/models/identity_credentials_oidc.rb +3 -2
  108. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +3 -2
  109. data/lib/ory-client/models/identity_credentials_password.rb +3 -2
  110. data/lib/ory-client/models/identity_credentials_type.rb +2 -2
  111. data/lib/ory-client/models/identity_schema_container.rb +230 -0
  112. data/lib/ory-client/models/identity_schema_preset.rb +3 -2
  113. data/lib/ory-client/models/identity_state.rb +2 -2
  114. data/lib/ory-client/models/internal_relation_tuple.rb +3 -2
  115. data/lib/ory-client/models/introspected_o_auth2_token.rb +360 -0
  116. data/lib/ory-client/models/invite_payload.rb +3 -2
  117. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +3 -2
  118. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +3 -2
  119. data/lib/ory-client/models/{inline_response200.rb → is_ready200_response.rb} +6 -5
  120. data/lib/ory-client/models/{inline_response503.rb → is_ready503_response.rb} +6 -5
  121. data/lib/ory-client/models/json_error.rb +3 -2
  122. data/lib/ory-client/models/json_patch.rb +14 -3
  123. data/lib/ory-client/models/json_web_key.rb +390 -0
  124. data/lib/ory-client/models/json_web_key_set.rb +223 -0
  125. data/lib/ory-client/models/keto_namespace.rb +3 -2
  126. data/lib/ory-client/models/{identity_schema.rb → managed_identity_schema.rb} +7 -16
  127. data/lib/ory-client/models/{identity_schema_validation_result.rb → managed_identity_schema_validation_result.rb} +6 -5
  128. data/lib/ory-client/models/needs_privileged_session_error.rb +3 -2
  129. data/lib/ory-client/models/normalized_project.rb +3 -2
  130. data/lib/ory-client/models/normalized_project_revision.rb +527 -3
  131. data/lib/ory-client/models/normalized_project_revision_hook.rb +3 -2
  132. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +4 -3
  133. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +3 -2
  134. data/lib/ory-client/models/null_plan.rb +4 -2
  135. data/lib/ory-client/models/o_auth2_access_request.rb +256 -0
  136. data/lib/ory-client/models/o_auth2_api_error.rb +251 -0
  137. data/lib/ory-client/models/o_auth2_client.rb +890 -0
  138. data/lib/ory-client/models/o_auth2_consent_request.rb +345 -0
  139. data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +266 -0
  140. data/lib/ory-client/models/o_auth2_consent_session.rb +304 -0
  141. data/lib/ory-client/models/o_auth2_login_request.rb +335 -0
  142. data/lib/ory-client/models/o_auth2_logout_request.rb +269 -0
  143. data/lib/ory-client/models/o_auth2_token_response.rb +271 -0
  144. data/lib/ory-client/models/oidc_configuration.rb +572 -0
  145. data/lib/ory-client/models/oidc_user_info.rb +401 -0
  146. data/lib/ory-client/models/pagination.rb +59 -4
  147. data/lib/ory-client/models/pagination_headers.rb +230 -0
  148. data/lib/ory-client/models/patch_delta.rb +3 -2
  149. data/lib/ory-client/models/previous_o_auth2_consent_session.rb +280 -0
  150. data/lib/ory-client/models/project.rb +3 -2
  151. data/lib/ory-client/models/project_host.rb +3 -2
  152. data/lib/ory-client/models/project_invite.rb +3 -2
  153. data/lib/ory-client/models/project_metadata.rb +3 -2
  154. data/lib/ory-client/models/project_service_identity.rb +3 -2
  155. data/lib/ory-client/models/project_service_o_auth2.rb +224 -0
  156. data/lib/ory-client/models/project_service_permission.rb +3 -2
  157. data/lib/ory-client/models/project_services.rb +13 -3
  158. data/lib/ory-client/models/provision_mock_subscription_payload.rb +3 -2
  159. data/lib/ory-client/models/quota_custom_domains.rb +3 -2
  160. data/lib/ory-client/models/quota_project_member_seats.rb +3 -2
  161. data/lib/ory-client/models/recovery_address.rb +3 -2
  162. data/lib/ory-client/models/refresh_token_hook_request.rb +272 -0
  163. data/lib/ory-client/models/refresh_token_hook_response.rb +219 -0
  164. data/lib/ory-client/models/reject_o_auth2_request.rb +260 -0
  165. data/lib/ory-client/models/relation_query.rb +3 -2
  166. data/lib/ory-client/models/revoked_sessions.rb +3 -2
  167. data/lib/ory-client/models/schema_patch.rb +3 -2
  168. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +3 -2
  169. data/lib/ory-client/models/self_service_error.rb +3 -2
  170. data/lib/ory-client/models/self_service_flow_expired_error.rb +3 -2
  171. data/lib/ory-client/models/self_service_login_flow.rb +3 -2
  172. data/lib/ory-client/models/self_service_logout_url.rb +3 -2
  173. data/lib/ory-client/models/self_service_recovery_flow.rb +3 -2
  174. data/lib/ory-client/models/self_service_recovery_flow_state.rb +2 -2
  175. data/lib/ory-client/models/self_service_recovery_link.rb +3 -2
  176. data/lib/ory-client/models/self_service_registration_flow.rb +3 -2
  177. data/lib/ory-client/models/self_service_settings_flow.rb +3 -2
  178. data/lib/ory-client/models/self_service_settings_flow_state.rb +2 -2
  179. data/lib/ory-client/models/self_service_verification_flow.rb +3 -2
  180. data/lib/ory-client/models/self_service_verification_flow_state.rb +2 -2
  181. data/lib/ory-client/models/session.rb +3 -2
  182. data/lib/ory-client/models/session_authentication_method.rb +3 -2
  183. data/lib/ory-client/models/session_device.rb +3 -2
  184. data/lib/ory-client/models/settings_profile_form_config.rb +3 -2
  185. data/lib/ory-client/models/stripe_customer_response.rb +3 -2
  186. data/lib/ory-client/models/subject_set.rb +3 -2
  187. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +3 -2
  188. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +4 -4
  189. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +3 -2
  190. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +3 -2
  191. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +3 -2
  192. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +3 -2
  193. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +9 -3
  194. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +3 -2
  195. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +4 -4
  196. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +3 -2
  197. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +4 -4
  198. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +3 -2
  199. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +3 -2
  200. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +3 -2
  201. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +4 -4
  202. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +3 -2
  203. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +3 -2
  204. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +3 -2
  205. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +3 -2
  206. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +3 -2
  207. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +3 -2
  208. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +4 -4
  209. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +3 -2
  210. data/lib/ory-client/models/subscription.rb +7 -5
  211. data/lib/ory-client/models/successful_o_auth2_request_response.rb +225 -0
  212. data/lib/ory-client/models/successful_project_update.rb +3 -2
  213. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +3 -2
  214. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +3 -2
  215. data/lib/ory-client/models/token_pagination.rb +264 -0
  216. data/lib/ory-client/models/token_pagination_headers.rb +230 -0
  217. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +290 -0
  218. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +230 -0
  219. data/lib/ory-client/models/ui_container.rb +3 -2
  220. data/lib/ory-client/models/ui_node.rb +3 -2
  221. data/lib/ory-client/models/ui_node_anchor_attributes.rb +3 -2
  222. data/lib/ory-client/models/ui_node_attributes.rb +4 -4
  223. data/lib/ory-client/models/ui_node_image_attributes.rb +3 -2
  224. data/lib/ory-client/models/ui_node_input_attributes.rb +49 -3
  225. data/lib/ory-client/models/ui_node_meta.rb +3 -2
  226. data/lib/ory-client/models/ui_node_script_attributes.rb +3 -2
  227. data/lib/ory-client/models/ui_node_text_attributes.rb +3 -2
  228. data/lib/ory-client/models/ui_text.rb +3 -2
  229. data/lib/ory-client/models/update_custom_hostname_body.rb +3 -2
  230. data/lib/ory-client/models/update_o_auth2_client_lifespans.rb +535 -0
  231. data/lib/ory-client/models/update_project.rb +3 -2
  232. data/lib/ory-client/models/update_subscription_payload.rb +3 -2
  233. data/lib/ory-client/models/verifiable_identity_address.rb +3 -7
  234. data/lib/ory-client/models/version.rb +3 -2
  235. data/lib/ory-client/models/warning.rb +3 -2
  236. data/lib/ory-client/version.rb +3 -3
  237. data/lib/ory-client.rb +46 -8
  238. data/ory-client.gemspec +2 -2
  239. data/spec/api/admin_api_spec.rb +47 -0
  240. data/spec/api/metadata_api_spec.rb +5 -5
  241. data/spec/api/read_api_spec.rb +2 -2
  242. data/spec/api/v0alpha2_api_spec.rb +555 -13
  243. data/spec/api/write_api_spec.rb +2 -2
  244. data/spec/api_client_spec.rb +2 -2
  245. data/spec/configuration_spec.rb +2 -2
  246. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +40 -0
  247. data/spec/models/accept_o_auth2_consent_request_spec.rb +64 -0
  248. data/spec/models/accept_o_auth2_login_request_spec.rb +70 -0
  249. data/spec/models/active_project_spec.rb +2 -2
  250. data/spec/models/admin_create_identity_body_spec.rb +2 -2
  251. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +2 -2
  252. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +2 -2
  253. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +2 -2
  254. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +2 -2
  255. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +2 -2
  256. data/spec/models/admin_create_json_web_key_set_body_spec.rb +46 -0
  257. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +2 -2
  258. data/spec/models/admin_identity_import_credentials_spec.rb +2 -2
  259. data/spec/models/admin_trust_o_auth2_jwt_grant_issuer_body_spec.rb +64 -0
  260. data/spec/models/admin_update_identity_body_spec.rb +8 -2
  261. data/spec/models/api_token_spec.rb +2 -2
  262. data/spec/models/authenticator_assurance_level_spec.rb +2 -2
  263. data/spec/models/cloud_account_spec.rb +2 -2
  264. data/spec/models/cname_settings_spec.rb +2 -2
  265. data/spec/models/create_custom_hostname_body_spec.rb +2 -2
  266. data/spec/models/create_project_body_spec.rb +2 -2
  267. data/spec/models/create_subscription_payload_spec.rb +2 -2
  268. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
  269. data/spec/models/expand_tree_spec.rb +2 -2
  270. data/spec/models/generic_error_content_spec.rb +2 -2
  271. data/spec/models/generic_error_spec.rb +2 -2
  272. data/spec/models/get_check_response_spec.rb +2 -2
  273. data/spec/models/{identity_schema_location_spec.rb → get_managed_identity_schema_location_spec.rb} +8 -8
  274. data/spec/models/get_relation_tuples_response_spec.rb +2 -2
  275. data/spec/models/{inline_response2001_spec.rb → get_version200_response_spec.rb} +8 -8
  276. data/spec/models/handled_o_auth2_consent_request_spec.rb +34 -0
  277. data/spec/models/handled_o_auth2_login_request_spec.rb +34 -0
  278. data/spec/models/handled_o_auth2_logout_request_spec.rb +34 -0
  279. data/spec/models/headers_spec.rb +34 -0
  280. data/spec/models/health_not_ready_status_spec.rb +2 -2
  281. data/spec/models/health_status_spec.rb +2 -2
  282. data/spec/models/id_token_claims_spec.rb +112 -0
  283. data/spec/models/identity_credentials_oidc_provider_spec.rb +2 -2
  284. data/spec/models/identity_credentials_oidc_spec.rb +2 -2
  285. data/spec/models/identity_credentials_password_spec.rb +2 -2
  286. data/spec/models/identity_credentials_spec.rb +2 -2
  287. data/spec/models/identity_credentials_type_spec.rb +2 -2
  288. data/spec/models/{identity_schema_validation_result_spec.rb → identity_schema_container_spec.rb} +10 -10
  289. data/spec/models/identity_schema_preset_spec.rb +2 -2
  290. data/spec/models/identity_spec.rb +2 -2
  291. data/spec/models/identity_state_spec.rb +2 -2
  292. data/spec/models/internal_relation_tuple_spec.rb +2 -2
  293. data/spec/models/introspected_o_auth2_token_spec.rb +112 -0
  294. data/spec/models/invite_payload_spec.rb +2 -2
  295. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +2 -2
  296. data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
  297. data/spec/models/{inline_response200_spec.rb → is_ready200_response_spec.rb} +8 -8
  298. data/spec/models/{inline_response503_spec.rb → is_ready503_response_spec.rb} +8 -8
  299. data/spec/models/json_error_spec.rb +2 -2
  300. data/spec/models/json_patch_spec.rb +8 -2
  301. data/spec/models/json_web_key_set_spec.rb +34 -0
  302. data/spec/models/json_web_key_spec.rb +130 -0
  303. data/spec/models/keto_namespace_spec.rb +2 -2
  304. data/spec/models/{identity_schema_spec.rb → managed_identity_schema_spec.rb} +8 -14
  305. data/spec/models/managed_identity_schema_validation_result_spec.rb +40 -0
  306. data/spec/models/needs_privileged_session_error_spec.rb +2 -2
  307. data/spec/models/normalized_project_revision_hook_spec.rb +2 -2
  308. data/spec/models/normalized_project_revision_identity_schema_spec.rb +2 -2
  309. data/spec/models/normalized_project_revision_spec.rb +248 -2
  310. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +2 -2
  311. data/spec/models/normalized_project_spec.rb +2 -2
  312. data/spec/models/null_plan_spec.rb +2 -2
  313. data/spec/models/o_auth2_access_request_spec.rb +52 -0
  314. data/spec/models/o_auth2_api_error_spec.rb +52 -0
  315. data/spec/models/o_auth2_client_spec.rb +310 -0
  316. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +58 -0
  317. data/spec/models/o_auth2_consent_request_spec.rb +106 -0
  318. data/spec/models/o_auth2_consent_session_spec.rb +88 -0
  319. data/spec/models/o_auth2_login_request_spec.rb +82 -0
  320. data/spec/models/o_auth2_logout_request_spec.rb +64 -0
  321. data/spec/models/o_auth2_token_response_spec.rb +64 -0
  322. data/spec/models/oidc_configuration_spec.rb +202 -0
  323. data/spec/models/oidc_user_info_spec.rb +142 -0
  324. data/spec/models/pagination_headers_spec.rb +40 -0
  325. data/spec/models/pagination_spec.rb +14 -2
  326. data/spec/models/patch_delta_spec.rb +2 -2
  327. data/spec/models/previous_o_auth2_consent_session_spec.rb +70 -0
  328. data/spec/models/project_host_spec.rb +2 -2
  329. data/spec/models/project_invite_spec.rb +2 -2
  330. data/spec/models/project_metadata_spec.rb +2 -2
  331. data/spec/models/project_service_identity_spec.rb +2 -2
  332. data/spec/models/project_service_o_auth2_spec.rb +34 -0
  333. data/spec/models/project_service_permission_spec.rb +2 -2
  334. data/spec/models/project_services_spec.rb +8 -2
  335. data/spec/models/project_spec.rb +2 -2
  336. data/spec/models/provision_mock_subscription_payload_spec.rb +2 -2
  337. data/spec/models/quota_custom_domains_spec.rb +2 -2
  338. data/spec/models/quota_project_member_seats_spec.rb +2 -2
  339. data/spec/models/recovery_address_spec.rb +2 -2
  340. data/spec/models/refresh_token_hook_request_spec.rb +64 -0
  341. data/spec/models/refresh_token_hook_response_spec.rb +34 -0
  342. data/spec/models/reject_o_auth2_request_spec.rb +58 -0
  343. data/spec/models/relation_query_spec.rb +2 -2
  344. data/spec/models/revoked_sessions_spec.rb +2 -2
  345. data/spec/models/schema_patch_spec.rb +2 -2
  346. data/spec/models/self_service_browser_location_change_required_error_spec.rb +2 -2
  347. data/spec/models/self_service_error_spec.rb +2 -2
  348. data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
  349. data/spec/models/self_service_login_flow_spec.rb +2 -2
  350. data/spec/models/self_service_logout_url_spec.rb +2 -2
  351. data/spec/models/self_service_recovery_flow_spec.rb +2 -2
  352. data/spec/models/self_service_recovery_flow_state_spec.rb +2 -2
  353. data/spec/models/self_service_recovery_link_spec.rb +2 -2
  354. data/spec/models/self_service_registration_flow_spec.rb +2 -2
  355. data/spec/models/self_service_settings_flow_spec.rb +2 -2
  356. data/spec/models/self_service_settings_flow_state_spec.rb +2 -2
  357. data/spec/models/self_service_verification_flow_spec.rb +2 -2
  358. data/spec/models/self_service_verification_flow_state_spec.rb +2 -2
  359. data/spec/models/session_authentication_method_spec.rb +2 -2
  360. data/spec/models/session_device_spec.rb +2 -2
  361. data/spec/models/session_spec.rb +2 -2
  362. data/spec/models/settings_profile_form_config_spec.rb +2 -2
  363. data/spec/models/stripe_customer_response_spec.rb +2 -2
  364. data/spec/models/subject_set_spec.rb +2 -2
  365. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +2 -2
  366. data/spec/models/submit_self_service_login_flow_body_spec.rb +2 -2
  367. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +2 -2
  368. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +2 -2
  369. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +2 -2
  370. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +2 -2
  371. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +2 -2
  372. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +2 -2
  373. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +2 -2
  374. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +2 -2
  375. data/spec/models/submit_self_service_registration_flow_body_spec.rb +2 -2
  376. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +2 -2
  377. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +2 -2
  378. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +2 -2
  379. data/spec/models/submit_self_service_settings_flow_body_spec.rb +2 -2
  380. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +2 -2
  381. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +2 -2
  382. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +2 -2
  383. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +2 -2
  384. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +2 -2
  385. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +2 -2
  386. data/spec/models/submit_self_service_verification_flow_body_spec.rb +2 -2
  387. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +2 -2
  388. data/spec/models/subscription_spec.rb +3 -3
  389. data/spec/models/successful_o_auth2_request_response_spec.rb +34 -0
  390. data/spec/models/successful_project_update_spec.rb +2 -2
  391. data/spec/models/successful_self_service_login_without_browser_spec.rb +2 -2
  392. data/spec/models/successful_self_service_registration_without_browser_spec.rb +2 -2
  393. data/spec/models/token_pagination_headers_spec.rb +40 -0
  394. data/spec/models/token_pagination_spec.rb +40 -0
  395. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +76 -0
  396. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +40 -0
  397. data/spec/models/ui_container_spec.rb +2 -2
  398. data/spec/models/ui_node_anchor_attributes_spec.rb +2 -2
  399. data/spec/models/ui_node_attributes_spec.rb +2 -2
  400. data/spec/models/ui_node_image_attributes_spec.rb +2 -2
  401. data/spec/models/ui_node_input_attributes_spec.rb +12 -2
  402. data/spec/models/ui_node_meta_spec.rb +2 -2
  403. data/spec/models/ui_node_script_attributes_spec.rb +2 -2
  404. data/spec/models/ui_node_spec.rb +2 -2
  405. data/spec/models/ui_node_text_attributes_spec.rb +2 -2
  406. data/spec/models/ui_text_spec.rb +2 -2
  407. data/spec/models/update_custom_hostname_body_spec.rb +2 -2
  408. data/spec/models/update_o_auth2_client_lifespans_spec.rb +100 -0
  409. data/spec/models/update_project_spec.rb +2 -2
  410. data/spec/models/update_subscription_payload_spec.rb +2 -2
  411. data/spec/models/verifiable_identity_address_spec.rb +2 -2
  412. data/spec/models/version_spec.rb +2 -2
  413. data/spec/models/warning_spec.rb +2 -2
  414. data/spec/spec_helper.rb +2 -2
  415. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
  416. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  417. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  418. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  419. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out +2 -2
  420. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
  421. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
  422. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  423. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  424. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  425. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/LICENSE.txt +0 -0
  426. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/bin/ruby-parse +0 -0
  427. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/bin/ruby-rewrite +0 -0
  428. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/gauntlet_parser.rb +0 -0
  429. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/all.rb +0 -0
  430. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ast/node.rb +0 -0
  431. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ast/processor.rb +0 -0
  432. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/base.rb +0 -0
  433. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/builders/default.rb +0 -0
  434. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/clobbering_error.rb +0 -0
  435. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/color.rb +0 -0
  436. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/context.rb +0 -0
  437. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/current.rb +0 -0
  438. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/current_arg_stack.rb +0 -0
  439. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/deprecation.rb +0 -0
  440. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/diagnostic/engine.rb +0 -0
  441. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/diagnostic.rb +0 -0
  442. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/dedenter.rb +0 -0
  443. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/explanation.rb +0 -0
  444. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/literal.rb +0 -0
  445. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/stack_state.rb +0 -0
  446. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer.rb +0 -0
  447. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/macruby.rb +0 -0
  448. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/max_numparam_stack.rb +0 -0
  449. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/messages.rb +0 -0
  450. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/meta.rb +0 -0
  451. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/rewriter.rb +0 -0
  452. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby18.rb +0 -0
  453. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby19.rb +0 -0
  454. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby20.rb +0 -0
  455. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby21.rb +0 -0
  456. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby22.rb +0 -0
  457. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby23.rb +0 -0
  458. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby24.rb +0 -0
  459. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby25.rb +0 -0
  460. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby26.rb +0 -0
  461. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby27.rb +0 -0
  462. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby28.rb +0 -0
  463. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby30.rb +0 -0
  464. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby31.rb +4 -0
  465. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby32.rb +4 -0
  466. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/rubymotion.rb +0 -0
  467. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner/ruby_parse.rb +0 -0
  468. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner/ruby_rewrite.rb +0 -0
  469. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner.rb +0 -0
  470. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/buffer.rb +0 -0
  471. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/comment/associator.rb +0 -0
  472. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/comment.rb +0 -0
  473. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/collection.rb +0 -0
  474. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/condition.rb +0 -0
  475. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/constant.rb +0 -0
  476. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/definition.rb +0 -0
  477. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/for.rb +0 -0
  478. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/heredoc.rb +0 -0
  479. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/index.rb +0 -0
  480. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/keyword.rb +0 -0
  481. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/method_definition.rb +0 -0
  482. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/objc_kwarg.rb +0 -0
  483. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/operator.rb +0 -0
  484. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/rescue_body.rb +0 -0
  485. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/send.rb +0 -0
  486. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/ternary.rb +0 -0
  487. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/variable.rb +0 -0
  488. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map.rb +0 -0
  489. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/range.rb +0 -0
  490. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/rewriter/action.rb +0 -0
  491. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/rewriter.rb +0 -0
  492. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/tree_rewriter/action.rb +0 -0
  493. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/tree_rewriter.rb +0 -0
  494. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/static_environment.rb +0 -0
  495. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/syntax_error.rb +0 -0
  496. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/tree_rewriter.rb +0 -0
  497. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/variables_stack.rb +0 -0
  498. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/version.rb +1 -1
  499. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser.rb +0 -0
  500. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/parser.gemspec +0 -0
  501. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/Makefile +2 -2
  502. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
  503. data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.2.0.gemspec → parser-3.1.2.1.gemspec} +4 -4
  504. metadata +257 -105
  505. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.0.gem +0 -0
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.12
6
+ The version of the OpenAPI document: v0.2.0-alpha.14
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -18,6 +18,111 @@ module OryClient
18
18
  # The Project's Revision Creation Date
19
19
  attr_accessor :created_at
20
20
 
21
+ # Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting.
22
+ attr_accessor :hydra_oauth2_client_credentials_default_grant_allowed_scope
23
+
24
+ # Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting.
25
+ attr_accessor :hydra_oauth2_grant_jwt_iat_optional
26
+
27
+ # Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting.
28
+ attr_accessor :hydra_oauth2_grant_jwt_jti_optional
29
+
30
+ attr_accessor :hydra_oauth2_grant_jwt_max_ttl
31
+
32
+ # Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting.
33
+ attr_accessor :hydra_oauth2_pkce_enforced
34
+
35
+ # Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting.
36
+ attr_accessor :hydra_oauth2_pkce_enforced_for_public_clients
37
+
38
+ # Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting.
39
+ attr_accessor :hydra_oauth2_refresh_token_hook
40
+
41
+ attr_accessor :hydra_oidc_dynamic_client_registration_default_scope
42
+
43
+ # Configures OpenID Connect Dynamic Client Registration. This governs the \"oidc.dynamic_client_registration.enabled\" setting.
44
+ attr_accessor :hydra_oidc_dynamic_client_registration_enabled
45
+
46
+ # Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the \"oidc.subject_identifiers.pairwise_salt\" setting.
47
+ attr_accessor :hydra_oidc_subject_identifiers_pairwise_salt
48
+
49
+ attr_accessor :hydra_oidc_subject_identifiers_supported_types
50
+
51
+ attr_accessor :hydra_secrets_cookie
52
+
53
+ attr_accessor :hydra_secrets_system
54
+
55
+ attr_accessor :hydra_serve_admin_cors_allowed_origins
56
+
57
+ # Configures the Ory Hydra CORS Settings This governs the \"serve.admin.cors.enabled\" setting.
58
+ attr_accessor :hydra_serve_admin_cors_enabled
59
+
60
+ # Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the \"serve.cookies.same_site_legacy_workaround\" setting.
61
+ attr_accessor :hydra_serve_cookies_same_site_legacy_workaround
62
+
63
+ # Configures the Ory Hydra Cookie Same Site Mode This governs the \"serve.cookies.same_site_mode\" setting.
64
+ attr_accessor :hydra_serve_cookies_same_site_mode
65
+
66
+ attr_accessor :hydra_serve_public_cors_allowed_origins
67
+
68
+ # Configures the Ory Hydra CORS Settings This governs the \"serve.public.cors.enabled\" setting.
69
+ attr_accessor :hydra_serve_public_cors_enabled
70
+
71
+ # Defines access token type. jwt is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens This governs the \"strategies.access_token\" setting.
72
+ attr_accessor :hydra_strategies_access_token
73
+
74
+ # Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting.
75
+ attr_accessor :hydra_strategies_scope
76
+
77
+ attr_accessor :hydra_ttl_access_token
78
+
79
+ attr_accessor :hydra_ttl_auth_code
80
+
81
+ attr_accessor :hydra_ttl_id_token
82
+
83
+ attr_accessor :hydra_ttl_login_consent_request
84
+
85
+ attr_accessor :hydra_ttl_refresh_token
86
+
87
+ # Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to Ory Cloud's Managed UI if left empty. This governs the \"urls.consent\" setting.
88
+ attr_accessor :hydra_urls_consent
89
+
90
+ # Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to Ory Cloud's Managed UI if left empty. This governs the \"urls.error\" setting.
91
+ attr_accessor :hydra_urls_error
92
+
93
+ # Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to Ory Cloud's Managed UI if left empty. This governs the \"urls.login\" setting.
94
+ attr_accessor :hydra_urls_login
95
+
96
+ # Sets the logout endpoint. Defaults to Ory Cloud's Managed UI if left empty. This governs the \"urls.logout\" setting.
97
+ attr_accessor :hydra_urls_logout
98
+
99
+ # When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to Ory Cloud's Managed UI in development and your application in production mode when a custom domain is connected. This governs the \"urls.post_logout_redirect\" setting.
100
+ attr_accessor :hydra_urls_post_logout_redirect
101
+
102
+ # This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. In Ory Cloud it will be very rare that you want to modify this value. If left empty, it will default to the correct value for Ory Cloud. This governs the \"urls.self.issuer\" setting.
103
+ attr_accessor :hydra_urls_self_issuer
104
+
105
+ attr_accessor :hydra_webfinger_jwks_broadcast_keys
106
+
107
+ # Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the \"webfinger.oidc.discovery.auth_url\" setting.
108
+ attr_accessor :hydra_webfinger_oidc_discovery_auth_url
109
+
110
+ # Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the \"webfinger.oidc.discovery.client_registration_url\" setting.
111
+ attr_accessor :hydra_webfinger_oidc_discovery_client_registration_url
112
+
113
+ # Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the \"webfinger.oidc.discovery.jwks_url\" setting.
114
+ attr_accessor :hydra_webfinger_oidc_discovery_jwks_url
115
+
116
+ attr_accessor :hydra_webfinger_oidc_discovery_supported_claims
117
+
118
+ attr_accessor :hydra_webfinger_oidc_discovery_supported_scope
119
+
120
+ # Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting.
121
+ attr_accessor :hydra_webfinger_oidc_discovery_token_url
122
+
123
+ # Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the \"webfinger.oidc.discovery.userinfo_url\" setting.
124
+ attr_accessor :hydra_webfinger_oidc_discovery_userinfo_url
125
+
21
126
  attr_accessor :id
22
127
 
23
128
  attr_accessor :keto_namespaces
@@ -249,6 +354,9 @@ module OryClient
249
354
  # The project's name.
250
355
  attr_accessor :name
251
356
 
357
+ # Whether this project is in production mode or not. In development mode, a low-security profile is used making it easier to develop against your, for example, local environment.
358
+ attr_accessor :production
359
+
252
360
  attr_accessor :project_id
253
361
 
254
362
  # Last Time Project's Revision was Updated
@@ -258,6 +366,46 @@ module OryClient
258
366
  def self.attribute_map
259
367
  {
260
368
  :'created_at' => :'created_at',
369
+ :'hydra_oauth2_client_credentials_default_grant_allowed_scope' => :'hydra_oauth2_client_credentials_default_grant_allowed_scope',
370
+ :'hydra_oauth2_grant_jwt_iat_optional' => :'hydra_oauth2_grant_jwt_iat_optional',
371
+ :'hydra_oauth2_grant_jwt_jti_optional' => :'hydra_oauth2_grant_jwt_jti_optional',
372
+ :'hydra_oauth2_grant_jwt_max_ttl' => :'hydra_oauth2_grant_jwt_max_ttl',
373
+ :'hydra_oauth2_pkce_enforced' => :'hydra_oauth2_pkce_enforced',
374
+ :'hydra_oauth2_pkce_enforced_for_public_clients' => :'hydra_oauth2_pkce_enforced_for_public_clients',
375
+ :'hydra_oauth2_refresh_token_hook' => :'hydra_oauth2_refresh_token_hook',
376
+ :'hydra_oidc_dynamic_client_registration_default_scope' => :'hydra_oidc_dynamic_client_registration_default_scope',
377
+ :'hydra_oidc_dynamic_client_registration_enabled' => :'hydra_oidc_dynamic_client_registration_enabled',
378
+ :'hydra_oidc_subject_identifiers_pairwise_salt' => :'hydra_oidc_subject_identifiers_pairwise_salt',
379
+ :'hydra_oidc_subject_identifiers_supported_types' => :'hydra_oidc_subject_identifiers_supported_types',
380
+ :'hydra_secrets_cookie' => :'hydra_secrets_cookie',
381
+ :'hydra_secrets_system' => :'hydra_secrets_system',
382
+ :'hydra_serve_admin_cors_allowed_origins' => :'hydra_serve_admin_cors_allowed_origins',
383
+ :'hydra_serve_admin_cors_enabled' => :'hydra_serve_admin_cors_enabled',
384
+ :'hydra_serve_cookies_same_site_legacy_workaround' => :'hydra_serve_cookies_same_site_legacy_workaround',
385
+ :'hydra_serve_cookies_same_site_mode' => :'hydra_serve_cookies_same_site_mode',
386
+ :'hydra_serve_public_cors_allowed_origins' => :'hydra_serve_public_cors_allowed_origins',
387
+ :'hydra_serve_public_cors_enabled' => :'hydra_serve_public_cors_enabled',
388
+ :'hydra_strategies_access_token' => :'hydra_strategies_access_token',
389
+ :'hydra_strategies_scope' => :'hydra_strategies_scope',
390
+ :'hydra_ttl_access_token' => :'hydra_ttl_access_token',
391
+ :'hydra_ttl_auth_code' => :'hydra_ttl_auth_code',
392
+ :'hydra_ttl_id_token' => :'hydra_ttl_id_token',
393
+ :'hydra_ttl_login_consent_request' => :'hydra_ttl_login_consent_request',
394
+ :'hydra_ttl_refresh_token' => :'hydra_ttl_refresh_token',
395
+ :'hydra_urls_consent' => :'hydra_urls_consent',
396
+ :'hydra_urls_error' => :'hydra_urls_error',
397
+ :'hydra_urls_login' => :'hydra_urls_login',
398
+ :'hydra_urls_logout' => :'hydra_urls_logout',
399
+ :'hydra_urls_post_logout_redirect' => :'hydra_urls_post_logout_redirect',
400
+ :'hydra_urls_self_issuer' => :'hydra_urls_self_issuer',
401
+ :'hydra_webfinger_jwks_broadcast_keys' => :'hydra_webfinger_jwks_broadcast_keys',
402
+ :'hydra_webfinger_oidc_discovery_auth_url' => :'hydra_webfinger_oidc_discovery_auth_url',
403
+ :'hydra_webfinger_oidc_discovery_client_registration_url' => :'hydra_webfinger_oidc_discovery_client_registration_url',
404
+ :'hydra_webfinger_oidc_discovery_jwks_url' => :'hydra_webfinger_oidc_discovery_jwks_url',
405
+ :'hydra_webfinger_oidc_discovery_supported_claims' => :'hydra_webfinger_oidc_discovery_supported_claims',
406
+ :'hydra_webfinger_oidc_discovery_supported_scope' => :'hydra_webfinger_oidc_discovery_supported_scope',
407
+ :'hydra_webfinger_oidc_discovery_token_url' => :'hydra_webfinger_oidc_discovery_token_url',
408
+ :'hydra_webfinger_oidc_discovery_userinfo_url' => :'hydra_webfinger_oidc_discovery_userinfo_url',
261
409
  :'id' => :'id',
262
410
  :'keto_namespaces' => :'keto_namespaces',
263
411
  :'keto_read_max_depth' => :'keto_read_max_depth',
@@ -342,6 +490,7 @@ module OryClient
342
490
  :'kratos_session_lifespan' => :'kratos_session_lifespan',
343
491
  :'kratos_session_whoami_required_aal' => :'kratos_session_whoami_required_aal',
344
492
  :'name' => :'name',
493
+ :'production' => :'production',
345
494
  :'project_id' => :'project_id',
346
495
  :'updated_at' => :'updated_at'
347
496
  }
@@ -356,6 +505,46 @@ module OryClient
356
505
  def self.openapi_types
357
506
  {
358
507
  :'created_at' => :'Time',
508
+ :'hydra_oauth2_client_credentials_default_grant_allowed_scope' => :'Boolean',
509
+ :'hydra_oauth2_grant_jwt_iat_optional' => :'Boolean',
510
+ :'hydra_oauth2_grant_jwt_jti_optional' => :'Boolean',
511
+ :'hydra_oauth2_grant_jwt_max_ttl' => :'String',
512
+ :'hydra_oauth2_pkce_enforced' => :'Boolean',
513
+ :'hydra_oauth2_pkce_enforced_for_public_clients' => :'Boolean',
514
+ :'hydra_oauth2_refresh_token_hook' => :'String',
515
+ :'hydra_oidc_dynamic_client_registration_default_scope' => :'Array<String>',
516
+ :'hydra_oidc_dynamic_client_registration_enabled' => :'Boolean',
517
+ :'hydra_oidc_subject_identifiers_pairwise_salt' => :'String',
518
+ :'hydra_oidc_subject_identifiers_supported_types' => :'Array<String>',
519
+ :'hydra_secrets_cookie' => :'Array<String>',
520
+ :'hydra_secrets_system' => :'Array<String>',
521
+ :'hydra_serve_admin_cors_allowed_origins' => :'Array<String>',
522
+ :'hydra_serve_admin_cors_enabled' => :'Boolean',
523
+ :'hydra_serve_cookies_same_site_legacy_workaround' => :'Boolean',
524
+ :'hydra_serve_cookies_same_site_mode' => :'String',
525
+ :'hydra_serve_public_cors_allowed_origins' => :'Array<String>',
526
+ :'hydra_serve_public_cors_enabled' => :'Boolean',
527
+ :'hydra_strategies_access_token' => :'Object',
528
+ :'hydra_strategies_scope' => :'Object',
529
+ :'hydra_ttl_access_token' => :'String',
530
+ :'hydra_ttl_auth_code' => :'String',
531
+ :'hydra_ttl_id_token' => :'String',
532
+ :'hydra_ttl_login_consent_request' => :'String',
533
+ :'hydra_ttl_refresh_token' => :'String',
534
+ :'hydra_urls_consent' => :'String',
535
+ :'hydra_urls_error' => :'String',
536
+ :'hydra_urls_login' => :'String',
537
+ :'hydra_urls_logout' => :'String',
538
+ :'hydra_urls_post_logout_redirect' => :'String',
539
+ :'hydra_urls_self_issuer' => :'String',
540
+ :'hydra_webfinger_jwks_broadcast_keys' => :'Array<String>',
541
+ :'hydra_webfinger_oidc_discovery_auth_url' => :'String',
542
+ :'hydra_webfinger_oidc_discovery_client_registration_url' => :'String',
543
+ :'hydra_webfinger_oidc_discovery_jwks_url' => :'String',
544
+ :'hydra_webfinger_oidc_discovery_supported_claims' => :'Array<String>',
545
+ :'hydra_webfinger_oidc_discovery_supported_scope' => :'Array<String>',
546
+ :'hydra_webfinger_oidc_discovery_token_url' => :'String',
547
+ :'hydra_webfinger_oidc_discovery_userinfo_url' => :'String',
359
548
  :'id' => :'String',
360
549
  :'keto_namespaces' => :'Array<KetoNamespace>',
361
550
  :'keto_read_max_depth' => :'Integer',
@@ -440,6 +629,7 @@ module OryClient
440
629
  :'kratos_session_lifespan' => :'String',
441
630
  :'kratos_session_whoami_required_aal' => :'String',
442
631
  :'name' => :'String',
632
+ :'production' => :'Boolean',
443
633
  :'project_id' => :'String',
444
634
  :'updated_at' => :'Time'
445
635
  }
@@ -448,6 +638,14 @@ module OryClient
448
638
  # List of attributes with nullable: true
449
639
  def self.openapi_nullable
450
640
  Set.new([
641
+ :'hydra_oauth2_grant_jwt_max_ttl',
642
+ :'hydra_strategies_access_token',
643
+ :'hydra_strategies_scope',
644
+ :'hydra_ttl_access_token',
645
+ :'hydra_ttl_auth_code',
646
+ :'hydra_ttl_id_token',
647
+ :'hydra_ttl_login_consent_request',
648
+ :'hydra_ttl_refresh_token',
451
649
  :'keto_read_max_depth',
452
650
  :'kratos_selfservice_flows_registration_enabled',
453
651
  :'kratos_selfservice_methods_link_enabled',
@@ -482,6 +680,184 @@ module OryClient
482
680
  self.created_at = attributes[:'created_at']
483
681
  end
484
682
 
683
+ if attributes.key?(:'hydra_oauth2_client_credentials_default_grant_allowed_scope')
684
+ self.hydra_oauth2_client_credentials_default_grant_allowed_scope = attributes[:'hydra_oauth2_client_credentials_default_grant_allowed_scope']
685
+ end
686
+
687
+ if attributes.key?(:'hydra_oauth2_grant_jwt_iat_optional')
688
+ self.hydra_oauth2_grant_jwt_iat_optional = attributes[:'hydra_oauth2_grant_jwt_iat_optional']
689
+ end
690
+
691
+ if attributes.key?(:'hydra_oauth2_grant_jwt_jti_optional')
692
+ self.hydra_oauth2_grant_jwt_jti_optional = attributes[:'hydra_oauth2_grant_jwt_jti_optional']
693
+ end
694
+
695
+ if attributes.key?(:'hydra_oauth2_grant_jwt_max_ttl')
696
+ self.hydra_oauth2_grant_jwt_max_ttl = attributes[:'hydra_oauth2_grant_jwt_max_ttl']
697
+ end
698
+
699
+ if attributes.key?(:'hydra_oauth2_pkce_enforced')
700
+ self.hydra_oauth2_pkce_enforced = attributes[:'hydra_oauth2_pkce_enforced']
701
+ end
702
+
703
+ if attributes.key?(:'hydra_oauth2_pkce_enforced_for_public_clients')
704
+ self.hydra_oauth2_pkce_enforced_for_public_clients = attributes[:'hydra_oauth2_pkce_enforced_for_public_clients']
705
+ end
706
+
707
+ if attributes.key?(:'hydra_oauth2_refresh_token_hook')
708
+ self.hydra_oauth2_refresh_token_hook = attributes[:'hydra_oauth2_refresh_token_hook']
709
+ end
710
+
711
+ if attributes.key?(:'hydra_oidc_dynamic_client_registration_default_scope')
712
+ if (value = attributes[:'hydra_oidc_dynamic_client_registration_default_scope']).is_a?(Array)
713
+ self.hydra_oidc_dynamic_client_registration_default_scope = value
714
+ end
715
+ end
716
+
717
+ if attributes.key?(:'hydra_oidc_dynamic_client_registration_enabled')
718
+ self.hydra_oidc_dynamic_client_registration_enabled = attributes[:'hydra_oidc_dynamic_client_registration_enabled']
719
+ end
720
+
721
+ if attributes.key?(:'hydra_oidc_subject_identifiers_pairwise_salt')
722
+ self.hydra_oidc_subject_identifiers_pairwise_salt = attributes[:'hydra_oidc_subject_identifiers_pairwise_salt']
723
+ end
724
+
725
+ if attributes.key?(:'hydra_oidc_subject_identifiers_supported_types')
726
+ if (value = attributes[:'hydra_oidc_subject_identifiers_supported_types']).is_a?(Array)
727
+ self.hydra_oidc_subject_identifiers_supported_types = value
728
+ end
729
+ end
730
+
731
+ if attributes.key?(:'hydra_secrets_cookie')
732
+ if (value = attributes[:'hydra_secrets_cookie']).is_a?(Array)
733
+ self.hydra_secrets_cookie = value
734
+ end
735
+ end
736
+
737
+ if attributes.key?(:'hydra_secrets_system')
738
+ if (value = attributes[:'hydra_secrets_system']).is_a?(Array)
739
+ self.hydra_secrets_system = value
740
+ end
741
+ end
742
+
743
+ if attributes.key?(:'hydra_serve_admin_cors_allowed_origins')
744
+ if (value = attributes[:'hydra_serve_admin_cors_allowed_origins']).is_a?(Array)
745
+ self.hydra_serve_admin_cors_allowed_origins = value
746
+ end
747
+ end
748
+
749
+ if attributes.key?(:'hydra_serve_admin_cors_enabled')
750
+ self.hydra_serve_admin_cors_enabled = attributes[:'hydra_serve_admin_cors_enabled']
751
+ end
752
+
753
+ if attributes.key?(:'hydra_serve_cookies_same_site_legacy_workaround')
754
+ self.hydra_serve_cookies_same_site_legacy_workaround = attributes[:'hydra_serve_cookies_same_site_legacy_workaround']
755
+ end
756
+
757
+ if attributes.key?(:'hydra_serve_cookies_same_site_mode')
758
+ self.hydra_serve_cookies_same_site_mode = attributes[:'hydra_serve_cookies_same_site_mode']
759
+ end
760
+
761
+ if attributes.key?(:'hydra_serve_public_cors_allowed_origins')
762
+ if (value = attributes[:'hydra_serve_public_cors_allowed_origins']).is_a?(Array)
763
+ self.hydra_serve_public_cors_allowed_origins = value
764
+ end
765
+ end
766
+
767
+ if attributes.key?(:'hydra_serve_public_cors_enabled')
768
+ self.hydra_serve_public_cors_enabled = attributes[:'hydra_serve_public_cors_enabled']
769
+ end
770
+
771
+ if attributes.key?(:'hydra_strategies_access_token')
772
+ self.hydra_strategies_access_token = attributes[:'hydra_strategies_access_token']
773
+ end
774
+
775
+ if attributes.key?(:'hydra_strategies_scope')
776
+ self.hydra_strategies_scope = attributes[:'hydra_strategies_scope']
777
+ end
778
+
779
+ if attributes.key?(:'hydra_ttl_access_token')
780
+ self.hydra_ttl_access_token = attributes[:'hydra_ttl_access_token']
781
+ end
782
+
783
+ if attributes.key?(:'hydra_ttl_auth_code')
784
+ self.hydra_ttl_auth_code = attributes[:'hydra_ttl_auth_code']
785
+ end
786
+
787
+ if attributes.key?(:'hydra_ttl_id_token')
788
+ self.hydra_ttl_id_token = attributes[:'hydra_ttl_id_token']
789
+ end
790
+
791
+ if attributes.key?(:'hydra_ttl_login_consent_request')
792
+ self.hydra_ttl_login_consent_request = attributes[:'hydra_ttl_login_consent_request']
793
+ end
794
+
795
+ if attributes.key?(:'hydra_ttl_refresh_token')
796
+ self.hydra_ttl_refresh_token = attributes[:'hydra_ttl_refresh_token']
797
+ end
798
+
799
+ if attributes.key?(:'hydra_urls_consent')
800
+ self.hydra_urls_consent = attributes[:'hydra_urls_consent']
801
+ end
802
+
803
+ if attributes.key?(:'hydra_urls_error')
804
+ self.hydra_urls_error = attributes[:'hydra_urls_error']
805
+ end
806
+
807
+ if attributes.key?(:'hydra_urls_login')
808
+ self.hydra_urls_login = attributes[:'hydra_urls_login']
809
+ end
810
+
811
+ if attributes.key?(:'hydra_urls_logout')
812
+ self.hydra_urls_logout = attributes[:'hydra_urls_logout']
813
+ end
814
+
815
+ if attributes.key?(:'hydra_urls_post_logout_redirect')
816
+ self.hydra_urls_post_logout_redirect = attributes[:'hydra_urls_post_logout_redirect']
817
+ end
818
+
819
+ if attributes.key?(:'hydra_urls_self_issuer')
820
+ self.hydra_urls_self_issuer = attributes[:'hydra_urls_self_issuer']
821
+ end
822
+
823
+ if attributes.key?(:'hydra_webfinger_jwks_broadcast_keys')
824
+ if (value = attributes[:'hydra_webfinger_jwks_broadcast_keys']).is_a?(Array)
825
+ self.hydra_webfinger_jwks_broadcast_keys = value
826
+ end
827
+ end
828
+
829
+ if attributes.key?(:'hydra_webfinger_oidc_discovery_auth_url')
830
+ self.hydra_webfinger_oidc_discovery_auth_url = attributes[:'hydra_webfinger_oidc_discovery_auth_url']
831
+ end
832
+
833
+ if attributes.key?(:'hydra_webfinger_oidc_discovery_client_registration_url')
834
+ self.hydra_webfinger_oidc_discovery_client_registration_url = attributes[:'hydra_webfinger_oidc_discovery_client_registration_url']
835
+ end
836
+
837
+ if attributes.key?(:'hydra_webfinger_oidc_discovery_jwks_url')
838
+ self.hydra_webfinger_oidc_discovery_jwks_url = attributes[:'hydra_webfinger_oidc_discovery_jwks_url']
839
+ end
840
+
841
+ if attributes.key?(:'hydra_webfinger_oidc_discovery_supported_claims')
842
+ if (value = attributes[:'hydra_webfinger_oidc_discovery_supported_claims']).is_a?(Array)
843
+ self.hydra_webfinger_oidc_discovery_supported_claims = value
844
+ end
845
+ end
846
+
847
+ if attributes.key?(:'hydra_webfinger_oidc_discovery_supported_scope')
848
+ if (value = attributes[:'hydra_webfinger_oidc_discovery_supported_scope']).is_a?(Array)
849
+ self.hydra_webfinger_oidc_discovery_supported_scope = value
850
+ end
851
+ end
852
+
853
+ if attributes.key?(:'hydra_webfinger_oidc_discovery_token_url')
854
+ self.hydra_webfinger_oidc_discovery_token_url = attributes[:'hydra_webfinger_oidc_discovery_token_url']
855
+ end
856
+
857
+ if attributes.key?(:'hydra_webfinger_oidc_discovery_userinfo_url')
858
+ self.hydra_webfinger_oidc_discovery_userinfo_url = attributes[:'hydra_webfinger_oidc_discovery_userinfo_url']
859
+ end
860
+
485
861
  if attributes.key?(:'id')
486
862
  self.id = attributes[:'id']
487
863
  end
@@ -834,6 +1210,10 @@ module OryClient
834
1210
  self.name = attributes[:'name']
835
1211
  end
836
1212
 
1213
+ if attributes.key?(:'production')
1214
+ self.production = attributes[:'production']
1215
+ end
1216
+
837
1217
  if attributes.key?(:'project_id')
838
1218
  self.project_id = attributes[:'project_id']
839
1219
  end
@@ -847,6 +1227,36 @@ module OryClient
847
1227
  # @return Array for valid properties with the reasons
848
1228
  def list_invalid_properties
849
1229
  invalid_properties = Array.new
1230
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1231
+ if !@hydra_oauth2_grant_jwt_max_ttl.nil? && @hydra_oauth2_grant_jwt_max_ttl !~ pattern
1232
+ invalid_properties.push("invalid value for \"hydra_oauth2_grant_jwt_max_ttl\", must conform to the pattern #{pattern}.")
1233
+ end
1234
+
1235
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1236
+ if !@hydra_ttl_access_token.nil? && @hydra_ttl_access_token !~ pattern
1237
+ invalid_properties.push("invalid value for \"hydra_ttl_access_token\", must conform to the pattern #{pattern}.")
1238
+ end
1239
+
1240
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1241
+ if !@hydra_ttl_auth_code.nil? && @hydra_ttl_auth_code !~ pattern
1242
+ invalid_properties.push("invalid value for \"hydra_ttl_auth_code\", must conform to the pattern #{pattern}.")
1243
+ end
1244
+
1245
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1246
+ if !@hydra_ttl_id_token.nil? && @hydra_ttl_id_token !~ pattern
1247
+ invalid_properties.push("invalid value for \"hydra_ttl_id_token\", must conform to the pattern #{pattern}.")
1248
+ end
1249
+
1250
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1251
+ if !@hydra_ttl_login_consent_request.nil? && @hydra_ttl_login_consent_request !~ pattern
1252
+ invalid_properties.push("invalid value for \"hydra_ttl_login_consent_request\", must conform to the pattern #{pattern}.")
1253
+ end
1254
+
1255
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1256
+ if !@hydra_ttl_refresh_token.nil? && @hydra_ttl_refresh_token !~ pattern
1257
+ invalid_properties.push("invalid value for \"hydra_ttl_refresh_token\", must conform to the pattern #{pattern}.")
1258
+ end
1259
+
850
1260
  if @name.nil?
851
1261
  invalid_properties.push('invalid value for "name", name cannot be nil.')
852
1262
  end
@@ -857,16 +1267,128 @@ module OryClient
857
1267
  # Check to see if the all the properties in the model are valid
858
1268
  # @return true if the model is valid
859
1269
  def valid?
1270
+ return false if !@hydra_oauth2_grant_jwt_max_ttl.nil? && @hydra_oauth2_grant_jwt_max_ttl !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1271
+ return false if !@hydra_ttl_access_token.nil? && @hydra_ttl_access_token !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1272
+ return false if !@hydra_ttl_auth_code.nil? && @hydra_ttl_auth_code !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1273
+ return false if !@hydra_ttl_id_token.nil? && @hydra_ttl_id_token !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1274
+ return false if !@hydra_ttl_login_consent_request.nil? && @hydra_ttl_login_consent_request !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1275
+ return false if !@hydra_ttl_refresh_token.nil? && @hydra_ttl_refresh_token !~ Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
860
1276
  return false if @name.nil?
861
1277
  true
862
1278
  end
863
1279
 
1280
+ # Custom attribute writer method with validation
1281
+ # @param [Object] hydra_oauth2_grant_jwt_max_ttl Value to be assigned
1282
+ def hydra_oauth2_grant_jwt_max_ttl=(hydra_oauth2_grant_jwt_max_ttl)
1283
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1284
+ if !hydra_oauth2_grant_jwt_max_ttl.nil? && hydra_oauth2_grant_jwt_max_ttl !~ pattern
1285
+ fail ArgumentError, "invalid value for \"hydra_oauth2_grant_jwt_max_ttl\", must conform to the pattern #{pattern}."
1286
+ end
1287
+
1288
+ @hydra_oauth2_grant_jwt_max_ttl = hydra_oauth2_grant_jwt_max_ttl
1289
+ end
1290
+
1291
+ # Custom attribute writer method with validation
1292
+ # @param [Object] hydra_ttl_access_token Value to be assigned
1293
+ def hydra_ttl_access_token=(hydra_ttl_access_token)
1294
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1295
+ if !hydra_ttl_access_token.nil? && hydra_ttl_access_token !~ pattern
1296
+ fail ArgumentError, "invalid value for \"hydra_ttl_access_token\", must conform to the pattern #{pattern}."
1297
+ end
1298
+
1299
+ @hydra_ttl_access_token = hydra_ttl_access_token
1300
+ end
1301
+
1302
+ # Custom attribute writer method with validation
1303
+ # @param [Object] hydra_ttl_auth_code Value to be assigned
1304
+ def hydra_ttl_auth_code=(hydra_ttl_auth_code)
1305
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1306
+ if !hydra_ttl_auth_code.nil? && hydra_ttl_auth_code !~ pattern
1307
+ fail ArgumentError, "invalid value for \"hydra_ttl_auth_code\", must conform to the pattern #{pattern}."
1308
+ end
1309
+
1310
+ @hydra_ttl_auth_code = hydra_ttl_auth_code
1311
+ end
1312
+
1313
+ # Custom attribute writer method with validation
1314
+ # @param [Object] hydra_ttl_id_token Value to be assigned
1315
+ def hydra_ttl_id_token=(hydra_ttl_id_token)
1316
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1317
+ if !hydra_ttl_id_token.nil? && hydra_ttl_id_token !~ pattern
1318
+ fail ArgumentError, "invalid value for \"hydra_ttl_id_token\", must conform to the pattern #{pattern}."
1319
+ end
1320
+
1321
+ @hydra_ttl_id_token = hydra_ttl_id_token
1322
+ end
1323
+
1324
+ # Custom attribute writer method with validation
1325
+ # @param [Object] hydra_ttl_login_consent_request Value to be assigned
1326
+ def hydra_ttl_login_consent_request=(hydra_ttl_login_consent_request)
1327
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1328
+ if !hydra_ttl_login_consent_request.nil? && hydra_ttl_login_consent_request !~ pattern
1329
+ fail ArgumentError, "invalid value for \"hydra_ttl_login_consent_request\", must conform to the pattern #{pattern}."
1330
+ end
1331
+
1332
+ @hydra_ttl_login_consent_request = hydra_ttl_login_consent_request
1333
+ end
1334
+
1335
+ # Custom attribute writer method with validation
1336
+ # @param [Object] hydra_ttl_refresh_token Value to be assigned
1337
+ def hydra_ttl_refresh_token=(hydra_ttl_refresh_token)
1338
+ pattern = Regexp.new(/^[0-9]+(ns|us|ms|s|m|h)$/)
1339
+ if !hydra_ttl_refresh_token.nil? && hydra_ttl_refresh_token !~ pattern
1340
+ fail ArgumentError, "invalid value for \"hydra_ttl_refresh_token\", must conform to the pattern #{pattern}."
1341
+ end
1342
+
1343
+ @hydra_ttl_refresh_token = hydra_ttl_refresh_token
1344
+ end
1345
+
864
1346
  # Checks equality by comparing each attribute.
865
1347
  # @param [Object] Object to be compared
866
1348
  def ==(o)
867
1349
  return true if self.equal?(o)
868
1350
  self.class == o.class &&
869
1351
  created_at == o.created_at &&
1352
+ hydra_oauth2_client_credentials_default_grant_allowed_scope == o.hydra_oauth2_client_credentials_default_grant_allowed_scope &&
1353
+ hydra_oauth2_grant_jwt_iat_optional == o.hydra_oauth2_grant_jwt_iat_optional &&
1354
+ hydra_oauth2_grant_jwt_jti_optional == o.hydra_oauth2_grant_jwt_jti_optional &&
1355
+ hydra_oauth2_grant_jwt_max_ttl == o.hydra_oauth2_grant_jwt_max_ttl &&
1356
+ hydra_oauth2_pkce_enforced == o.hydra_oauth2_pkce_enforced &&
1357
+ hydra_oauth2_pkce_enforced_for_public_clients == o.hydra_oauth2_pkce_enforced_for_public_clients &&
1358
+ hydra_oauth2_refresh_token_hook == o.hydra_oauth2_refresh_token_hook &&
1359
+ hydra_oidc_dynamic_client_registration_default_scope == o.hydra_oidc_dynamic_client_registration_default_scope &&
1360
+ hydra_oidc_dynamic_client_registration_enabled == o.hydra_oidc_dynamic_client_registration_enabled &&
1361
+ hydra_oidc_subject_identifiers_pairwise_salt == o.hydra_oidc_subject_identifiers_pairwise_salt &&
1362
+ hydra_oidc_subject_identifiers_supported_types == o.hydra_oidc_subject_identifiers_supported_types &&
1363
+ hydra_secrets_cookie == o.hydra_secrets_cookie &&
1364
+ hydra_secrets_system == o.hydra_secrets_system &&
1365
+ hydra_serve_admin_cors_allowed_origins == o.hydra_serve_admin_cors_allowed_origins &&
1366
+ hydra_serve_admin_cors_enabled == o.hydra_serve_admin_cors_enabled &&
1367
+ hydra_serve_cookies_same_site_legacy_workaround == o.hydra_serve_cookies_same_site_legacy_workaround &&
1368
+ hydra_serve_cookies_same_site_mode == o.hydra_serve_cookies_same_site_mode &&
1369
+ hydra_serve_public_cors_allowed_origins == o.hydra_serve_public_cors_allowed_origins &&
1370
+ hydra_serve_public_cors_enabled == o.hydra_serve_public_cors_enabled &&
1371
+ hydra_strategies_access_token == o.hydra_strategies_access_token &&
1372
+ hydra_strategies_scope == o.hydra_strategies_scope &&
1373
+ hydra_ttl_access_token == o.hydra_ttl_access_token &&
1374
+ hydra_ttl_auth_code == o.hydra_ttl_auth_code &&
1375
+ hydra_ttl_id_token == o.hydra_ttl_id_token &&
1376
+ hydra_ttl_login_consent_request == o.hydra_ttl_login_consent_request &&
1377
+ hydra_ttl_refresh_token == o.hydra_ttl_refresh_token &&
1378
+ hydra_urls_consent == o.hydra_urls_consent &&
1379
+ hydra_urls_error == o.hydra_urls_error &&
1380
+ hydra_urls_login == o.hydra_urls_login &&
1381
+ hydra_urls_logout == o.hydra_urls_logout &&
1382
+ hydra_urls_post_logout_redirect == o.hydra_urls_post_logout_redirect &&
1383
+ hydra_urls_self_issuer == o.hydra_urls_self_issuer &&
1384
+ hydra_webfinger_jwks_broadcast_keys == o.hydra_webfinger_jwks_broadcast_keys &&
1385
+ hydra_webfinger_oidc_discovery_auth_url == o.hydra_webfinger_oidc_discovery_auth_url &&
1386
+ hydra_webfinger_oidc_discovery_client_registration_url == o.hydra_webfinger_oidc_discovery_client_registration_url &&
1387
+ hydra_webfinger_oidc_discovery_jwks_url == o.hydra_webfinger_oidc_discovery_jwks_url &&
1388
+ hydra_webfinger_oidc_discovery_supported_claims == o.hydra_webfinger_oidc_discovery_supported_claims &&
1389
+ hydra_webfinger_oidc_discovery_supported_scope == o.hydra_webfinger_oidc_discovery_supported_scope &&
1390
+ hydra_webfinger_oidc_discovery_token_url == o.hydra_webfinger_oidc_discovery_token_url &&
1391
+ hydra_webfinger_oidc_discovery_userinfo_url == o.hydra_webfinger_oidc_discovery_userinfo_url &&
870
1392
  id == o.id &&
871
1393
  keto_namespaces == o.keto_namespaces &&
872
1394
  keto_read_max_depth == o.keto_read_max_depth &&
@@ -951,6 +1473,7 @@ module OryClient
951
1473
  kratos_session_lifespan == o.kratos_session_lifespan &&
952
1474
  kratos_session_whoami_required_aal == o.kratos_session_whoami_required_aal &&
953
1475
  name == o.name &&
1476
+ production == o.production &&
954
1477
  project_id == o.project_id &&
955
1478
  updated_at == o.updated_at
956
1479
  end
@@ -964,7 +1487,7 @@ module OryClient
964
1487
  # Calculates hash code according to all attributes.
965
1488
  # @return [Integer] Hash code
966
1489
  def hash
967
- [created_at, id, keto_namespaces, keto_read_max_depth, kratos_cookies_same_site, kratos_courier_smtp_connection_uri, kratos_courier_smtp_from_address, kratos_courier_smtp_from_name, kratos_courier_smtp_headers, kratos_courier_templates_recovery_invalid_email_body_html, kratos_courier_templates_recovery_invalid_email_body_plaintext, kratos_courier_templates_recovery_invalid_email_subject, kratos_courier_templates_recovery_valid_email_body_html, kratos_courier_templates_recovery_valid_email_body_plaintext, kratos_courier_templates_recovery_valid_email_subject, kratos_courier_templates_verification_invalid_email_body_html, kratos_courier_templates_verification_invalid_email_body_plaintext, kratos_courier_templates_verification_invalid_email_subject, kratos_courier_templates_verification_valid_email_body_html, kratos_courier_templates_verification_valid_email_body_plaintext, kratos_courier_templates_verification_valid_email_subject, kratos_identity_schemas, kratos_secrets_cipher, kratos_secrets_cookie, kratos_secrets_default, kratos_selfservice_allowed_return_urls, kratos_selfservice_default_browser_return_url, kratos_selfservice_flows_error_ui_url, kratos_selfservice_flows_hooks, kratos_selfservice_flows_login_after_default_browser_return_url, kratos_selfservice_flows_login_after_oidc_default_browser_return_url, kratos_selfservice_flows_login_after_password_default_browser_return_url, kratos_selfservice_flows_login_after_webauthn_default_browser_return_url, kratos_selfservice_flows_login_lifespan, kratos_selfservice_flows_login_ui_url, kratos_selfservice_flows_logout_after_default_browser_return_url, kratos_selfservice_flows_recovery_after_default_browser_return_url, kratos_selfservice_flows_recovery_enabled, kratos_selfservice_flows_recovery_lifespan, kratos_selfservice_flows_recovery_ui_url, kratos_selfservice_flows_registration_after_default_browser_return_url, kratos_selfservice_flows_registration_after_oidc_default_browser_return_url, kratos_selfservice_flows_registration_after_password_default_browser_return_url, kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url, kratos_selfservice_flows_registration_enabled, kratos_selfservice_flows_registration_lifespan, kratos_selfservice_flows_registration_ui_url, kratos_selfservice_flows_settings_after_default_browser_return_url, kratos_selfservice_flows_settings_after_password_default_browser_return_url, kratos_selfservice_flows_settings_after_profile_default_browser_return_url, kratos_selfservice_flows_settings_lifespan, kratos_selfservice_flows_settings_privileged_session_max_age, kratos_selfservice_flows_settings_required_aal, kratos_selfservice_flows_settings_ui_url, kratos_selfservice_flows_verification_after_default_browser_return_url, kratos_selfservice_flows_verification_enabled, kratos_selfservice_flows_verification_lifespan, kratos_selfservice_flows_verification_ui_url, kratos_selfservice_methods_link_config_base_url, kratos_selfservice_methods_link_config_lifespan, kratos_selfservice_methods_link_enabled, kratos_selfservice_methods_lookup_secret_enabled, kratos_selfservice_methods_oidc_config_base_redirect_uri, kratos_selfservice_methods_oidc_config_providers, kratos_selfservice_methods_oidc_enabled, kratos_selfservice_methods_password_config_haveibeenpwned_enabled, kratos_selfservice_methods_password_config_identifier_similarity_check_enabled, kratos_selfservice_methods_password_config_ignore_network_errors, kratos_selfservice_methods_password_config_max_breaches, kratos_selfservice_methods_password_config_min_password_length, kratos_selfservice_methods_password_enabled, kratos_selfservice_methods_profile_enabled, kratos_selfservice_methods_totp_config_issuer, kratos_selfservice_methods_totp_enabled, kratos_selfservice_methods_webauthn_config_passwordless, kratos_selfservice_methods_webauthn_config_rp_display_name, kratos_selfservice_methods_webauthn_config_rp_icon, kratos_selfservice_methods_webauthn_config_rp_id, kratos_selfservice_methods_webauthn_config_rp_origin, kratos_selfservice_methods_webauthn_enabled, kratos_session_cookie_persistent, kratos_session_cookie_same_site, kratos_session_lifespan, kratos_session_whoami_required_aal, name, project_id, updated_at].hash
1490
+ [created_at, hydra_oauth2_client_credentials_default_grant_allowed_scope, hydra_oauth2_grant_jwt_iat_optional, hydra_oauth2_grant_jwt_jti_optional, hydra_oauth2_grant_jwt_max_ttl, hydra_oauth2_pkce_enforced, hydra_oauth2_pkce_enforced_for_public_clients, hydra_oauth2_refresh_token_hook, hydra_oidc_dynamic_client_registration_default_scope, hydra_oidc_dynamic_client_registration_enabled, hydra_oidc_subject_identifiers_pairwise_salt, hydra_oidc_subject_identifiers_supported_types, hydra_secrets_cookie, hydra_secrets_system, hydra_serve_admin_cors_allowed_origins, hydra_serve_admin_cors_enabled, hydra_serve_cookies_same_site_legacy_workaround, hydra_serve_cookies_same_site_mode, hydra_serve_public_cors_allowed_origins, hydra_serve_public_cors_enabled, hydra_strategies_access_token, hydra_strategies_scope, hydra_ttl_access_token, hydra_ttl_auth_code, hydra_ttl_id_token, hydra_ttl_login_consent_request, hydra_ttl_refresh_token, hydra_urls_consent, hydra_urls_error, hydra_urls_login, hydra_urls_logout, hydra_urls_post_logout_redirect, hydra_urls_self_issuer, hydra_webfinger_jwks_broadcast_keys, hydra_webfinger_oidc_discovery_auth_url, hydra_webfinger_oidc_discovery_client_registration_url, hydra_webfinger_oidc_discovery_jwks_url, hydra_webfinger_oidc_discovery_supported_claims, hydra_webfinger_oidc_discovery_supported_scope, hydra_webfinger_oidc_discovery_token_url, hydra_webfinger_oidc_discovery_userinfo_url, id, keto_namespaces, keto_read_max_depth, kratos_cookies_same_site, kratos_courier_smtp_connection_uri, kratos_courier_smtp_from_address, kratos_courier_smtp_from_name, kratos_courier_smtp_headers, kratos_courier_templates_recovery_invalid_email_body_html, kratos_courier_templates_recovery_invalid_email_body_plaintext, kratos_courier_templates_recovery_invalid_email_subject, kratos_courier_templates_recovery_valid_email_body_html, kratos_courier_templates_recovery_valid_email_body_plaintext, kratos_courier_templates_recovery_valid_email_subject, kratos_courier_templates_verification_invalid_email_body_html, kratos_courier_templates_verification_invalid_email_body_plaintext, kratos_courier_templates_verification_invalid_email_subject, kratos_courier_templates_verification_valid_email_body_html, kratos_courier_templates_verification_valid_email_body_plaintext, kratos_courier_templates_verification_valid_email_subject, kratos_identity_schemas, kratos_secrets_cipher, kratos_secrets_cookie, kratos_secrets_default, kratos_selfservice_allowed_return_urls, kratos_selfservice_default_browser_return_url, kratos_selfservice_flows_error_ui_url, kratos_selfservice_flows_hooks, kratos_selfservice_flows_login_after_default_browser_return_url, kratos_selfservice_flows_login_after_oidc_default_browser_return_url, kratos_selfservice_flows_login_after_password_default_browser_return_url, kratos_selfservice_flows_login_after_webauthn_default_browser_return_url, kratos_selfservice_flows_login_lifespan, kratos_selfservice_flows_login_ui_url, kratos_selfservice_flows_logout_after_default_browser_return_url, kratos_selfservice_flows_recovery_after_default_browser_return_url, kratos_selfservice_flows_recovery_enabled, kratos_selfservice_flows_recovery_lifespan, kratos_selfservice_flows_recovery_ui_url, kratos_selfservice_flows_registration_after_default_browser_return_url, kratos_selfservice_flows_registration_after_oidc_default_browser_return_url, kratos_selfservice_flows_registration_after_password_default_browser_return_url, kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url, kratos_selfservice_flows_registration_enabled, kratos_selfservice_flows_registration_lifespan, kratos_selfservice_flows_registration_ui_url, kratos_selfservice_flows_settings_after_default_browser_return_url, kratos_selfservice_flows_settings_after_password_default_browser_return_url, kratos_selfservice_flows_settings_after_profile_default_browser_return_url, kratos_selfservice_flows_settings_lifespan, kratos_selfservice_flows_settings_privileged_session_max_age, kratos_selfservice_flows_settings_required_aal, kratos_selfservice_flows_settings_ui_url, kratos_selfservice_flows_verification_after_default_browser_return_url, kratos_selfservice_flows_verification_enabled, kratos_selfservice_flows_verification_lifespan, kratos_selfservice_flows_verification_ui_url, kratos_selfservice_methods_link_config_base_url, kratos_selfservice_methods_link_config_lifespan, kratos_selfservice_methods_link_enabled, kratos_selfservice_methods_lookup_secret_enabled, kratos_selfservice_methods_oidc_config_base_redirect_uri, kratos_selfservice_methods_oidc_config_providers, kratos_selfservice_methods_oidc_enabled, kratos_selfservice_methods_password_config_haveibeenpwned_enabled, kratos_selfservice_methods_password_config_identifier_similarity_check_enabled, kratos_selfservice_methods_password_config_ignore_network_errors, kratos_selfservice_methods_password_config_max_breaches, kratos_selfservice_methods_password_config_min_password_length, kratos_selfservice_methods_password_enabled, kratos_selfservice_methods_profile_enabled, kratos_selfservice_methods_totp_config_issuer, kratos_selfservice_methods_totp_enabled, kratos_selfservice_methods_webauthn_config_passwordless, kratos_selfservice_methods_webauthn_config_rp_display_name, kratos_selfservice_methods_webauthn_config_rp_icon, kratos_selfservice_methods_webauthn_config_rp_id, kratos_selfservice_methods_webauthn_config_rp_origin, kratos_selfservice_methods_webauthn_enabled, kratos_session_cookie_persistent, kratos_session_cookie_same_site, kratos_session_lifespan, kratos_session_whoami_required_aal, name, production, project_id, updated_at].hash
968
1491
  end
969
1492
 
970
1493
  # Builds the object from hash
@@ -979,6 +1502,7 @@ module OryClient
979
1502
  # @return [Object] Returns the model itself
980
1503
  def build_from_hash(attributes)
981
1504
  return nil unless attributes.is_a?(Hash)
1505
+ attributes = attributes.transform_keys(&:to_sym)
982
1506
  self.class.openapi_types.each_pair do |key, type|
983
1507
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
984
1508
  self.send("#{key}=", nil)