ory-client 0.2.0.alpha28 → 0.2.0.alpha29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (433) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +90 -95
  4. data/docs/{AcceptOAuth2ConsentRequest.md → AcceptConsentRequest.md} +3 -3
  5. data/docs/{AcceptOAuth2LoginRequest.md → AcceptLoginRequest.md} +2 -2
  6. data/docs/AdminApi.md +2093 -15
  7. data/docs/{SuccessfulOAuth2RequestResponse.md → CompletedRequest.md} +2 -2
  8. data/docs/{OAuth2ConsentRequest.md → ConsentRequest.md} +3 -3
  9. data/docs/{AcceptOAuth2ConsentRequestSession.md → ConsentRequestSession.md} +2 -2
  10. data/docs/CreateProjectApiKeyRequest.md +18 -0
  11. data/docs/FlushInactiveOAuth2TokensRequest.md +18 -0
  12. data/docs/FlushLoginConsentRequest.md +18 -0
  13. data/docs/GenericError.md +1 -1
  14. data/docs/{JsonWebKey.md → JSONWebKey.md} +2 -2
  15. data/docs/JSONWebKeySet.md +18 -0
  16. data/docs/JsonError.md +7 -1
  17. data/docs/{AdminCreateJsonWebKeySetBody.md → JsonWebKeySetGeneratorRequest.md} +2 -2
  18. data/docs/{OAuth2LoginRequest.md → LoginRequest.md} +3 -3
  19. data/docs/{OAuth2LogoutRequest.md → LogoutRequest.md} +2 -2
  20. data/docs/ManagedIdentitySchema.md +1 -1
  21. data/docs/NormalizedProject.md +1 -1
  22. data/docs/NormalizedProjectRevision.md +25 -25
  23. data/docs/NormalizedProjectRevisionHook.md +4 -2
  24. data/docs/NormalizedProjectRevisionIdentitySchema.md +2 -2
  25. data/docs/NormalizedProjectRevisionThirdPartyProvider.md +1 -1
  26. data/docs/OAuth2Client.md +2 -26
  27. data/docs/{IntrospectedOAuth2Token.md → OAuth2TokenIntrospection.md} +2 -2
  28. data/docs/Oauth2TokenResponse.md +28 -0
  29. data/docs/{OAuth2TokenResponse.md → OauthTokenResponse.md} +2 -2
  30. data/docs/{OAuth2ConsentRequestOpenIDConnectContext.md → OpenIDConnectContext.md} +2 -2
  31. data/docs/Pagination.md +0 -4
  32. data/docs/PatchDocument.md +24 -0
  33. data/docs/{PreviousOAuth2ConsentSession.md → PreviousConsentSession.md} +4 -4
  34. data/docs/Project.md +2 -2
  35. data/docs/{ApiToken.md → ProjectApiKey.md} +5 -5
  36. data/docs/ProjectHost.md +2 -2
  37. data/docs/ProjectInvite.md +3 -3
  38. data/docs/ProjectMetadata.md +1 -1
  39. data/docs/PublicApi.md +738 -0
  40. data/docs/RefreshTokenHookRequest.md +0 -4
  41. data/docs/RefreshTokenHookResponse.md +1 -1
  42. data/docs/{RejectOAuth2Request.md → RejectRequest.md} +2 -2
  43. data/docs/{HandledOAuth2LoginRequest.md → RequestWasHandledResponse.md} +2 -2
  44. data/docs/Subscription.md +1 -1
  45. data/docs/{AdminTrustOAuth2JwtGrantIssuerBody.md → TrustJwtGrantIssuerBody.md} +3 -3
  46. data/docs/{TrustedOAuth2JwtGrantJsonWebKey.md → TrustedJsonWebKey.md} +2 -2
  47. data/docs/{TrustedOAuth2JwtGrantIssuer.md → TrustedJwtGrantIssuer.md} +3 -3
  48. data/docs/{OidcUserInfo.md → UserinfoResponse.md} +2 -2
  49. data/docs/V0alpha2Api.md +384 -3154
  50. data/docs/{OidcConfiguration.md → WellKnown.md} +2 -6
  51. data/lib/ory-client/api/admin_api.rb +2108 -14
  52. data/lib/ory-client/api/metadata_api.rb +1 -1
  53. data/lib/ory-client/api/public_api.rb +723 -0
  54. data/lib/ory-client/api/read_api.rb +1 -1
  55. data/lib/ory-client/api/v0alpha2_api.rb +349 -2964
  56. data/lib/ory-client/api/write_api.rb +1 -1
  57. data/lib/ory-client/api_client.rb +1 -1
  58. data/lib/ory-client/api_error.rb +1 -1
  59. data/lib/ory-client/configuration.rb +1 -8
  60. data/lib/ory-client/models/{accept_o_auth2_consent_request.rb → accept_consent_request.rb} +5 -5
  61. data/lib/ory-client/models/{accept_o_auth2_login_request.rb → accept_login_request.rb} +4 -4
  62. data/lib/ory-client/models/active_project.rb +1 -1
  63. data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
  64. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +1 -1
  65. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +1 -1
  66. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +1 -1
  67. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +1 -1
  68. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +1 -1
  69. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  70. data/lib/ory-client/models/admin_identity_import_credentials.rb +1 -1
  71. data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
  72. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  73. data/lib/ory-client/models/cloud_account.rb +1 -1
  74. data/lib/ory-client/models/cname_settings.rb +1 -1
  75. data/lib/ory-client/models/{successful_o_auth2_request_response.rb → completed_request.rb} +4 -4
  76. data/lib/ory-client/models/{o_auth2_consent_request.rb → consent_request.rb} +5 -5
  77. data/lib/ory-client/models/{accept_o_auth2_consent_request_session.rb → consent_request_session.rb} +4 -4
  78. data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
  79. data/lib/ory-client/models/{headers.rb → create_project_api_key_request.rb} +17 -14
  80. data/lib/ory-client/models/create_project_body.rb +1 -1
  81. data/lib/ory-client/models/create_subscription_payload.rb +1 -1
  82. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  83. data/lib/ory-client/models/expand_tree.rb +1 -1
  84. data/lib/ory-client/models/{handled_o_auth2_logout_request.rb → flush_inactive_o_auth2_tokens_request.rb} +12 -17
  85. data/lib/ory-client/models/{handled_o_auth2_consent_request.rb → flush_login_consent_request.rb} +12 -17
  86. data/lib/ory-client/models/generic_error.rb +4 -5
  87. data/lib/ory-client/models/generic_error_content.rb +1 -1
  88. data/lib/ory-client/models/get_check_response.rb +1 -1
  89. data/lib/ory-client/models/get_managed_identity_schema_location.rb +1 -1
  90. data/lib/ory-client/models/get_relation_tuples_response.rb +1 -1
  91. data/lib/ory-client/models/get_version200_response.rb +1 -1
  92. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  93. data/lib/ory-client/models/health_status.rb +1 -1
  94. data/lib/ory-client/models/identity.rb +1 -1
  95. data/lib/ory-client/models/identity_credentials.rb +1 -1
  96. data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
  97. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
  98. data/lib/ory-client/models/identity_credentials_password.rb +1 -1
  99. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  100. data/lib/ory-client/models/identity_schema_container.rb +1 -1
  101. data/lib/ory-client/models/identity_schema_preset.rb +1 -1
  102. data/lib/ory-client/models/identity_state.rb +1 -1
  103. data/lib/ory-client/models/invite_payload.rb +1 -1
  104. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  105. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
  106. data/lib/ory-client/models/is_ready200_response.rb +1 -1
  107. data/lib/ory-client/models/is_ready503_response.rb +1 -1
  108. data/lib/ory-client/models/json_error.rb +35 -5
  109. data/lib/ory-client/models/json_patch.rb +1 -1
  110. data/lib/ory-client/models/json_web_key.rb +5 -4
  111. data/lib/ory-client/models/json_web_key_set.rb +6 -6
  112. data/lib/ory-client/models/{admin_create_json_web_key_set_body.rb → json_web_key_set_generator_request.rb} +4 -4
  113. data/lib/ory-client/models/keto_namespace.rb +1 -1
  114. data/lib/ory-client/models/{o_auth2_login_request.rb → login_request.rb} +5 -5
  115. data/lib/ory-client/models/{o_auth2_logout_request.rb → logout_request.rb} +4 -4
  116. data/lib/ory-client/models/managed_identity_schema.rb +2 -1
  117. data/lib/ory-client/models/managed_identity_schema_validation_result.rb +1 -1
  118. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  119. data/lib/ory-client/models/normalized_project.rb +2 -1
  120. data/lib/ory-client/models/normalized_project_revision.rb +35 -21
  121. data/lib/ory-client/models/normalized_project_revision_hook.rb +14 -2
  122. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +3 -1
  123. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +2 -1
  124. data/lib/ory-client/models/null_plan.rb +1 -1
  125. data/lib/ory-client/models/o_auth2_client.rb +13 -320
  126. data/lib/ory-client/models/{introspected_o_auth2_token.rb → o_auth2_token_introspection.rb} +5 -5
  127. data/lib/ory-client/models/{o_auth2_consent_session_expires_at.rb → oauth2_token_response.rb} +35 -25
  128. data/lib/ory-client/models/{o_auth2_token_response.rb → oauth_token_response.rb} +5 -5
  129. data/lib/ory-client/models/{o_auth2_consent_request_open_id_connect_context.rb → open_id_connect_context.rb} +4 -4
  130. data/lib/ory-client/models/pagination.rb +2 -56
  131. data/lib/ory-client/models/patch_delta.rb +1 -1
  132. data/lib/ory-client/models/{pagination_headers.rb → patch_document.rb} +50 -19
  133. data/lib/ory-client/models/{previous_o_auth2_consent_session.rb → previous_consent_session.rb} +6 -6
  134. data/lib/ory-client/models/project.rb +3 -1
  135. data/lib/ory-client/models/{api_token.rb → project_api_key.rb} +7 -4
  136. data/lib/ory-client/models/project_host.rb +3 -1
  137. data/lib/ory-client/models/project_invite.rb +4 -1
  138. data/lib/ory-client/models/project_metadata.rb +2 -1
  139. data/lib/ory-client/models/project_service_identity.rb +1 -1
  140. data/lib/ory-client/models/project_service_o_auth2.rb +1 -1
  141. data/lib/ory-client/models/project_service_permission.rb +1 -1
  142. data/lib/ory-client/models/project_services.rb +1 -1
  143. data/lib/ory-client/models/provision_mock_subscription_payload.rb +1 -1
  144. data/lib/ory-client/models/quota_custom_domains.rb +1 -1
  145. data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
  146. data/lib/ory-client/models/recovery_address.rb +1 -1
  147. data/lib/ory-client/models/refresh_token_hook_request.rb +2 -20
  148. data/lib/ory-client/models/refresh_token_hook_response.rb +2 -2
  149. data/lib/ory-client/models/{reject_o_auth2_request.rb → reject_request.rb} +4 -4
  150. data/lib/ory-client/models/relation_query.rb +1 -1
  151. data/lib/ory-client/models/relation_tuple.rb +1 -1
  152. data/lib/ory-client/models/{handled_o_auth2_login_request.rb → request_was_handled_response.rb} +4 -4
  153. data/lib/ory-client/models/revoked_sessions.rb +1 -1
  154. data/lib/ory-client/models/schema_patch.rb +1 -1
  155. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
  156. data/lib/ory-client/models/self_service_error.rb +1 -1
  157. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  158. data/lib/ory-client/models/self_service_login_flow.rb +1 -1
  159. data/lib/ory-client/models/self_service_logout_url.rb +1 -1
  160. data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
  161. data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
  162. data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
  163. data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
  164. data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
  165. data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
  166. data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
  167. data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
  168. data/lib/ory-client/models/session.rb +1 -1
  169. data/lib/ory-client/models/session_authentication_method.rb +1 -1
  170. data/lib/ory-client/models/session_device.rb +1 -1
  171. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  172. data/lib/ory-client/models/stripe_customer_response.rb +1 -1
  173. data/lib/ory-client/models/subject_set.rb +1 -1
  174. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +1 -1
  175. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
  176. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
  177. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
  178. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
  179. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
  180. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
  181. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  182. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  183. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  184. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
  185. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
  186. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  187. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +1 -1
  188. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
  189. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
  190. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
  191. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  192. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  193. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
  194. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
  195. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
  196. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  197. data/lib/ory-client/models/subscription.rb +2 -1
  198. data/lib/ory-client/models/successful_project_update.rb +1 -1
  199. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
  200. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
  201. data/lib/ory-client/models/token_pagination.rb +1 -1
  202. data/lib/ory-client/models/token_pagination_headers.rb +1 -1
  203. data/lib/ory-client/models/{admin_trust_o_auth2_jwt_grant_issuer_body.rb → trust_jwt_grant_issuer_body.rb} +5 -5
  204. data/lib/ory-client/models/{trusted_o_auth2_jwt_grant_json_web_key.rb → trusted_json_web_key.rb} +4 -4
  205. data/lib/ory-client/models/{trusted_o_auth2_jwt_grant_issuer.rb → trusted_jwt_grant_issuer.rb} +5 -5
  206. data/lib/ory-client/models/ui_container.rb +1 -1
  207. data/lib/ory-client/models/ui_node.rb +1 -1
  208. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  209. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  210. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  211. data/lib/ory-client/models/ui_node_input_attributes.rb +13 -1
  212. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  213. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  214. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  215. data/lib/ory-client/models/ui_text.rb +1 -1
  216. data/lib/ory-client/models/update_custom_hostname_body.rb +1 -1
  217. data/lib/ory-client/models/update_project.rb +1 -1
  218. data/lib/ory-client/models/update_subscription_payload.rb +1 -1
  219. data/lib/ory-client/models/{oidc_user_info.rb → userinfo_response.rb} +4 -4
  220. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  221. data/lib/ory-client/models/version.rb +1 -1
  222. data/lib/ory-client/models/warning.rb +1 -1
  223. data/lib/ory-client/models/{oidc_configuration.rb → well_known.rb} +6 -40
  224. data/lib/ory-client/version.rb +2 -2
  225. data/lib/ory-client.rb +29 -33
  226. data/ory-client.gemspec +1 -1
  227. data/spec/api/admin_api_spec.rb +400 -5
  228. data/spec/api/metadata_api_spec.rb +1 -1
  229. data/spec/api/public_api_spec.rb +167 -0
  230. data/spec/api/read_api_spec.rb +1 -1
  231. data/spec/api/v0alpha2_api_spec.rb +38 -529
  232. data/spec/api/write_api_spec.rb +1 -1
  233. data/spec/api_client_spec.rb +1 -1
  234. data/spec/configuration_spec.rb +1 -1
  235. data/spec/models/{accept_o_auth2_consent_request_spec.rb → accept_consent_request_spec.rb} +7 -7
  236. data/spec/models/{accept_o_auth2_login_request_spec.rb → accept_login_request_spec.rb} +7 -7
  237. data/spec/models/active_project_spec.rb +1 -1
  238. data/spec/models/admin_create_identity_body_spec.rb +1 -1
  239. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +1 -1
  240. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +1 -1
  241. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +1 -1
  242. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +1 -1
  243. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +1 -1
  244. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  245. data/spec/models/admin_identity_import_credentials_spec.rb +1 -1
  246. data/spec/models/admin_update_identity_body_spec.rb +1 -1
  247. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  248. data/spec/models/cloud_account_spec.rb +1 -1
  249. data/spec/models/cname_settings_spec.rb +1 -1
  250. data/spec/models/{handled_o_auth2_logout_request_spec.rb → completed_request_spec.rb} +7 -7
  251. data/spec/models/{accept_o_auth2_consent_request_session_spec.rb → consent_request_session_spec.rb} +7 -7
  252. data/spec/models/{o_auth2_consent_request_spec.rb → consent_request_spec.rb} +7 -7
  253. data/spec/models/create_custom_hostname_body_spec.rb +1 -1
  254. data/spec/models/{handled_o_auth2_consent_request_spec.rb → create_project_api_key_request_spec.rb} +8 -8
  255. data/spec/models/create_project_body_spec.rb +1 -1
  256. data/spec/models/create_subscription_payload_spec.rb +1 -1
  257. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  258. data/spec/models/expand_tree_spec.rb +1 -1
  259. data/spec/models/flush_inactive_o_auth2_tokens_request_spec.rb +34 -0
  260. data/spec/models/{headers_spec.rb → flush_login_consent_request_spec.rb} +8 -8
  261. data/spec/models/generic_error_content_spec.rb +1 -1
  262. data/spec/models/generic_error_spec.rb +1 -1
  263. data/spec/models/get_check_response_spec.rb +1 -1
  264. data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
  265. data/spec/models/get_relation_tuples_response_spec.rb +1 -1
  266. data/spec/models/get_version200_response_spec.rb +1 -1
  267. data/spec/models/health_not_ready_status_spec.rb +1 -1
  268. data/spec/models/health_status_spec.rb +1 -1
  269. data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
  270. data/spec/models/identity_credentials_oidc_spec.rb +1 -1
  271. data/spec/models/identity_credentials_password_spec.rb +1 -1
  272. data/spec/models/identity_credentials_spec.rb +1 -1
  273. data/spec/models/identity_credentials_type_spec.rb +1 -1
  274. data/spec/models/identity_schema_container_spec.rb +1 -1
  275. data/spec/models/identity_schema_preset_spec.rb +1 -1
  276. data/spec/models/identity_spec.rb +1 -1
  277. data/spec/models/identity_state_spec.rb +1 -1
  278. data/spec/models/invite_payload_spec.rb +1 -1
  279. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
  280. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  281. data/spec/models/is_ready200_response_spec.rb +1 -1
  282. data/spec/models/is_ready503_response_spec.rb +1 -1
  283. data/spec/models/json_error_spec.rb +19 -1
  284. data/spec/models/json_patch_spec.rb +1 -1
  285. data/spec/models/{admin_create_json_web_key_set_body_spec.rb → json_web_key_set_generator_request_spec.rb} +7 -7
  286. data/spec/models/json_web_key_set_spec.rb +7 -7
  287. data/spec/models/json_web_key_spec.rb +7 -7
  288. data/spec/models/keto_namespace_spec.rb +1 -1
  289. data/spec/models/{o_auth2_login_request_spec.rb → login_request_spec.rb} +7 -7
  290. data/spec/models/{o_auth2_logout_request_spec.rb → logout_request_spec.rb} +7 -7
  291. data/spec/models/managed_identity_schema_spec.rb +1 -1
  292. data/spec/models/managed_identity_schema_validation_result_spec.rb +1 -1
  293. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  294. data/spec/models/normalized_project_revision_hook_spec.rb +7 -1
  295. data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
  296. data/spec/models/normalized_project_revision_spec.rb +1 -1
  297. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
  298. data/spec/models/normalized_project_spec.rb +1 -1
  299. data/spec/models/null_plan_spec.rb +1 -1
  300. data/spec/models/o_auth2_client_spec.rb +1 -73
  301. data/spec/models/{introspected_o_auth2_token_spec.rb → o_auth2_token_introspection_spec.rb} +7 -7
  302. data/spec/models/{o_auth2_token_response_spec.rb → oauth2_token_response_spec.rb} +7 -7
  303. data/spec/models/{o_auth2_consent_session_expires_at_spec.rb → oauth_token_response_spec.rb} +16 -10
  304. data/spec/models/{o_auth2_consent_request_open_id_connect_context_spec.rb → open_id_connect_context_spec.rb} +7 -7
  305. data/spec/models/pagination_spec.rb +1 -13
  306. data/spec/models/patch_delta_spec.rb +1 -1
  307. data/spec/models/{o_auth2_api_error_spec.rb → patch_document_spec.rb} +11 -11
  308. data/spec/models/{previous_o_auth2_consent_session_spec.rb → previous_consent_session_spec.rb} +7 -7
  309. data/spec/models/{api_token_spec.rb → project_api_key_spec.rb} +7 -7
  310. data/spec/models/project_host_spec.rb +1 -1
  311. data/spec/models/project_invite_spec.rb +1 -1
  312. data/spec/models/project_metadata_spec.rb +1 -1
  313. data/spec/models/project_service_identity_spec.rb +1 -1
  314. data/spec/models/project_service_o_auth2_spec.rb +1 -1
  315. data/spec/models/project_service_permission_spec.rb +1 -1
  316. data/spec/models/project_services_spec.rb +1 -1
  317. data/spec/models/project_spec.rb +1 -1
  318. data/spec/models/provision_mock_subscription_payload_spec.rb +1 -1
  319. data/spec/models/quota_custom_domains_spec.rb +1 -1
  320. data/spec/models/quota_project_member_seats_spec.rb +1 -1
  321. data/spec/models/recovery_address_spec.rb +1 -1
  322. data/spec/models/refresh_token_hook_request_spec.rb +1 -13
  323. data/spec/models/refresh_token_hook_response_spec.rb +1 -1
  324. data/spec/models/{reject_o_auth2_request_spec.rb → reject_request_spec.rb} +7 -7
  325. data/spec/models/relation_query_spec.rb +1 -1
  326. data/spec/models/relation_tuple_spec.rb +1 -1
  327. data/spec/models/{handled_o_auth2_login_request_spec.rb → request_was_handled_response_spec.rb} +7 -7
  328. data/spec/models/revoked_sessions_spec.rb +1 -1
  329. data/spec/models/schema_patch_spec.rb +1 -1
  330. data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
  331. data/spec/models/self_service_error_spec.rb +1 -1
  332. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  333. data/spec/models/self_service_login_flow_spec.rb +1 -1
  334. data/spec/models/self_service_logout_url_spec.rb +1 -1
  335. data/spec/models/self_service_recovery_flow_spec.rb +1 -1
  336. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  337. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  338. data/spec/models/self_service_registration_flow_spec.rb +1 -1
  339. data/spec/models/self_service_settings_flow_spec.rb +1 -1
  340. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  341. data/spec/models/self_service_verification_flow_spec.rb +1 -1
  342. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  343. data/spec/models/session_authentication_method_spec.rb +1 -1
  344. data/spec/models/session_device_spec.rb +1 -1
  345. data/spec/models/session_spec.rb +1 -1
  346. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  347. data/spec/models/stripe_customer_response_spec.rb +1 -1
  348. data/spec/models/subject_set_spec.rb +1 -1
  349. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +1 -1
  350. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  351. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
  352. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
  353. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
  354. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
  355. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
  356. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  357. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  358. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  359. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  360. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
  361. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  362. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +1 -1
  363. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  364. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
  365. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
  366. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  367. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  368. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
  369. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
  370. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  371. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  372. data/spec/models/subscription_spec.rb +1 -1
  373. data/spec/models/successful_project_update_spec.rb +1 -1
  374. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  375. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  376. data/spec/models/token_pagination_headers_spec.rb +1 -1
  377. data/spec/models/token_pagination_spec.rb +1 -1
  378. data/spec/models/{admin_trust_o_auth2_jwt_grant_issuer_body_spec.rb → trust_jwt_grant_issuer_body_spec.rb} +7 -7
  379. data/spec/models/{trusted_o_auth2_jwt_grant_json_web_key_spec.rb → trusted_json_web_key_spec.rb} +7 -7
  380. data/spec/models/{trusted_o_auth2_jwt_grant_issuer_spec.rb → trusted_jwt_grant_issuer_spec.rb} +7 -7
  381. data/spec/models/ui_container_spec.rb +1 -1
  382. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  383. data/spec/models/ui_node_attributes_spec.rb +1 -1
  384. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  385. data/spec/models/ui_node_input_attributes_spec.rb +5 -1
  386. data/spec/models/ui_node_meta_spec.rb +1 -1
  387. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  388. data/spec/models/ui_node_spec.rb +1 -1
  389. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  390. data/spec/models/ui_text_spec.rb +1 -1
  391. data/spec/models/update_custom_hostname_body_spec.rb +1 -1
  392. data/spec/models/update_project_spec.rb +1 -1
  393. data/spec/models/update_subscription_payload_spec.rb +1 -1
  394. data/spec/models/{oidc_user_info_spec.rb → userinfo_response_spec.rb} +7 -7
  395. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  396. data/spec/models/version_spec.rb +1 -1
  397. data/spec/models/warning_spec.rb +1 -1
  398. data/spec/models/{oidc_configuration_spec.rb → well_known_spec.rb} +7 -19
  399. data/spec/spec_helper.rb +1 -1
  400. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  401. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  402. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  403. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out +2 -2
  404. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
  405. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
  406. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  407. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  408. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  409. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/Makefile +2 -2
  410. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
  411. metadata +109 -125
  412. data/docs/HandledOAuth2ConsentRequest.md +0 -18
  413. data/docs/HandledOAuth2LogoutRequest.md +0 -18
  414. data/docs/Headers.md +0 -18
  415. data/docs/IDTokenClaims.md +0 -44
  416. data/docs/JsonWebKeySet.md +0 -18
  417. data/docs/OAuth2AccessRequest.md +0 -24
  418. data/docs/OAuth2ApiError.md +0 -24
  419. data/docs/OAuth2ConsentSession.md +0 -38
  420. data/docs/OAuth2ConsentSessionExpiresAt.md +0 -26
  421. data/docs/PaginationHeaders.md +0 -20
  422. data/docs/UpdateOAuth2ClientLifespans.md +0 -40
  423. data/lib/ory-client/models/id_token_claims.rb +0 -343
  424. data/lib/ory-client/models/o_auth2_access_request.rb +0 -256
  425. data/lib/ory-client/models/o_auth2_api_error.rb +0 -251
  426. data/lib/ory-client/models/o_auth2_consent_session.rb +0 -313
  427. data/lib/ory-client/models/update_o_auth2_client_lifespans.rb +0 -535
  428. data/spec/models/id_token_claims_spec.rb +0 -112
  429. data/spec/models/o_auth2_access_request_spec.rb +0 -52
  430. data/spec/models/o_auth2_consent_session_spec.rb +0 -94
  431. data/spec/models/pagination_headers_spec.rb +0 -40
  432. data/spec/models/successful_o_auth2_request_response_spec.rb +0 -34
  433. data/spec/models/update_o_auth2_client_lifespans_spec.rb +0 -100
@@ -1,4 +1,4 @@
1
- # OryClient::SuccessfulOAuth2RequestResponse
1
+ # OryClient::CompletedRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'ory-client'
13
13
 
14
- instance = OryClient::SuccessfulOAuth2RequestResponse.new(
14
+ instance = OryClient::CompletedRequest.new(
15
15
  redirect_to: null
16
16
  )
17
17
  ```
@@ -1,4 +1,4 @@
1
- # OryClient::OAuth2ConsentRequest
1
+ # OryClient::ConsentRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  | **context** | **Object** | | [optional] |
12
12
  | **login_challenge** | **String** | LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app. | [optional] |
13
13
  | **login_session_id** | **String** | LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. | [optional] |
14
- | **oidc_context** | [**OAuth2ConsentRequestOpenIDConnectContext**](OAuth2ConsentRequestOpenIDConnectContext.md) | | [optional] |
14
+ | **oidc_context** | [**OpenIDConnectContext**](OpenIDConnectContext.md) | | [optional] |
15
15
  | **request_url** | **String** | RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. | [optional] |
16
16
  | **requested_access_token_audience** | **Array<String>** | | [optional] |
17
17
  | **requested_scope** | **Array<String>** | | [optional] |
@@ -23,7 +23,7 @@
23
23
  ```ruby
24
24
  require 'ory-client'
25
25
 
26
- instance = OryClient::OAuth2ConsentRequest.new(
26
+ instance = OryClient::ConsentRequest.new(
27
27
  acr: null,
28
28
  amr: null,
29
29
  challenge: null,
@@ -1,4 +1,4 @@
1
- # OryClient::AcceptOAuth2ConsentRequestSession
1
+ # OryClient::ConsentRequestSession
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'ory-client'
14
14
 
15
- instance = OryClient::AcceptOAuth2ConsentRequestSession.new(
15
+ instance = OryClient::ConsentRequestSession.new(
16
16
  access_token: null,
17
17
  id_token: null
18
18
  )
@@ -0,0 +1,18 @@
1
+ # OryClient::CreateProjectApiKeyRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The Token Name A descriptive name for the token. in: body | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ory-client'
13
+
14
+ instance = OryClient::CreateProjectApiKeyRequest.new(
15
+ name: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # OryClient::FlushInactiveOAuth2TokensRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **not_after** | **Time** | NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ory-client'
13
+
14
+ instance = OryClient::FlushInactiveOAuth2TokensRequest.new(
15
+ not_after: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # OryClient::FlushLoginConsentRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **not_after** | **Time** | NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recent login and consent database entries for auditing. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ory-client'
13
+
14
+ instance = OryClient::FlushLoginConsentRequest.new(
15
+ not_after: null
16
+ )
17
+ ```
18
+
data/docs/GenericError.md CHANGED
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **code** | **Integer** | The status code | [optional] |
8
8
  | **debug** | **String** | Debug information This field is often not exposed to protect against leaking sensitive information. | [optional] |
9
- | **details** | **Array<Hash<String, Object>>** | Further error details | [optional] |
9
+ | **details** | **Object** | Further error details | [optional] |
10
10
  | **error** | [**GenericErrorContent**](GenericErrorContent.md) | | [optional] |
11
11
  | **id** | **String** | The error ID Useful when trying to identify various errors in application logic. | [optional] |
12
12
  | **message** | **String** | Error message The error's message. | |
@@ -1,4 +1,4 @@
1
- # OryClient::JsonWebKey
1
+ # OryClient::JSONWebKey
2
2
 
3
3
  ## Properties
4
4
 
@@ -27,7 +27,7 @@
27
27
  ```ruby
28
28
  require 'ory-client'
29
29
 
30
- instance = OryClient::JsonWebKey.new(
30
+ instance = OryClient::JSONWebKey.new(
31
31
  alg: RS256,
32
32
  crv: P-256,
33
33
  d: T_N8I-6He3M8a7X1vWt6TGIx4xB_GP3Mb4SsZSA4v-orvJzzRiQhLlRR81naWYxfQAYt5isDI6_C2L9bdWo4FFPjGQFvNoRX-_sBJyBI_rl-TBgsZYoUlAj3J92WmY2inbA-PwyJfsaIIDceYBC-eX-xiCu6qMqkZi3MwQAFL6bMdPEM0z4JBcwFT3VdiWAIRUuACWQwrXMq672x7fMuaIaHi7XDGgt1ith23CLfaREmJku9PQcchbt_uEY-hqrFY6ntTtS4paWWQj86xLL94S-Tf6v6xkL918PfLSOTq6XCzxvlFwzBJqApnAhbwqLjpPhgUG04EDRrqrSBc5Y1BLevn6Ip5h1AhessBp3wLkQgz_roeckt-ybvzKTjESMuagnpqLvOT7Y9veIug2MwPJZI2VjczRc1vzMs25XrFQ8DpUy-bNdp89TmvAXwctUMiJdgHloJw23Cv03gIUAkDnsTqZmkpbIf-crpgNKFmQP_EDKoe8p_PXZZgfbRri3NoEVGP7Mk6yEu8LjJhClhZaBNjuWw2-KlBfOA3g79mhfBnkInee5KO9mGR50qPk1V-MorUYNTFMZIm0kFE6eYVWFBwJHLKYhHU34DoiK1VP-svZpC2uAMFNA_UJEwM9CQ2b8qe4-5e9aywMvwcuArRkAB5mBIfOaOJao3mfukKAE,
@@ -0,0 +1,18 @@
1
+ # OryClient::JSONWebKeySet
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **keys** | [**Array<JSONWebKey>**](JSONWebKey.md) | The value of the \"keys\" parameter is an array of JWK values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ory-client'
13
+
14
+ instance = OryClient::JSONWebKeySet.new(
15
+ keys: null
16
+ )
17
+ ```
18
+
data/docs/JsonError.md CHANGED
@@ -5,6 +5,9 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **error** | [**GenericError**](GenericError.md) | | |
8
+ | **error_debug** | **String** | Debug contains debug information. This is usually not available and has to be enabled. | [optional] |
9
+ | **error_description** | **String** | Description contains further information on the nature of the error. | [optional] |
10
+ | **status_code** | **Integer** | Code represents the error status code (404, 403, 401, ...). | [optional] |
8
11
 
9
12
  ## Example
10
13
 
@@ -12,7 +15,10 @@
12
15
  require 'ory-client'
13
16
 
14
17
  instance = OryClient::JsonError.new(
15
- error: null
18
+ error: null,
19
+ error_debug: The database adapter was unable to find the element,
20
+ error_description: Object with ID 12345 does not exist,
21
+ status_code: 404
16
22
  )
17
23
  ```
18
24
 
@@ -1,4 +1,4 @@
1
- # OryClient::AdminCreateJsonWebKeySetBody
1
+ # OryClient::JsonWebKeySetGeneratorRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -13,7 +13,7 @@
13
13
  ```ruby
14
14
  require 'ory-client'
15
15
 
16
- instance = OryClient::AdminCreateJsonWebKeySetBody.new(
16
+ instance = OryClient::JsonWebKeySetGeneratorRequest.new(
17
17
  alg: null,
18
18
  kid: null,
19
19
  use: null
@@ -1,4 +1,4 @@
1
- # OryClient::OAuth2LoginRequest
1
+ # OryClient::LoginRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **challenge** | **String** | ID is the identifier (\"login challenge\") of the login request. It is used to identify the session. | |
8
8
  | **client** | [**OAuth2Client**](OAuth2Client.md) | | |
9
- | **oidc_context** | [**OAuth2ConsentRequestOpenIDConnectContext**](OAuth2ConsentRequestOpenIDConnectContext.md) | | [optional] |
9
+ | **oidc_context** | [**OpenIDConnectContext**](OpenIDConnectContext.md) | | [optional] |
10
10
  | **request_url** | **String** | RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. | |
11
11
  | **requested_access_token_audience** | **Array<String>** | | |
12
12
  | **requested_scope** | **Array<String>** | | |
@@ -19,7 +19,7 @@
19
19
  ```ruby
20
20
  require 'ory-client'
21
21
 
22
- instance = OryClient::OAuth2LoginRequest.new(
22
+ instance = OryClient::LoginRequest.new(
23
23
  challenge: null,
24
24
  client: null,
25
25
  oidc_context: null,
@@ -1,4 +1,4 @@
1
- # OryClient::OAuth2LogoutRequest
1
+ # OryClient::LogoutRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -16,7 +16,7 @@
16
16
  ```ruby
17
17
  require 'ory-client'
18
18
 
19
- instance = OryClient::OAuth2LogoutRequest.new(
19
+ instance = OryClient::LogoutRequest.new(
20
20
  challenge: null,
21
21
  client: null,
22
22
  request_url: null,
@@ -8,7 +8,7 @@
8
8
  | **blob_url** | **String** | The publicly accessible url of the schema | |
9
9
  | **content_hash** | **String** | The Content Hash Contains a hash of the schema's content. | [optional] |
10
10
  | **created_at** | **Time** | The Schema's Creation Date | [readonly] |
11
- | **id** | **String** | | |
11
+ | **id** | **String** | The schema's ID. | [readonly] |
12
12
  | **name** | **String** | The schema name This is set by the user and is for them to easily recognise their schema | |
13
13
  | **updated_at** | **Time** | Last Time Schema was Updated | [readonly] |
14
14
 
@@ -7,7 +7,7 @@
7
7
  | **created_at** | **Time** | The Project's Creation Date | [readonly] |
8
8
  | **current_revision** | [**NormalizedProjectRevision**](NormalizedProjectRevision.md) | | |
9
9
  | **hosts** | **Array<String>** | | |
10
- | **id** | **String** | | |
10
+ | **id** | **String** | The project's ID. | [readonly] |
11
11
  | **revisions** | [**Array<NormalizedProjectRevision>**](NormalizedProjectRevision.md) | | |
12
12
  | **slug** | **String** | The project's slug | [readonly] |
13
13
  | **state** | **String** | The state of the project. running Running halted Halted | [readonly] |
@@ -8,7 +8,7 @@
8
8
  | **hydra_oauth2_client_credentials_default_grant_allowed_scope** | **Boolean** | 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. | [optional] |
9
9
  | **hydra_oauth2_grant_jwt_iat_optional** | **Boolean** | 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. | [optional] |
10
10
  | **hydra_oauth2_grant_jwt_jti_optional** | **Boolean** | 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. | [optional] |
11
- | **hydra_oauth2_grant_jwt_max_ttl** | **String** | | [optional] |
11
+ | **hydra_oauth2_grant_jwt_max_ttl** | **String** | Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting. | [optional][default to '720h'] |
12
12
  | **hydra_oauth2_pkce_enforced** | **Boolean** | Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting. | [optional] |
13
13
  | **hydra_oauth2_pkce_enforced_for_public_clients** | **Boolean** | 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. | [optional] |
14
14
  | **hydra_oauth2_refresh_token_hook** | **String** | 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. | [optional] |
@@ -28,11 +28,11 @@
28
28
  | **hydra_serve_public_cors_enabled** | **Boolean** | Configures the Ory Hydra CORS Settings This governs the \"serve.public.cors.enabled\" setting. | [optional] |
29
29
  | **hydra_strategies_access_token** | **Object** | 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. | [optional] |
30
30
  | **hydra_strategies_scope** | **Object** | Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. | [optional] |
31
- | **hydra_ttl_access_token** | **String** | | [optional] |
32
- | **hydra_ttl_auth_code** | **String** | | [optional] |
33
- | **hydra_ttl_id_token** | **String** | | [optional] |
34
- | **hydra_ttl_login_consent_request** | **String** | | [optional] |
35
- | **hydra_ttl_refresh_token** | **String** | | [optional] |
31
+ | **hydra_ttl_access_token** | **String** | This governs the \"ttl.access_token\" setting. | [optional][default to '30m'] |
32
+ | **hydra_ttl_auth_code** | **String** | Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.auth_code\" setting. | [optional][default to '720h'] |
33
+ | **hydra_ttl_id_token** | **String** | This governs the \"ttl.id_token\" setting. | [optional][default to '30m'] |
34
+ | **hydra_ttl_login_consent_request** | **String** | Configures how long a user login and consent flow may take. This governs the \"ttl.login_consent_request\" setting. | [optional][default to '30m'] |
35
+ | **hydra_ttl_refresh_token** | **String** | Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.refresh_token\" setting. | [optional][default to '720h'] |
36
36
  | **hydra_urls_consent** | **String** | 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. | [optional] |
37
37
  | **hydra_urls_error** | **String** | 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. | [optional] |
38
38
  | **hydra_urls_login** | **String** | 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. | [optional] |
@@ -47,7 +47,7 @@
47
47
  | **hydra_webfinger_oidc_discovery_supported_scope** | **Array<String>** | | [optional] |
48
48
  | **hydra_webfinger_oidc_discovery_token_url** | **String** | Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting. | [optional] |
49
49
  | **hydra_webfinger_oidc_discovery_userinfo_url** | **String** | 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. | [optional] |
50
- | **id** | **String** | | [optional] |
50
+ | **id** | **String** | The revision ID. | [optional][readonly] |
51
51
  | **keto_namespaces** | [**Array<KetoNamespace>**](KetoNamespace.md) | | [optional] |
52
52
  | **keto_read_max_depth** | **Integer** | | [optional] |
53
53
  | **kratos_cookies_same_site** | **String** | Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting. | [optional] |
@@ -90,7 +90,7 @@
90
90
  | **kratos_selfservice_flows_registration_after_oidc_default_browser_return_url** | **String** | Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting. | [optional] |
91
91
  | **kratos_selfservice_flows_registration_after_password_default_browser_return_url** | **String** | Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. | [optional] |
92
92
  | **kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url** | **String** | Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. | [optional] |
93
- | **kratos_selfservice_flows_registration_enabled** | **Boolean** | | [optional] |
93
+ | **kratos_selfservice_flows_registration_enabled** | **Boolean** | Configures the Whether Ory Kratos Registration is Enabled This governs the \"selfservice.flows.registration.enabled\" setting.0 | [optional] |
94
94
  | **kratos_selfservice_flows_registration_lifespan** | **String** | Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting. | [optional] |
95
95
  | **kratos_selfservice_flows_registration_ui_url** | **String** | Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting. | [optional] |
96
96
  | **kratos_selfservice_flows_settings_after_default_browser_return_url** | **String** | Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting. | [optional] |
@@ -106,33 +106,33 @@
106
106
  | **kratos_selfservice_flows_verification_ui_url** | **String** | Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting. | [optional] |
107
107
  | **kratos_selfservice_methods_link_config_base_url** | **String** | Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. | [optional] |
108
108
  | **kratos_selfservice_methods_link_config_lifespan** | **String** | Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.config.lifespan\" setting. | [optional] |
109
- | **kratos_selfservice_methods_link_enabled** | **Boolean** | | [optional] |
110
- | **kratos_selfservice_methods_lookup_secret_enabled** | **Boolean** | | [optional] |
109
+ | **kratos_selfservice_methods_link_enabled** | **Boolean** | Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting. | [optional] |
110
+ | **kratos_selfservice_methods_lookup_secret_enabled** | **Boolean** | Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the \"selfservice.methods.lookup_secret.enabled\" setting. | [optional] |
111
111
  | **kratos_selfservice_methods_oidc_config_base_redirect_uri** | **String** | Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting. | [optional] |
112
112
  | **kratos_selfservice_methods_oidc_config_providers** | [**Array<NormalizedProjectRevisionThirdPartyProvider>**](NormalizedProjectRevisionThirdPartyProvider.md) | | [optional] |
113
113
  | **kratos_selfservice_methods_oidc_enabled** | **Boolean** | Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting. | [optional] |
114
- | **kratos_selfservice_methods_password_config_haveibeenpwned_enabled** | **Boolean** | | [optional] |
115
- | **kratos_selfservice_methods_password_config_identifier_similarity_check_enabled** | **Boolean** | | [optional] |
116
- | **kratos_selfservice_methods_password_config_ignore_network_errors** | **Boolean** | | [optional] |
114
+ | **kratos_selfservice_methods_password_config_haveibeenpwned_enabled** | **Boolean** | Configures whether Ory Kratos Password HIBP Checks is enabled This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting. | [optional] |
115
+ | **kratos_selfservice_methods_password_config_identifier_similarity_check_enabled** | **Boolean** | Configures whether Ory Kratos Password should disable the similarity policy. This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting. | [optional] |
116
+ | **kratos_selfservice_methods_password_config_ignore_network_errors** | **Boolean** | Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting. | [optional] |
117
117
  | **kratos_selfservice_methods_password_config_max_breaches** | **Integer** | Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting. | [optional] |
118
118
  | **kratos_selfservice_methods_password_config_min_password_length** | **Integer** | Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting. | [optional] |
119
- | **kratos_selfservice_methods_password_enabled** | **Boolean** | | [optional] |
120
- | **kratos_selfservice_methods_profile_enabled** | **Boolean** | | [optional] |
119
+ | **kratos_selfservice_methods_password_enabled** | **Boolean** | Configures whether Ory Kratos Password Method is enabled This governs the \"selfservice.methods.password.enabled\" setting. | [optional] |
120
+ | **kratos_selfservice_methods_profile_enabled** | **Boolean** | Configures whether Ory Kratos Profile Method is enabled This governs the \"selfservice.methods.profile.enabled\" setting. | [optional] |
121
121
  | **kratos_selfservice_methods_totp_config_issuer** | **String** | Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting. | [optional] |
122
- | **kratos_selfservice_methods_totp_enabled** | **Boolean** | | [optional] |
122
+ | **kratos_selfservice_methods_totp_enabled** | **Boolean** | Configures whether Ory Kratos TOTP Method is enabled This governs the \"selfservice.methods.totp.enabled\" setting. | [optional] |
123
123
  | **kratos_selfservice_methods_webauthn_config_passwordless** | **Boolean** | Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting. | [optional] |
124
124
  | **kratos_selfservice_methods_webauthn_config_rp_display_name** | **String** | Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting. | [optional] |
125
125
  | **kratos_selfservice_methods_webauthn_config_rp_icon** | **String** | Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. | [optional] |
126
126
  | **kratos_selfservice_methods_webauthn_config_rp_id** | **String** | Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting. | [optional] |
127
127
  | **kratos_selfservice_methods_webauthn_config_rp_origin** | **String** | Configures the Ory Kratos Webauthn RP Origin This governs the \"selfservice.methods.webauthn.config.rp.origin\" setting. | [optional] |
128
- | **kratos_selfservice_methods_webauthn_enabled** | **Boolean** | | [optional] |
129
- | **kratos_session_cookie_persistent** | **Boolean** | | [optional] |
128
+ | **kratos_selfservice_methods_webauthn_enabled** | **Boolean** | Configures whether Ory Kratos Webauthn is enabled This governs the \"selfservice.methods.webauthn.enabled\" setting. | [optional] |
129
+ | **kratos_session_cookie_persistent** | **Boolean** | Configures the Ory Kratos Session Cookie Persistent Attribute This governs the \"session.cookie.persistent\" setting. | [optional] |
130
130
  | **kratos_session_cookie_same_site** | **String** | Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting. | [optional] |
131
131
  | **kratos_session_lifespan** | **String** | Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting. | [optional] |
132
132
  | **kratos_session_whoami_required_aal** | **String** | Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. | [optional] |
133
133
  | **name** | **String** | The project's name. | |
134
134
  | **production** | **Boolean** | 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. | [optional] |
135
- | **project_id** | **String** | | [optional] |
135
+ | **project_id** | **String** | The Revision's Project ID | [optional] |
136
136
  | **updated_at** | **Time** | Last Time Project's Revision was Updated | [optional][readonly] |
137
137
 
138
138
  ## Example
@@ -145,7 +145,7 @@ instance = OryClient::NormalizedProjectRevision.new(
145
145
  hydra_oauth2_client_credentials_default_grant_allowed_scope: null,
146
146
  hydra_oauth2_grant_jwt_iat_optional: null,
147
147
  hydra_oauth2_grant_jwt_jti_optional: null,
148
- hydra_oauth2_grant_jwt_max_ttl: null,
148
+ hydra_oauth2_grant_jwt_max_ttl: 30m,
149
149
  hydra_oauth2_pkce_enforced: null,
150
150
  hydra_oauth2_pkce_enforced_for_public_clients: null,
151
151
  hydra_oauth2_refresh_token_hook: null,
@@ -165,11 +165,11 @@ instance = OryClient::NormalizedProjectRevision.new(
165
165
  hydra_serve_public_cors_enabled: null,
166
166
  hydra_strategies_access_token: null,
167
167
  hydra_strategies_scope: null,
168
- hydra_ttl_access_token: null,
169
- hydra_ttl_auth_code: null,
170
- hydra_ttl_id_token: null,
171
- hydra_ttl_login_consent_request: null,
172
- hydra_ttl_refresh_token: null,
168
+ hydra_ttl_access_token: 1h,
169
+ hydra_ttl_auth_code: 30m,
170
+ hydra_ttl_id_token: 1h,
171
+ hydra_ttl_login_consent_request: 1h,
172
+ hydra_ttl_refresh_token: 30m,
173
173
  hydra_urls_consent: null,
174
174
  hydra_urls_error: null,
175
175
  hydra_urls_login: null,
@@ -7,8 +7,8 @@
7
7
  | **config_key** | **String** | The Hooks Config Key | |
8
8
  | **created_at** | **Time** | The Project's Revision Creation Date | [optional][readonly] |
9
9
  | **hook** | **String** | The Hook Type | |
10
- | **id** | **String** | | [optional] |
11
- | **project_revision_id** | **String** | | [optional] |
10
+ | **id** | **String** | ID of the entry | [optional] |
11
+ | **project_revision_id** | **String** | The Revision's ID this schema belongs to | [optional] |
12
12
  | **updated_at** | **Time** | Last Time Project's Revision was Updated | [optional][readonly] |
13
13
  | **web_hook_config_auth_api_key_in** | **String** | Whether to send the API Key in the HTTP Header or as a HTTP Cookie | [optional] |
14
14
  | **web_hook_config_auth_api_key_name** | **String** | The name of the api key | [optional] |
@@ -17,6 +17,7 @@
17
17
  | **web_hook_config_auth_basic_auth_user** | **String** | The username to be sent in the HTTP Basic Auth Header | [optional] |
18
18
  | **web_hook_config_auth_type** | **String** | HTTP Auth Method to use for the Web-Hook | [optional] |
19
19
  | **web_hook_config_body** | **String** | URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads. | [optional] |
20
+ | **web_hook_config_can_interrupt** | **Boolean** | If enabled allows the web hook to interrupt / abort the self-service flow. It only applies to certain flows (registration/verification/login/settings) and requires a valid response format. | [optional] |
20
21
  | **web_hook_config_method** | **String** | The HTTP method to use (GET, POST, etc) for the Web-Hook | [optional] |
21
22
  | **web_hook_config_response_ignore** | **Boolean** | Whether to ignore the Web Hook response | [optional] |
22
23
  | **web_hook_config_url** | **String** | The URL the Web-Hook should call | [optional] |
@@ -40,6 +41,7 @@ instance = OryClient::NormalizedProjectRevisionHook.new(
40
41
  web_hook_config_auth_basic_auth_user: null,
41
42
  web_hook_config_auth_type: null,
42
43
  web_hook_config_body: base64://ZnVuY3Rpb24oY3R4KSB7CiAgaWRlbnRpdHlfaWQ6IGlmIGN0eFsiaWRlbnRpdHkiXSAhPSBudWxsIHRoZW4gY3R4LmlkZW50aXR5LmlkLAp9=,
44
+ web_hook_config_can_interrupt: null,
43
45
  web_hook_config_method: POST,
44
46
  web_hook_config_response_ignore: null,
45
47
  web_hook_config_url: https://www.example.org/web-hook-listener
@@ -5,14 +5,14 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **created_at** | **Time** | The Project's Revision Creation Date | [optional][readonly] |
8
- | **id** | **String** | | [optional] |
8
+ | **id** | **String** | The unique ID of this entry. | [optional] |
9
9
  | **identity_schema** | [**ManagedIdentitySchema**](ManagedIdentitySchema.md) | | [optional] |
10
10
  | **identity_schema_id** | **String** | | [optional] |
11
11
  | **import_id** | **String** | The imported (named) ID of the Identity Schema referenced in the Ory Kratos config. | [optional] |
12
12
  | **import_url** | **String** | The ImportURL can be used to import an Identity Schema from a bse64 encoded string. In the future, this key also support HTTPS and other sources! If you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key. The configuration will always return the import URL when you fetch it from the API. | [optional] |
13
13
  | **is_default** | **Boolean** | If true sets the default schema for identities Only one schema can ever be the default schema. If you try to add two schemas with default to true, the request will fail. | [optional] |
14
14
  | **preset** | **String** | Use a preset instead of a custom identity schema. | [optional] |
15
- | **project_revision_id** | **String** | | [optional] |
15
+ | **project_revision_id** | **String** | The Revision's ID this schema belongs to | [optional] |
16
16
  | **updated_at** | **Time** | Last Time Project's Revision was Updated | [optional][readonly] |
17
17
 
18
18
  ## Example
@@ -16,7 +16,7 @@
16
16
  | **issuer_url** | **String** | IssuerURL is the OpenID Connect Server URL. You can leave this empty if `provider` is not set to `generic`. If set, neither `auth_url` nor `token_url` are required. | [optional] |
17
17
  | **label** | **String** | Label represents an optional label which can be used in the UI generation. | [optional] |
18
18
  | **mapper_url** | **String** | Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider's data (e.g. GitHub or Google profile information) to hydrate the identity's data. It can be either a URL (file://, http(s)://, base64://) or an inline JSONNet code snippet. | [optional] |
19
- | **project_revision_id** | **String** | | [optional] |
19
+ | **project_revision_id** | **String** | The Revision's ID this schema belongs to | [optional] |
20
20
  | **provider** | **String** | Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of: generic google github gitlab microsoft discord slack facebook vk yandex apple | [optional] |
21
21
  | **provider_id** | **String** | ID is the provider's ID | [optional] |
22
22
  | **requested_claims** | **Object** | | [optional] |
data/docs/OAuth2Client.md CHANGED
@@ -6,13 +6,9 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **allowed_cors_origins** | **Array<String>** | | [optional] |
8
8
  | **audience** | **Array<String>** | | [optional] |
9
- | **authorization_code_grant_access_token_lifespan** | **String** | | [optional] |
10
- | **authorization_code_grant_id_token_lifespan** | **String** | | [optional] |
11
- | **authorization_code_grant_refresh_token_lifespan** | **String** | | [optional] |
12
9
  | **backchannel_logout_session_required** | **Boolean** | Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout Token to identify the RP session with the OP when the backchannel_logout_uri is used. If omitted, the default value is false. | [optional] |
13
10
  | **backchannel_logout_uri** | **String** | RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. | [optional] |
14
- | **client_credentials_grant_access_token_lifespan** | **String** | | [optional] |
15
- | **client_id** | **String** | ID is the id for this client. The ID is autogenerated and immutable. | [optional] |
11
+ | **client_id** | **String** | ID is the id for this client. | [optional] |
16
12
  | **client_name** | **String** | Name is the human-readable string name of the client to be presented to the end-user during authorization. | [optional] |
17
13
  | **client_secret** | **String** | Secret is the client's secret. The secret will be included in the create request as cleartext, and then never again. The secret is stored using BCrypt so it is impossible to recover it. Tell your users that they need to write the secret down as it will not be made available again. | [optional] |
18
14
  | **client_secret_expires_at** | **Integer** | SecretExpiresAt is an integer holding the time at which the client secret will expire or 0 if it will not expire. The time is represented as the number of seconds from 1970-01-01T00:00:00Z as measured in UTC until the date/time of expiration. This feature is currently not supported and it's value will always be set to 0. | [optional] |
@@ -22,22 +18,14 @@
22
18
  | **frontchannel_logout_session_required** | **Boolean** | Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false. | [optional] |
23
19
  | **frontchannel_logout_uri** | **String** | RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be. | [optional] |
24
20
  | **grant_types** | **Array<String>** | | [optional] |
25
- | **implicit_grant_access_token_lifespan** | **String** | | [optional] |
26
- | **implicit_grant_id_token_lifespan** | **String** | | [optional] |
27
21
  | **jwks** | **Object** | | [optional] |
28
22
  | **jwks_uri** | **String** | URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. | [optional] |
29
- | **jwt_bearer_grant_access_token_lifespan** | **String** | | [optional] |
30
23
  | **logo_uri** | **String** | LogoURI is an URL string that references a logo for the client. | [optional] |
31
24
  | **metadata** | **Object** | | [optional] |
32
25
  | **owner** | **String** | Owner is a string identifying the owner of the OAuth 2.0 Client. | [optional] |
33
- | **password_grant_access_token_lifespan** | **String** | | [optional] |
34
- | **password_grant_refresh_token_lifespan** | **String** | | [optional] |
35
26
  | **policy_uri** | **String** | PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data. | [optional] |
36
27
  | **post_logout_redirect_uris** | **Array<String>** | | [optional] |
37
28
  | **redirect_uris** | **Array<String>** | | [optional] |
38
- | **refresh_token_grant_access_token_lifespan** | **String** | | [optional] |
39
- | **refresh_token_grant_id_token_lifespan** | **String** | | [optional] |
40
- | **refresh_token_grant_refresh_token_lifespan** | **String** | | [optional] |
41
29
  | **registration_access_token** | **String** | RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. | [optional] |
42
30
  | **registration_client_uri** | **String** | RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client. | [optional] |
43
31
  | **request_object_signing_alg** | **String** | JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST be rejected, if not signed with this algorithm. | [optional] |
@@ -60,12 +48,8 @@ require 'ory-client'
60
48
  instance = OryClient::OAuth2Client.new(
61
49
  allowed_cors_origins: null,
62
50
  audience: null,
63
- authorization_code_grant_access_token_lifespan: null,
64
- authorization_code_grant_id_token_lifespan: null,
65
- authorization_code_grant_refresh_token_lifespan: null,
66
51
  backchannel_logout_session_required: null,
67
52
  backchannel_logout_uri: null,
68
- client_credentials_grant_access_token_lifespan: null,
69
53
  client_id: null,
70
54
  client_name: null,
71
55
  client_secret: null,
@@ -76,28 +60,20 @@ instance = OryClient::OAuth2Client.new(
76
60
  frontchannel_logout_session_required: null,
77
61
  frontchannel_logout_uri: null,
78
62
  grant_types: null,
79
- implicit_grant_access_token_lifespan: null,
80
- implicit_grant_id_token_lifespan: null,
81
63
  jwks: null,
82
64
  jwks_uri: null,
83
- jwt_bearer_grant_access_token_lifespan: null,
84
65
  logo_uri: null,
85
66
  metadata: null,
86
67
  owner: null,
87
- password_grant_access_token_lifespan: null,
88
- password_grant_refresh_token_lifespan: null,
89
68
  policy_uri: null,
90
69
  post_logout_redirect_uris: null,
91
70
  redirect_uris: null,
92
- refresh_token_grant_access_token_lifespan: null,
93
- refresh_token_grant_id_token_lifespan: null,
94
- refresh_token_grant_refresh_token_lifespan: null,
95
71
  registration_access_token: null,
96
72
  registration_client_uri: null,
97
73
  request_object_signing_alg: null,
98
74
  request_uris: null,
99
75
  response_types: null,
100
- scope: scope1 scope-2 scope.3 scope:4,
76
+ scope: null,
101
77
  sector_identifier_uri: null,
102
78
  subject_type: null,
103
79
  token_endpoint_auth_method: null,
@@ -1,4 +1,4 @@
1
- # OryClient::IntrospectedOAuth2Token
1
+ # OryClient::OAuth2TokenIntrospection
2
2
 
3
3
  ## Properties
4
4
 
@@ -24,7 +24,7 @@
24
24
  ```ruby
25
25
  require 'ory-client'
26
26
 
27
- instance = OryClient::IntrospectedOAuth2Token.new(
27
+ instance = OryClient::OAuth2TokenIntrospection.new(
28
28
  active: null,
29
29
  aud: null,
30
30
  client_id: null,
@@ -0,0 +1,28 @@
1
+ # OryClient::Oauth2TokenResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **access_token** | **String** | | [optional] |
8
+ | **expires_in** | **Integer** | | [optional] |
9
+ | **id_token** | **String** | | [optional] |
10
+ | **refresh_token** | **String** | | [optional] |
11
+ | **scope** | **String** | | [optional] |
12
+ | **token_type** | **String** | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'ory-client'
18
+
19
+ instance = OryClient::Oauth2TokenResponse.new(
20
+ access_token: null,
21
+ expires_in: null,
22
+ id_token: null,
23
+ refresh_token: null,
24
+ scope: null,
25
+ token_type: null
26
+ )
27
+ ```
28
+
@@ -1,4 +1,4 @@
1
- # OryClient::OAuth2TokenResponse
1
+ # OryClient::OauthTokenResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -16,7 +16,7 @@
16
16
  ```ruby
17
17
  require 'ory-client'
18
18
 
19
- instance = OryClient::OAuth2TokenResponse.new(
19
+ instance = OryClient::OauthTokenResponse.new(
20
20
  access_token: null,
21
21
  expires_in: null,
22
22
  id_token: null,
@@ -1,4 +1,4 @@
1
- # OryClient::OAuth2ConsentRequestOpenIDConnectContext
1
+ # OryClient::OpenIDConnectContext
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@
15
15
  ```ruby
16
16
  require 'ory-client'
17
17
 
18
- instance = OryClient::OAuth2ConsentRequestOpenIDConnectContext.new(
18
+ instance = OryClient::OpenIDConnectContext.new(
19
19
  acr_values: null,
20
20
  display: null,
21
21
  id_token_hint_claims: null,
data/docs/Pagination.md CHANGED
@@ -5,8 +5,6 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **page** | **Integer** | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. | [optional][default to 1] |
8
- | **page_size** | **Integer** | Items per page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). | [optional][default to 250] |
9
- | **page_token** | **String** | Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). | [optional][default to '1'] |
10
8
  | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
11
9
 
12
10
  ## Example
@@ -16,8 +14,6 @@ require 'ory-client'
16
14
 
17
15
  instance = OryClient::Pagination.new(
18
16
  page: null,
19
- page_size: null,
20
- page_token: null,
21
17
  per_page: null
22
18
  )
23
19
  ```