authlete_ruby_sdk 0.0.3.pre.beta → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (617) hide show
  1. checksums.yaml +4 -4
  2. data/lib/authlete/authorization.rb +24 -563
  3. data/lib/authlete/authorization_management.rb +15 -7
  4. data/lib/authlete/ciba.rb +35 -414
  5. data/lib/authlete/client.rb +3 -3
  6. data/lib/authlete/client_management.rb +133 -87
  7. data/lib/authlete/clients.rb +43 -23
  8. data/lib/authlete/device_flow.rb +24 -147
  9. data/lib/authlete/dynamic_client_registration.rb +31 -283
  10. data/lib/authlete/federation.rb +17 -66
  11. data/lib/authlete/grant_management.rb +10 -5
  12. data/lib/authlete/hardware_security_keys.rb +24 -10
  13. data/lib/authlete/introspection.rb +17 -195
  14. data/lib/authlete/jose_object.rb +10 -5
  15. data/lib/authlete/jwk_set_endpoint.rb +12 -7
  16. data/lib/authlete/lifecycle.rb +10 -5
  17. data/lib/authlete/models/components/access_token.rb +9 -9
  18. data/lib/authlete/models/components/access_token.rbi +1 -1
  19. data/lib/authlete/models/components/application_type.rb +1 -1
  20. data/lib/authlete/models/components/application_type.rbi +1 -1
  21. data/lib/authlete/models/components/attachment_type.rb +1 -1
  22. data/lib/authlete/models/components/attachment_type.rbi +1 -1
  23. data/lib/authlete/models/components/authorization_details_element.rb +16 -16
  24. data/lib/authlete/models/components/authorization_details_element.rbi +1 -1
  25. data/lib/authlete/models/components/authorization_fail_request.rb +4 -4
  26. data/lib/authlete/models/components/authorization_fail_request.rbi +1 -1
  27. data/lib/authlete/models/components/authorization_fail_request_reason.rb +1 -1
  28. data/lib/authlete/models/components/authorization_fail_request_reason.rbi +1 -1
  29. data/lib/authlete/models/components/authorization_fail_response.rb +2 -2
  30. data/lib/authlete/models/components/authorization_fail_response.rbi +1 -1
  31. data/lib/authlete/models/components/authorization_fail_response_action.rbi +1 -1
  32. data/lib/authlete/models/components/authorization_issue_request.rb +19 -83
  33. data/lib/authlete/models/components/authorization_issue_request.rbi +1 -1
  34. data/lib/authlete/models/components/authorization_issue_response.rb +8 -8
  35. data/lib/authlete/models/components/authorization_issue_response.rbi +1 -1
  36. data/lib/authlete/models/components/authorization_issue_response_action.rbi +1 -1
  37. data/lib/authlete/models/components/authorization_request.rb +7 -7
  38. data/lib/authlete/models/components/authorization_request.rbi +1 -1
  39. data/lib/authlete/models/components/authorization_response.rb +84 -176
  40. data/lib/authlete/models/components/authorization_response.rbi +1 -1
  41. data/lib/authlete/models/components/authorization_response_action.rbi +1 -1
  42. data/lib/authlete/models/components/authorization_ticket_info.rb +1 -1
  43. data/lib/authlete/models/components/authorization_ticket_info.rbi +1 -1
  44. data/lib/authlete/models/components/authorization_ticket_info_request.rbi +1 -1
  45. data/lib/authlete/models/components/authorization_ticket_info_response.rb +1 -1
  46. data/lib/authlete/models/components/authorization_ticket_info_response.rbi +1 -1
  47. data/lib/authlete/models/components/authorization_ticket_info_response_action.rbi +1 -1
  48. data/lib/authlete/models/components/authorization_ticket_update_request.rbi +1 -1
  49. data/lib/authlete/models/components/authorization_ticket_update_response.rb +1 -1
  50. data/lib/authlete/models/components/authorization_ticket_update_response.rbi +1 -1
  51. data/lib/authlete/models/components/authorization_ticket_update_response_action.rbi +1 -1
  52. data/lib/authlete/models/components/authz_details.rb +2 -2
  53. data/lib/authlete/models/components/authz_details.rbi +1 -1
  54. data/lib/authlete/models/components/backchannel_authentication_complete_request.rb +23 -23
  55. data/lib/authlete/models/components/backchannel_authentication_complete_request.rbi +1 -1
  56. data/lib/authlete/models/components/backchannel_authentication_complete_request_result.rb +1 -1
  57. data/lib/authlete/models/components/backchannel_authentication_complete_request_result.rbi +1 -1
  58. data/lib/authlete/models/components/backchannel_authentication_complete_response.rb +30 -30
  59. data/lib/authlete/models/components/backchannel_authentication_complete_response.rbi +1 -1
  60. data/lib/authlete/models/components/backchannel_authentication_complete_response_action.rb +1 -1
  61. data/lib/authlete/models/components/backchannel_authentication_complete_response_action.rbi +1 -1
  62. data/lib/authlete/models/components/backchannel_authentication_fail_request.rb +5 -5
  63. data/lib/authlete/models/components/backchannel_authentication_fail_request.rbi +1 -1
  64. data/lib/authlete/models/components/backchannel_authentication_fail_request_reason.rb +1 -1
  65. data/lib/authlete/models/components/backchannel_authentication_fail_request_reason.rbi +1 -1
  66. data/lib/authlete/models/components/backchannel_authentication_fail_response.rb +2 -2
  67. data/lib/authlete/models/components/backchannel_authentication_fail_response.rbi +1 -1
  68. data/lib/authlete/models/components/backchannel_authentication_fail_response_action.rbi +1 -1
  69. data/lib/authlete/models/components/backchannel_authentication_issue_request.rb +1 -1
  70. data/lib/authlete/models/components/backchannel_authentication_issue_request.rbi +1 -1
  71. data/lib/authlete/models/components/backchannel_authentication_issue_response.rb +5 -5
  72. data/lib/authlete/models/components/backchannel_authentication_issue_response.rbi +1 -1
  73. data/lib/authlete/models/components/backchannel_authentication_issue_response_action.rbi +1 -1
  74. data/lib/authlete/models/components/backchannel_authentication_request.rb +12 -12
  75. data/lib/authlete/models/components/backchannel_authentication_request.rbi +1 -1
  76. data/lib/authlete/models/components/backchannel_authentication_response.rb +47 -56
  77. data/lib/authlete/models/components/backchannel_authentication_response.rbi +1 -1
  78. data/lib/authlete/models/components/backchannel_authentication_response_action.rbi +1 -1
  79. data/lib/authlete/models/components/cimd_options.rb +15 -15
  80. data/lib/authlete/models/components/cimd_options.rbi +1 -1
  81. data/lib/authlete/models/components/claim_type.rbi +1 -1
  82. data/lib/authlete/models/components/client.rb +159 -308
  83. data/lib/authlete/models/components/client.rbi +1 -1
  84. data/lib/authlete/models/components/client_auth_method.rb +1 -1
  85. data/lib/authlete/models/components/client_auth_method.rbi +1 -1
  86. data/lib/authlete/models/components/client_authorization_delete_response.rb +4 -4
  87. data/lib/authlete/models/components/client_authorization_delete_response.rbi +1 -1
  88. data/lib/authlete/models/components/client_authorization_get_list_request.rbi +1 -1
  89. data/lib/authlete/models/components/client_authorization_get_list_response.rb +6 -6
  90. data/lib/authlete/models/components/client_authorization_get_list_response.rbi +1 -1
  91. data/lib/authlete/models/components/client_authorization_update_request.rb +2 -2
  92. data/lib/authlete/models/components/client_authorization_update_request.rbi +1 -1
  93. data/lib/authlete/models/components/client_authorization_update_response.rbi +1 -1
  94. data/lib/authlete/models/components/client_clientsource.rb +1 -1
  95. data/lib/authlete/models/components/client_clientsource.rbi +1 -1
  96. data/lib/authlete/models/components/client_extension.rb +9 -19
  97. data/lib/authlete/models/components/client_extension.rbi +1 -1
  98. data/lib/authlete/models/components/client_extension_requestable_scopes_get_response.rb +1 -1
  99. data/lib/authlete/models/components/client_extension_requestable_scopes_get_response.rbi +1 -1
  100. data/lib/authlete/models/components/client_extension_requestable_scopes_update_request.rb +4 -4
  101. data/lib/authlete/models/components/client_extension_requestable_scopes_update_request.rbi +1 -1
  102. data/lib/authlete/models/components/client_extension_requestable_scopes_update_response.rbi +1 -1
  103. data/lib/authlete/models/components/client_flag_update_request.rb +1 -1
  104. data/lib/authlete/models/components/client_flag_update_request.rbi +1 -1
  105. data/lib/authlete/models/components/client_flag_update_response.rbi +1 -1
  106. data/lib/authlete/models/components/client_get_list_response.rb +4 -4
  107. data/lib/authlete/models/components/client_get_list_response.rbi +1 -1
  108. data/lib/authlete/models/components/client_granted_scopes_delete_response.rbi +1 -1
  109. data/lib/authlete/models/components/client_input.rb +154 -293
  110. data/lib/authlete/models/components/client_input.rbi +1 -1
  111. data/lib/authlete/models/components/client_limited.rb +7 -7
  112. data/lib/authlete/models/components/client_limited.rbi +1 -1
  113. data/lib/authlete/models/components/client_limited_authorization.rb +57 -106
  114. data/lib/authlete/models/components/client_limited_authorization.rbi +1 -1
  115. data/lib/authlete/models/components/client_limited_authorization_clientsource.rb +1 -1
  116. data/lib/authlete/models/components/client_limited_authorization_clientsource.rbi +1 -1
  117. data/lib/authlete/models/components/client_registration_response.rb +3 -3
  118. data/lib/authlete/models/components/client_registration_response.rbi +1 -1
  119. data/lib/authlete/models/components/client_registration_response_action.rb +1 -1
  120. data/lib/authlete/models/components/client_registration_response_action.rbi +1 -1
  121. data/lib/authlete/models/components/client_registration_type.rb +1 -1
  122. data/lib/authlete/models/components/client_registration_type.rbi +1 -1
  123. data/lib/authlete/models/components/client_secret_refresh_response.rb +2 -2
  124. data/lib/authlete/models/components/client_secret_refresh_response.rbi +1 -1
  125. data/lib/authlete/models/components/client_secret_update_request.rb +1 -1
  126. data/lib/authlete/models/components/client_secret_update_request.rbi +1 -1
  127. data/lib/authlete/models/components/client_secret_update_response.rb +2 -2
  128. data/lib/authlete/models/components/client_secret_update_response.rbi +1 -1
  129. data/lib/authlete/models/components/client_type.rb +1 -1
  130. data/lib/authlete/models/components/client_type.rbi +1 -1
  131. data/lib/authlete/models/components/credential_issuance_order.rb +1 -1
  132. data/lib/authlete/models/components/credential_issuance_order.rbi +1 -1
  133. data/lib/authlete/models/components/credential_issuer_metadata.rb +5 -5
  134. data/lib/authlete/models/components/credential_issuer_metadata.rbi +1 -1
  135. data/lib/authlete/models/components/credential_offer_info.rb +12 -20
  136. data/lib/authlete/models/components/credential_offer_info.rbi +1 -1
  137. data/lib/authlete/models/components/credential_request_info.rbi +1 -1
  138. data/lib/authlete/models/components/delivery_mode.rbi +1 -1
  139. data/lib/authlete/models/components/device_authorization_request.rb +12 -12
  140. data/lib/authlete/models/components/device_authorization_request.rbi +1 -1
  141. data/lib/authlete/models/components/device_authorization_response.rb +39 -48
  142. data/lib/authlete/models/components/device_authorization_response.rbi +1 -1
  143. data/lib/authlete/models/components/device_authorization_response_action.rbi +1 -1
  144. data/lib/authlete/models/components/device_complete_request.rb +22 -22
  145. data/lib/authlete/models/components/device_complete_request.rbi +1 -1
  146. data/lib/authlete/models/components/device_complete_request_result.rb +1 -1
  147. data/lib/authlete/models/components/device_complete_request_result.rbi +1 -1
  148. data/lib/authlete/models/components/device_complete_response.rb +2 -2
  149. data/lib/authlete/models/components/device_complete_response.rbi +1 -1
  150. data/lib/authlete/models/components/device_complete_response_action.rb +1 -1
  151. data/lib/authlete/models/components/device_complete_response_action.rbi +1 -1
  152. data/lib/authlete/models/components/device_verification_request.rb +1 -1
  153. data/lib/authlete/models/components/device_verification_request.rbi +1 -1
  154. data/lib/authlete/models/components/device_verification_response.rb +32 -32
  155. data/lib/authlete/models/components/device_verification_response.rbi +1 -1
  156. data/lib/authlete/models/components/device_verification_response_action.rbi +1 -1
  157. data/lib/authlete/models/components/display.rb +3 -3
  158. data/lib/authlete/models/components/display.rbi +1 -1
  159. data/lib/authlete/models/components/dynamic_scope.rbi +1 -1
  160. data/lib/authlete/models/components/fapi_mode.rbi +1 -1
  161. data/lib/authlete/models/components/federation_configuration_response.rb +2 -2
  162. data/lib/authlete/models/components/federation_configuration_response.rbi +1 -1
  163. data/lib/authlete/models/components/federation_configuration_response_action.rbi +1 -1
  164. data/lib/authlete/models/components/federation_registration_request.rb +2 -2
  165. data/lib/authlete/models/components/federation_registration_request.rbi +1 -1
  166. data/lib/authlete/models/components/federation_registration_response.rb +2 -2
  167. data/lib/authlete/models/components/federation_registration_response.rbi +1 -1
  168. data/lib/authlete/models/components/federation_registration_response_action.rbi +1 -1
  169. data/lib/authlete/models/components/g_m_request.rb +13 -13
  170. data/lib/authlete/models/components/g_m_request.rbi +1 -1
  171. data/lib/authlete/models/components/g_m_response.rb +3 -3
  172. data/lib/authlete/models/components/g_m_response.rbi +1 -1
  173. data/lib/authlete/models/components/g_m_response_action.rbi +1 -1
  174. data/lib/authlete/models/components/grant.rb +2 -2
  175. data/lib/authlete/models/components/grant.rbi +1 -1
  176. data/lib/authlete/models/components/grant_management_action.rb +2 -2
  177. data/lib/authlete/models/components/grant_management_action.rbi +1 -1
  178. data/lib/authlete/models/components/grant_scope.rb +2 -2
  179. data/lib/authlete/models/components/grant_scope.rbi +1 -1
  180. data/lib/authlete/models/components/grant_type.rb +1 -1
  181. data/lib/authlete/models/components/grant_type.rbi +1 -1
  182. data/lib/authlete/models/components/hsk.rb +8 -8
  183. data/lib/authlete/models/components/hsk.rbi +1 -1
  184. data/lib/authlete/models/components/hsk_create_request.rb +6 -6
  185. data/lib/authlete/models/components/hsk_create_request.rbi +1 -1
  186. data/lib/authlete/models/components/hsk_create_response.rb +2 -2
  187. data/lib/authlete/models/components/hsk_create_response.rbi +1 -1
  188. data/lib/authlete/models/components/hsk_create_response_action.rbi +1 -1
  189. data/lib/authlete/models/components/hsk_delete_response.rb +2 -2
  190. data/lib/authlete/models/components/hsk_delete_response.rbi +1 -1
  191. data/lib/authlete/models/components/hsk_delete_response_action.rbi +1 -1
  192. data/lib/authlete/models/components/hsk_get_list_response.rb +1 -1
  193. data/lib/authlete/models/components/hsk_get_list_response.rbi +1 -1
  194. data/lib/authlete/models/components/hsk_get_list_response_action.rbi +1 -1
  195. data/lib/authlete/models/components/hsk_get_response.rb +2 -2
  196. data/lib/authlete/models/components/hsk_get_response.rbi +1 -1
  197. data/lib/authlete/models/components/hsk_get_response_action.rbi +1 -1
  198. data/lib/authlete/models/components/idtoken_reissue_request.rb +7 -7
  199. data/lib/authlete/models/components/idtoken_reissue_request.rbi +1 -1
  200. data/lib/authlete/models/components/idtoken_reissue_response.rb +3 -3
  201. data/lib/authlete/models/components/idtoken_reissue_response.rbi +1 -1
  202. data/lib/authlete/models/components/idtoken_reissue_response_action.rbi +1 -1
  203. data/lib/authlete/models/components/introspection_request.rb +24 -40
  204. data/lib/authlete/models/components/introspection_request.rbi +1 -1
  205. data/lib/authlete/models/components/introspection_response.rb +36 -45
  206. data/lib/authlete/models/components/introspection_response.rbi +1 -1
  207. data/lib/authlete/models/components/introspection_response_action.rbi +1 -1
  208. data/lib/authlete/models/components/jose_verify_request.rb +5 -5
  209. data/lib/authlete/models/components/jose_verify_request.rbi +1 -1
  210. data/lib/authlete/models/components/jose_verify_response.rb +5 -5
  211. data/lib/authlete/models/components/jose_verify_response.rbi +1 -1
  212. data/lib/authlete/models/components/jwe_alg.rb +2 -2
  213. data/lib/authlete/models/components/jwe_alg.rbi +1 -1
  214. data/lib/authlete/models/components/jwe_enc.rb +1 -1
  215. data/lib/authlete/models/components/jwe_enc.rbi +1 -1
  216. data/lib/authlete/models/components/jws_alg.rb +2 -2
  217. data/lib/authlete/models/components/jws_alg.rbi +1 -1
  218. data/lib/authlete/models/components/named_uri.rbi +1 -1
  219. data/lib/authlete/models/components/native_sso_logout_request.rb +1 -1
  220. data/lib/authlete/models/components/native_sso_logout_request.rbi +1 -1
  221. data/lib/authlete/models/components/native_sso_logout_response.rb +3 -3
  222. data/lib/authlete/models/components/native_sso_logout_response.rbi +1 -1
  223. data/lib/authlete/models/components/native_sso_logout_response_action.rb +1 -1
  224. data/lib/authlete/models/components/native_sso_logout_response_action.rbi +1 -1
  225. data/lib/authlete/models/components/native_sso_request.rb +8 -24
  226. data/lib/authlete/models/components/native_sso_request.rbi +1 -1
  227. data/lib/authlete/models/components/native_sso_response.rb +4 -4
  228. data/lib/authlete/models/components/native_sso_response.rbi +1 -1
  229. data/lib/authlete/models/components/native_sso_response_action.rb +1 -1
  230. data/lib/authlete/models/components/native_sso_response_action.rbi +1 -1
  231. data/lib/authlete/models/components/pair.rbi +1 -1
  232. data/lib/authlete/models/components/prompt.rb +3 -3
  233. data/lib/authlete/models/components/prompt.rbi +1 -1
  234. data/lib/authlete/models/components/property.rb +1 -1
  235. data/lib/authlete/models/components/property.rbi +1 -1
  236. data/lib/authlete/models/components/pushed_authorization_request.rb +11 -11
  237. data/lib/authlete/models/components/pushed_authorization_request.rbi +1 -1
  238. data/lib/authlete/models/components/pushed_authorization_response.rb +6 -6
  239. data/lib/authlete/models/components/pushed_authorization_response.rbi +1 -1
  240. data/lib/authlete/models/components/pushed_authorization_response_action.rbi +1 -1
  241. data/lib/authlete/models/components/pushed_authorization_response_clientauthmethod.rb +1 -1
  242. data/lib/authlete/models/components/pushed_authorization_response_clientauthmethod.rbi +1 -1
  243. data/lib/authlete/models/components/response_type.rbi +1 -1
  244. data/lib/authlete/models/components/responsemode.rbi +1 -1
  245. data/lib/authlete/models/components/revocation_request.rb +10 -10
  246. data/lib/authlete/models/components/revocation_request.rbi +1 -1
  247. data/lib/authlete/models/components/revocation_response.rb +2 -2
  248. data/lib/authlete/models/components/revocation_response.rbi +1 -1
  249. data/lib/authlete/models/components/revocation_response_action.rbi +1 -1
  250. data/lib/authlete/models/components/scope.rbi +1 -1
  251. data/lib/authlete/models/components/security.rbi +1 -1
  252. data/lib/authlete/models/components/service.rb +248 -599
  253. data/lib/authlete/models/components/service.rbi +1 -1
  254. data/lib/authlete/models/components/service_get_list_response.rb +4 -4
  255. data/lib/authlete/models/components/service_get_list_response.rbi +1 -1
  256. data/lib/authlete/models/components/service_input.rb +242 -593
  257. data/lib/authlete/models/components/service_input.rbi +1 -1
  258. data/lib/authlete/models/components/service_jwks_get_response.rbi +1 -1
  259. data/lib/authlete/models/components/service_profile.rbi +1 -1
  260. data/lib/authlete/models/components/sns_credentials.rbi +1 -1
  261. data/lib/authlete/models/components/standard_introspection_request.rb +22 -22
  262. data/lib/authlete/models/components/standard_introspection_request.rbi +1 -1
  263. data/lib/authlete/models/components/standard_introspection_response.rb +2 -2
  264. data/lib/authlete/models/components/standard_introspection_response.rbi +1 -1
  265. data/lib/authlete/models/components/standard_introspection_response_action.rbi +1 -1
  266. data/lib/authlete/models/components/subject_type.rb +2 -2
  267. data/lib/authlete/models/components/subject_type.rbi +1 -1
  268. data/lib/authlete/models/components/supportedsnse.rbi +1 -1
  269. data/lib/authlete/models/components/tagged_value.rbi +1 -1
  270. data/lib/authlete/models/components/token_create_request.rb +27 -59
  271. data/lib/authlete/models/components/token_create_request.rbi +1 -1
  272. data/lib/authlete/models/components/token_create_response.rb +18 -18
  273. data/lib/authlete/models/components/token_create_response.rbi +1 -1
  274. data/lib/authlete/models/components/token_create_response_action.rbi +1 -1
  275. data/lib/authlete/models/components/token_fail_request.rb +3 -3
  276. data/lib/authlete/models/components/token_fail_request.rbi +1 -1
  277. data/lib/authlete/models/components/token_fail_request_reason.rb +1 -1
  278. data/lib/authlete/models/components/token_fail_request_reason.rbi +1 -1
  279. data/lib/authlete/models/components/token_fail_response.rb +2 -2
  280. data/lib/authlete/models/components/token_fail_response.rbi +1 -1
  281. data/lib/authlete/models/components/token_fail_response_action.rbi +1 -1
  282. data/lib/authlete/models/components/token_get_list_response.rb +5 -5
  283. data/lib/authlete/models/components/token_get_list_response.rbi +1 -1
  284. data/lib/authlete/models/components/token_info.rb +6 -6
  285. data/lib/authlete/models/components/token_info.rbi +1 -1
  286. data/lib/authlete/models/components/token_issue_request.rb +9 -9
  287. data/lib/authlete/models/components/token_issue_request.rbi +1 -1
  288. data/lib/authlete/models/components/token_issue_response.rb +21 -21
  289. data/lib/authlete/models/components/token_issue_response.rbi +1 -1
  290. data/lib/authlete/models/components/token_issue_response_action.rbi +1 -1
  291. data/lib/authlete/models/components/token_request.rb +27 -27
  292. data/lib/authlete/models/components/token_request.rbi +1 -1
  293. data/lib/authlete/models/components/token_response.rb +49 -61
  294. data/lib/authlete/models/components/token_response.rbi +1 -1
  295. data/lib/authlete/models/components/token_response_action.rbi +1 -1
  296. data/lib/authlete/models/components/token_revoke_request.rb +7 -7
  297. data/lib/authlete/models/components/token_revoke_request.rbi +1 -1
  298. data/lib/authlete/models/components/token_revoke_response.rbi +1 -1
  299. data/lib/authlete/models/components/token_type.rb +1 -1
  300. data/lib/authlete/models/components/token_type.rbi +1 -1
  301. data/lib/authlete/models/components/token_update_request.rb +16 -16
  302. data/lib/authlete/models/components/token_update_request.rbi +1 -1
  303. data/lib/authlete/models/components/token_update_response.rb +9 -9
  304. data/lib/authlete/models/components/token_update_response.rbi +1 -1
  305. data/lib/authlete/models/components/token_update_response_action.rbi +1 -1
  306. data/lib/authlete/models/components/trust_anchor.rb +2 -2
  307. data/lib/authlete/models/components/trust_anchor.rbi +1 -1
  308. data/lib/authlete/models/components/user_code_charset.rb +1 -1
  309. data/lib/authlete/models/components/user_code_charset.rbi +1 -1
  310. data/lib/authlete/models/components/userinfo_issue_request.rb +7 -67
  311. data/lib/authlete/models/components/userinfo_issue_request.rbi +1 -1
  312. data/lib/authlete/models/components/userinfo_issue_response.rb +5 -5
  313. data/lib/authlete/models/components/userinfo_issue_response.rbi +1 -1
  314. data/lib/authlete/models/components/userinfo_issue_response_action.rbi +1 -1
  315. data/lib/authlete/models/components/userinfo_request.rb +15 -40
  316. data/lib/authlete/models/components/userinfo_request.rbi +1 -1
  317. data/lib/authlete/models/components/userinfo_response.rb +46 -89
  318. data/lib/authlete/models/components/userinfo_response.rbi +1 -1
  319. data/lib/authlete/models/components/userinfo_response_action.rbi +1 -1
  320. data/lib/authlete/models/components/vci_batch_issue_request.rbi +1 -1
  321. data/lib/authlete/models/components/vci_batch_issue_response.rb +3 -3
  322. data/lib/authlete/models/components/vci_batch_issue_response.rbi +1 -1
  323. data/lib/authlete/models/components/vci_batch_issue_response_action.rb +1 -1
  324. data/lib/authlete/models/components/vci_batch_issue_response_action.rbi +1 -1
  325. data/lib/authlete/models/components/vci_batch_parse_request.rbi +1 -1
  326. data/lib/authlete/models/components/vci_batch_parse_response.rb +2 -2
  327. data/lib/authlete/models/components/vci_batch_parse_response.rbi +1 -1
  328. data/lib/authlete/models/components/vci_batch_parse_response_action.rbi +1 -1
  329. data/lib/authlete/models/components/vci_deferred_issue_request.rbi +1 -1
  330. data/lib/authlete/models/components/vci_deferred_issue_response.rb +3 -3
  331. data/lib/authlete/models/components/vci_deferred_issue_response.rbi +1 -1
  332. data/lib/authlete/models/components/vci_deferred_issue_response_action.rb +1 -1
  333. data/lib/authlete/models/components/vci_deferred_issue_response_action.rbi +1 -1
  334. data/lib/authlete/models/components/vci_deferred_parse_request.rbi +1 -1
  335. data/lib/authlete/models/components/vci_deferred_parse_response.rb +1 -1
  336. data/lib/authlete/models/components/vci_deferred_parse_response.rbi +1 -1
  337. data/lib/authlete/models/components/vci_deferred_parse_response_action.rbi +1 -1
  338. data/lib/authlete/models/components/vci_jwks_request.rb +1 -1
  339. data/lib/authlete/models/components/vci_jwks_request.rbi +1 -1
  340. data/lib/authlete/models/components/vci_jwks_response.rb +3 -3
  341. data/lib/authlete/models/components/vci_jwks_response.rbi +1 -1
  342. data/lib/authlete/models/components/vci_jwks_response_action.rb +1 -1
  343. data/lib/authlete/models/components/vci_jwks_response_action.rbi +1 -1
  344. data/lib/authlete/models/components/vci_jwtissuer_request.rb +1 -1
  345. data/lib/authlete/models/components/vci_jwtissuer_request.rbi +1 -1
  346. data/lib/authlete/models/components/vci_jwtissuer_response.rb +3 -3
  347. data/lib/authlete/models/components/vci_jwtissuer_response.rbi +1 -1
  348. data/lib/authlete/models/components/vci_jwtissuer_response_action.rb +1 -1
  349. data/lib/authlete/models/components/vci_jwtissuer_response_action.rbi +1 -1
  350. data/lib/authlete/models/components/vci_metadata_request.rb +1 -1
  351. data/lib/authlete/models/components/vci_metadata_request.rbi +1 -1
  352. data/lib/authlete/models/components/vci_metadata_response.rb +3 -3
  353. data/lib/authlete/models/components/vci_metadata_response.rbi +1 -1
  354. data/lib/authlete/models/components/vci_metadata_response_action.rb +1 -1
  355. data/lib/authlete/models/components/vci_metadata_response_action.rbi +1 -1
  356. data/lib/authlete/models/components/vci_offer_create_request.rb +10 -79
  357. data/lib/authlete/models/components/vci_offer_create_request.rbi +1 -1
  358. data/lib/authlete/models/components/vci_offer_create_response.rb +1 -1
  359. data/lib/authlete/models/components/vci_offer_create_response.rbi +1 -1
  360. data/lib/authlete/models/components/vci_offer_create_response_action.rbi +1 -1
  361. data/lib/authlete/models/components/vci_offer_info_request.rbi +1 -1
  362. data/lib/authlete/models/components/vci_offer_info_response.rb +1 -1
  363. data/lib/authlete/models/components/vci_offer_info_response.rbi +1 -1
  364. data/lib/authlete/models/components/vci_offer_info_response_action.rbi +1 -1
  365. data/lib/authlete/models/components/vci_single_issue_request.rbi +1 -1
  366. data/lib/authlete/models/components/vci_single_issue_response.rb +4 -4
  367. data/lib/authlete/models/components/vci_single_issue_response.rbi +1 -1
  368. data/lib/authlete/models/components/vci_single_issue_response_action.rb +1 -1
  369. data/lib/authlete/models/components/vci_single_issue_response_action.rbi +1 -1
  370. data/lib/authlete/models/components/vci_single_parse_request.rbi +1 -1
  371. data/lib/authlete/models/components/vci_single_parse_response.rb +1 -1
  372. data/lib/authlete/models/components/vci_single_parse_response.rbi +1 -1
  373. data/lib/authlete/models/components/vci_single_parse_response_action.rbi +1 -1
  374. data/lib/authlete/models/components/verified_claims_validation_schema.rb +1 -1
  375. data/lib/authlete/models/components/verified_claims_validation_schema.rbi +1 -1
  376. data/lib/authlete/models/components.rb +0 -5
  377. data/lib/authlete/models/errors/apierror.rbi +2 -1
  378. data/lib/authlete/models/errors/result_error.rbi +1 -1
  379. data/lib/authlete/models/operations/auth_authorization_api_request.rbi +1 -1
  380. data/lib/authlete/models/operations/auth_authorization_api_response.rbi +1 -1
  381. data/lib/authlete/models/operations/auth_authorization_fail_api_request.rbi +1 -1
  382. data/lib/authlete/models/operations/auth_authorization_fail_api_response.rbi +1 -1
  383. data/lib/authlete/models/operations/auth_authorization_issue_api_request.rbi +1 -1
  384. data/lib/authlete/models/operations/auth_authorization_issue_api_response.rbi +1 -1
  385. data/lib/authlete/models/operations/auth_introspection_api_request.rbi +1 -1
  386. data/lib/authlete/models/operations/auth_introspection_api_response.rbi +1 -1
  387. data/lib/authlete/models/operations/auth_introspection_standard_api_request.rbi +1 -1
  388. data/lib/authlete/models/operations/auth_introspection_standard_api_response.rbi +1 -1
  389. data/lib/authlete/models/operations/auth_revocation_api_request.rbi +1 -1
  390. data/lib/authlete/models/operations/auth_revocation_api_response.rbi +1 -1
  391. data/lib/authlete/models/operations/auth_token_api_request.rbi +1 -1
  392. data/lib/authlete/models/operations/auth_token_api_response.rbi +1 -1
  393. data/lib/authlete/models/operations/auth_token_create_api_request.rbi +1 -1
  394. data/lib/authlete/models/operations/auth_token_create_api_response.rbi +1 -1
  395. data/lib/authlete/models/operations/auth_token_delete_api_request.rb +1 -1
  396. data/lib/authlete/models/operations/auth_token_delete_api_request.rbi +1 -1
  397. data/lib/authlete/models/operations/auth_token_delete_api_response.rbi +1 -1
  398. data/lib/authlete/models/operations/auth_token_fail_api_request.rbi +1 -1
  399. data/lib/authlete/models/operations/auth_token_fail_api_response.rbi +1 -1
  400. data/lib/authlete/models/operations/auth_token_get_list_api_request.rb +3 -3
  401. data/lib/authlete/models/operations/auth_token_get_list_api_request.rbi +1 -1
  402. data/lib/authlete/models/operations/auth_token_get_list_api_response.rbi +1 -1
  403. data/lib/authlete/models/operations/auth_token_issue_api_request.rbi +1 -1
  404. data/lib/authlete/models/operations/auth_token_issue_api_response.rbi +1 -1
  405. data/lib/authlete/models/operations/auth_token_revoke_api_request.rbi +1 -1
  406. data/lib/authlete/models/operations/auth_token_revoke_api_response.rbi +1 -1
  407. data/lib/authlete/models/operations/auth_token_update_api_request.rbi +1 -1
  408. data/lib/authlete/models/operations/auth_token_update_api_response.rbi +1 -1
  409. data/lib/authlete/models/operations/auth_userinfo_api_request.rbi +1 -1
  410. data/lib/authlete/models/operations/auth_userinfo_api_response.rbi +1 -1
  411. data/lib/authlete/models/operations/auth_userinfo_issue_api_request.rbi +1 -1
  412. data/lib/authlete/models/operations/auth_userinfo_issue_api_response.rbi +1 -1
  413. data/lib/authlete/models/operations/authorization_ticket_info_post_api_request.rbi +1 -1
  414. data/lib/authlete/models/operations/authorization_ticket_info_post_api_response.rbi +1 -1
  415. data/lib/authlete/models/operations/backchannel_authentication_api_request.rbi +1 -1
  416. data/lib/authlete/models/operations/backchannel_authentication_api_response.rbi +1 -1
  417. data/lib/authlete/models/operations/backchannel_authentication_complete_api_request.rbi +1 -1
  418. data/lib/authlete/models/operations/backchannel_authentication_complete_api_response.rbi +1 -1
  419. data/lib/authlete/models/operations/backchannel_authentication_fail_api_request.rbi +1 -1
  420. data/lib/authlete/models/operations/backchannel_authentication_fail_api_response.rbi +1 -1
  421. data/lib/authlete/models/operations/backchannel_authentication_issue_api_request.rbi +1 -1
  422. data/lib/authlete/models/operations/backchannel_authentication_issue_api_response.rbi +1 -1
  423. data/lib/authlete/models/operations/client_authorization_delete_api_post_request.rb +1 -1
  424. data/lib/authlete/models/operations/client_authorization_delete_api_post_request.rbi +1 -1
  425. data/lib/authlete/models/operations/client_authorization_delete_api_post_requestbody.rbi +1 -1
  426. data/lib/authlete/models/operations/client_authorization_delete_api_post_response.rbi +1 -1
  427. data/lib/authlete/models/operations/client_authorization_delete_api_request.rb +2 -2
  428. data/lib/authlete/models/operations/client_authorization_delete_api_request.rbi +1 -1
  429. data/lib/authlete/models/operations/client_authorization_delete_api_response.rbi +1 -1
  430. data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_request.rb +2 -2
  431. data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_request.rbi +1 -1
  432. data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_response.rbi +1 -1
  433. data/lib/authlete/models/operations/client_authorization_get_list_api_post_request.rbi +1 -1
  434. data/lib/authlete/models/operations/client_authorization_get_list_api_post_response.rbi +1 -1
  435. data/lib/authlete/models/operations/client_authorization_get_list_api_request.rb +3 -3
  436. data/lib/authlete/models/operations/client_authorization_get_list_api_request.rbi +1 -1
  437. data/lib/authlete/models/operations/client_authorization_get_list_api_response.rbi +1 -1
  438. data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_request.rb +3 -3
  439. data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_request.rbi +1 -1
  440. data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_response.rbi +1 -1
  441. data/lib/authlete/models/operations/client_authorization_update_api_request.rb +1 -1
  442. data/lib/authlete/models/operations/client_authorization_update_api_request.rbi +1 -1
  443. data/lib/authlete/models/operations/client_authorization_update_api_response.rbi +1 -1
  444. data/lib/authlete/models/operations/client_create_api_request.rbi +1 -1
  445. data/lib/authlete/models/operations/client_create_api_response.rbi +1 -1
  446. data/lib/authlete/models/operations/client_delete_api_request.rbi +1 -1
  447. data/lib/authlete/models/operations/client_delete_api_response.rbi +1 -1
  448. data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_request.rb +1 -1
  449. data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_request.rbi +1 -1
  450. data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_response.rbi +1 -1
  451. data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_request.rb +1 -1
  452. data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_request.rbi +1 -1
  453. data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_response.rbi +1 -1
  454. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_request.rb +1 -1
  455. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_request.rbi +1 -1
  456. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_response.rbi +1 -1
  457. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_request.rb +1 -1
  458. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_request.rbi +1 -1
  459. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_response.rbi +1 -1
  460. data/lib/authlete/models/operations/client_flag_update_api_request.rbi +1 -1
  461. data/lib/authlete/models/operations/client_flag_update_api_response.rbi +1 -1
  462. data/lib/authlete/models/operations/client_get_api_request.rbi +1 -1
  463. data/lib/authlete/models/operations/client_get_api_response.rbi +1 -1
  464. data/lib/authlete/models/operations/client_get_list_api_request.rb +1 -1
  465. data/lib/authlete/models/operations/client_get_list_api_request.rbi +1 -1
  466. data/lib/authlete/models/operations/client_get_list_api_response.rbi +1 -1
  467. data/lib/authlete/models/operations/client_granted_scopes_delete_api_request.rb +2 -2
  468. data/lib/authlete/models/operations/client_granted_scopes_delete_api_request.rbi +1 -1
  469. data/lib/authlete/models/operations/client_granted_scopes_delete_api_response.rbi +1 -1
  470. data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_request.rb +2 -2
  471. data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_request.rbi +1 -1
  472. data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_response.rbi +1 -1
  473. data/lib/authlete/models/operations/client_granted_scopes_get_api_post_request.rb +1 -1
  474. data/lib/authlete/models/operations/client_granted_scopes_get_api_post_request.rbi +1 -1
  475. data/lib/authlete/models/operations/client_granted_scopes_get_api_post_requestbody.rbi +1 -1
  476. data/lib/authlete/models/operations/client_granted_scopes_get_api_post_response.rbi +1 -1
  477. data/lib/authlete/models/operations/client_granted_scopes_get_api_request.rb +2 -2
  478. data/lib/authlete/models/operations/client_granted_scopes_get_api_request.rbi +1 -1
  479. data/lib/authlete/models/operations/client_granted_scopes_get_api_response.rbi +1 -1
  480. data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_request.rb +2 -2
  481. data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_request.rbi +1 -1
  482. data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_response.rbi +1 -1
  483. data/lib/authlete/models/operations/client_registration_api_request.rbi +1 -1
  484. data/lib/authlete/models/operations/client_registration_api_requestbody.rb +3 -3
  485. data/lib/authlete/models/operations/client_registration_api_requestbody.rbi +1 -1
  486. data/lib/authlete/models/operations/client_registration_api_response.rbi +1 -1
  487. data/lib/authlete/models/operations/client_registration_delete_api_request.rbi +1 -1
  488. data/lib/authlete/models/operations/client_registration_delete_api_requestbody.rb +3 -3
  489. data/lib/authlete/models/operations/client_registration_delete_api_requestbody.rbi +1 -1
  490. data/lib/authlete/models/operations/client_registration_delete_api_response.rbi +1 -1
  491. data/lib/authlete/models/operations/client_registration_get_api_request.rbi +1 -1
  492. data/lib/authlete/models/operations/client_registration_get_api_requestbody.rb +3 -3
  493. data/lib/authlete/models/operations/client_registration_get_api_requestbody.rbi +1 -1
  494. data/lib/authlete/models/operations/client_registration_get_api_response.rbi +1 -1
  495. data/lib/authlete/models/operations/client_registration_update_api_request.rbi +1 -1
  496. data/lib/authlete/models/operations/client_registration_update_api_requestbody.rb +3 -3
  497. data/lib/authlete/models/operations/client_registration_update_api_requestbody.rbi +1 -1
  498. data/lib/authlete/models/operations/client_registration_update_api_response.rbi +1 -1
  499. data/lib/authlete/models/operations/client_secret_refresh_api_request.rb +1 -1
  500. data/lib/authlete/models/operations/client_secret_refresh_api_request.rbi +1 -1
  501. data/lib/authlete/models/operations/client_secret_refresh_api_response.rbi +1 -1
  502. data/lib/authlete/models/operations/client_secret_update_api_request.rb +1 -1
  503. data/lib/authlete/models/operations/client_secret_update_api_request.rbi +1 -1
  504. data/lib/authlete/models/operations/client_secret_update_api_response.rbi +1 -1
  505. data/lib/authlete/models/operations/client_update_api_form_request.rbi +1 -1
  506. data/lib/authlete/models/operations/client_update_api_form_response.rbi +1 -1
  507. data/lib/authlete/models/operations/client_update_api_request.rbi +1 -1
  508. data/lib/authlete/models/operations/client_update_api_response.rbi +1 -1
  509. data/lib/authlete/models/operations/device_authorization_api_request.rbi +1 -1
  510. data/lib/authlete/models/operations/device_authorization_api_response.rbi +1 -1
  511. data/lib/authlete/models/operations/device_complete_api_request.rbi +1 -1
  512. data/lib/authlete/models/operations/device_complete_api_response.rbi +1 -1
  513. data/lib/authlete/models/operations/device_verification_api_request.rbi +1 -1
  514. data/lib/authlete/models/operations/device_verification_api_response.rbi +1 -1
  515. data/lib/authlete/models/operations/federation_configuration_api_request.rbi +1 -1
  516. data/lib/authlete/models/operations/federation_configuration_api_requestbody.rbi +1 -1
  517. data/lib/authlete/models/operations/federation_configuration_api_response.rbi +1 -1
  518. data/lib/authlete/models/operations/federation_registration_api_request.rbi +1 -1
  519. data/lib/authlete/models/operations/federation_registration_api_response.rbi +1 -1
  520. data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_request.rb +1 -1
  521. data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_request.rbi +1 -1
  522. data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_response.rbi +1 -1
  523. data/lib/authlete/models/operations/grant_m_api_request.rbi +1 -1
  524. data/lib/authlete/models/operations/grant_m_api_response.rbi +1 -1
  525. data/lib/authlete/models/operations/hsk_create_api_request.rbi +1 -1
  526. data/lib/authlete/models/operations/hsk_create_api_response.rbi +1 -1
  527. data/lib/authlete/models/operations/hsk_delete_api_request.rbi +1 -1
  528. data/lib/authlete/models/operations/hsk_delete_api_response.rbi +1 -1
  529. data/lib/authlete/models/operations/hsk_get_api_request.rbi +1 -1
  530. data/lib/authlete/models/operations/hsk_get_api_response.rbi +1 -1
  531. data/lib/authlete/models/operations/hsk_get_list_api_request.rbi +1 -1
  532. data/lib/authlete/models/operations/hsk_get_list_api_response.rbi +1 -1
  533. data/lib/authlete/models/operations/idtoken_reissue_api_request.rbi +1 -1
  534. data/lib/authlete/models/operations/idtoken_reissue_api_response.rbi +1 -1
  535. data/lib/authlete/models/operations/jose_verify_api_request.rbi +1 -1
  536. data/lib/authlete/models/operations/jose_verify_api_response.rbi +1 -1
  537. data/lib/authlete/models/operations/native_sso_api_request.rbi +1 -1
  538. data/lib/authlete/models/operations/native_sso_api_response.rbi +1 -1
  539. data/lib/authlete/models/operations/native_sso_logout_api_request.rbi +1 -1
  540. data/lib/authlete/models/operations/native_sso_logout_api_response.rbi +1 -1
  541. data/lib/authlete/models/operations/pushed_auth_req_api_request.rbi +1 -1
  542. data/lib/authlete/models/operations/pushed_auth_req_api_response.rbi +1 -1
  543. data/lib/authlete/models/operations/service_configuration_api_request.rbi +1 -1
  544. data/lib/authlete/models/operations/service_configuration_api_response.rbi +1 -1
  545. data/lib/authlete/models/operations/service_create_api_response.rbi +1 -1
  546. data/lib/authlete/models/operations/service_delete_api_request.rbi +1 -1
  547. data/lib/authlete/models/operations/service_delete_api_response.rbi +1 -1
  548. data/lib/authlete/models/operations/service_get_api_request.rbi +1 -1
  549. data/lib/authlete/models/operations/service_get_api_response.rbi +1 -1
  550. data/lib/authlete/models/operations/service_get_list_api_request.rbi +1 -1
  551. data/lib/authlete/models/operations/service_get_list_api_response.rbi +1 -1
  552. data/lib/authlete/models/operations/service_jwks_get_api_request.rbi +1 -1
  553. data/lib/authlete/models/operations/service_jwks_get_api_response.rbi +1 -1
  554. data/lib/authlete/models/operations/service_update_api_request.rbi +1 -1
  555. data/lib/authlete/models/operations/service_update_api_response.rbi +1 -1
  556. data/lib/authlete/models/operations/updateauthorizationticket_request.rbi +1 -1
  557. data/lib/authlete/models/operations/updateauthorizationticket_response.rbi +1 -1
  558. data/lib/authlete/models/operations/vci_batch_issue_api_request.rbi +1 -1
  559. data/lib/authlete/models/operations/vci_batch_issue_api_response.rbi +1 -1
  560. data/lib/authlete/models/operations/vci_batch_parse_api_request.rbi +1 -1
  561. data/lib/authlete/models/operations/vci_batch_parse_api_response.rbi +1 -1
  562. data/lib/authlete/models/operations/vci_deferred_issue_api_request.rbi +1 -1
  563. data/lib/authlete/models/operations/vci_deferred_issue_api_response.rbi +1 -1
  564. data/lib/authlete/models/operations/vci_deferred_parse_api_request.rbi +1 -1
  565. data/lib/authlete/models/operations/vci_deferred_parse_api_response.rbi +1 -1
  566. data/lib/authlete/models/operations/vci_jwks_api_request.rbi +1 -1
  567. data/lib/authlete/models/operations/vci_jwks_api_response.rbi +1 -1
  568. data/lib/authlete/models/operations/vci_jwtissuer_api_request.rbi +1 -1
  569. data/lib/authlete/models/operations/vci_jwtissuer_api_response.rbi +1 -1
  570. data/lib/authlete/models/operations/vci_metadata_api_request.rbi +1 -1
  571. data/lib/authlete/models/operations/vci_metadata_api_response.rbi +1 -1
  572. data/lib/authlete/models/operations/vci_offer_create_api_request.rbi +1 -1
  573. data/lib/authlete/models/operations/vci_offer_create_api_response.rbi +1 -1
  574. data/lib/authlete/models/operations/vci_offer_info_api_request.rbi +1 -1
  575. data/lib/authlete/models/operations/vci_offer_info_api_response.rbi +1 -1
  576. data/lib/authlete/models/operations/vci_single_issue_api_request.rbi +1 -1
  577. data/lib/authlete/models/operations/vci_single_issue_api_response.rbi +1 -1
  578. data/lib/authlete/models/operations/vci_single_parse_api_request.rbi +1 -1
  579. data/lib/authlete/models/operations/vci_single_parse_api_response.rbi +1 -1
  580. data/lib/authlete/models/operations.rb +0 -4
  581. data/lib/authlete/native_sso.rb +17 -69
  582. data/lib/authlete/pushed_authorization.rb +10 -5
  583. data/lib/authlete/revocation.rb +10 -98
  584. data/lib/authlete/sdkconfiguration.rb +5 -6
  585. data/lib/authlete/services.rb +47 -27
  586. data/lib/authlete/token_management.rb +43 -23
  587. data/lib/authlete/tokens.rb +24 -454
  588. data/lib/authlete/userinfo.rb +17 -224
  589. data/lib/authlete/utils/request_bodies.rb +8 -3
  590. data/lib/authlete/utils/security.rb +32 -11
  591. data/lib/authlete/utils/url.rb +11 -5
  592. data/lib/authlete/utils/utils.rb +33 -3
  593. data/lib/authlete/verifiable_credentials.rb +69 -34
  594. data/lib/authlete_ruby_sdk.rb +0 -1
  595. data/lib/crystalline/metadata_fields.rb +66 -9
  596. data/lib/crystalline/module.rb +3 -3
  597. data/lib/crystalline/types.rb +11 -3
  598. metadata +18 -23
  599. data/lib/authlete/models/components/batchkind.rb +0 -18
  600. data/lib/authlete/models/components/batchkind.rbi +0 -11
  601. data/lib/authlete/models/components/token_batch_status.rb +0 -61
  602. data/lib/authlete/models/components/token_batch_status.rbi +0 -27
  603. data/lib/authlete/models/components/token_batch_status_result.rb +0 -19
  604. data/lib/authlete/models/components/token_batch_status_result.rbi +0 -11
  605. data/lib/authlete/models/components/token_create_batch_response.rb +0 -41
  606. data/lib/authlete/models/components/token_create_batch_response.rbi +0 -17
  607. data/lib/authlete/models/components/token_create_batch_status_response.rb +0 -42
  608. data/lib/authlete/models/components/token_create_batch_status_response.rbi +0 -17
  609. data/lib/authlete/models/operations/auth_token_create_batch_api_request.rb +0 -41
  610. data/lib/authlete/models/operations/auth_token_create_batch_api_request.rbi +0 -17
  611. data/lib/authlete/models/operations/auth_token_create_batch_api_response.rb +0 -44
  612. data/lib/authlete/models/operations/auth_token_create_batch_api_response.rbi +0 -19
  613. data/lib/authlete/models/operations/auth_token_create_batch_status_api_request.rb +0 -37
  614. data/lib/authlete/models/operations/auth_token_create_batch_status_api_request.rbi +0 -15
  615. data/lib/authlete/models/operations/auth_token_create_batch_status_api_response.rb +0 -44
  616. data/lib/authlete/models/operations/auth_token_create_batch_status_api_response.rbi +0 -19
  617. data/lib/authlete/token_operations.rb +0 -344
@@ -202,4 +202,4 @@ class Authlete::Models::Components::ClientInput
202
202
  def user_info_encryption_enc=(str_); end
203
203
  def bc_request_sign_alg(); end
204
204
  def bc_request_sign_alg=(str_); end
205
- end
205
+ end
@@ -13,34 +13,34 @@ module Authlete
13
13
  include Crystalline::MetadataFields
14
14
 
15
15
  # The sequential number of the client. The value of this property is assigned by Authlete.
16
- #
16
+ #
17
17
  field :number, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('number') } }
18
18
  # The name of the client application. This property corresponds to `client_name` in
19
19
  # [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
20
- #
20
+ #
21
21
  field :client_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientName') } }
22
22
  # Client names with language tags. If the client application has different names for different
23
23
  # languages, this property can be used to register the names.
24
- #
24
+ #
25
25
  field :client_names, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TaggedValue)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientNames') } }
26
26
  # The description about the client application.
27
27
  field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('description') } }
28
28
  # Descriptions about the client application with language tags. If the client application has different
29
29
  # descriptions for different languages, this property can be used to register the descriptions.
30
- #
30
+ #
31
31
  field :descriptions, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TaggedValue)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('descriptions') } }
32
32
  # The client identifier used in Authlete API calls. The value of this property is assigned by Authlete.
33
33
  field :client_id, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientId') } }
34
34
  # The value of the client's `client_id` property used in OAuth and OpenID Connect calls. By
35
35
  # default, this is a string version of the `clientId` property.
36
- #
36
+ #
37
37
  field :client_id_alias, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientIdAlias') } }
38
38
  # Deprecated. Always set to `true`.
39
39
  field :client_id_alias_enabled, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientIdAliasEnabled') } }
40
40
  # The client type, either `CONFIDENTIAL` or `PUBLIC`. See [RFC 6749, 2.1. Client Types](https://datatracker.ietf.org/doc/html/rfc6749#section-2.1)
41
41
  # for details.
42
- #
43
- field :client_type, Crystalline::Nilable.new(Models::Components::ClientType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientType'), 'decoder': Utils.enum_from_string(Models::Components::ClientType, true) } }
42
+ #
43
+ field :client_type, Crystalline::Nilable.new(Models::Components::ClientType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientType'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::ClientType, true) } }
44
44
 
45
45
  sig { params(number: T.nilable(::Integer), client_name: T.nilable(::String), client_names: T.nilable(T::Array[Models::Components::TaggedValue]), description: T.nilable(::String), descriptions: T.nilable(T::Array[Models::Components::TaggedValue]), client_id: T.nilable(::Integer), client_id_alias: T.nilable(::String), client_id_alias_enabled: T.nilable(T::Boolean), client_type: T.nilable(Models::Components::ClientType)).void }
46
46
  def initialize(number: nil, client_name: nil, client_names: nil, description: nil, descriptions: nil, client_id: nil, client_id_alias: nil, client_id_alias_enabled: nil, client_type: nil)
@@ -26,4 +26,4 @@ class Authlete::Models::Components::ClientLimited
26
26
  def client_id_alias_enabled=(str_); end
27
27
  def client_type(); end
28
28
  def client_type=(str_); end
29
- end
29
+ end
@@ -13,248 +13,199 @@ module Authlete
13
13
  include Crystalline::MetadataFields
14
14
 
15
15
  # The sequential number of the client. The value of this property is assigned by Authlete.
16
- #
16
+ #
17
17
  field :number, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('number') } }
18
18
  # The name of the client application. This property corresponds to `client_name` in
19
19
  # [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
20
- #
20
+ #
21
21
  field :client_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientName') } }
22
22
  # Client names with language tags. If the client application has different names for different
23
23
  # languages, this property can be used to register the names.
24
- #
24
+ #
25
25
  field :client_names, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TaggedValue)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientNames') } }
26
26
  # The description about the client application.
27
27
  field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('description') } }
28
28
  # Descriptions about the client application with language tags. If the client application has different
29
29
  # descriptions for different languages, this property can be used to register the descriptions.
30
- #
30
+ #
31
31
  field :descriptions, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TaggedValue)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('descriptions') } }
32
32
  # The client identifier used in Authlete API calls. The value of this property is assigned by Authlete.
33
33
  field :client_id, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientId') } }
34
34
  # The value of the client's `client_id` property used in OAuth and OpenID Connect calls. By
35
35
  # default, this is a string version of the `clientId` property.
36
- #
36
+ #
37
37
  field :client_id_alias, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientIdAlias') } }
38
38
  # Deprecated. Always set to `true`.
39
39
  field :client_id_alias_enabled, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientIdAliasEnabled') } }
40
40
  # The client type, either `CONFIDENTIAL` or `PUBLIC`. See [RFC 6749, 2.1. Client Types](https://datatracker.ietf.org/doc/html/rfc6749#section-2.1)
41
41
  # for details.
42
- #
43
- field :client_type, Crystalline::Nilable.new(Models::Components::ClientType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientType'), 'decoder': Utils.enum_from_string(Models::Components::ClientType, true) } }
42
+ #
43
+ field :client_type, Crystalline::Nilable.new(Models::Components::ClientType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientType'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::ClientType, true) } }
44
44
  # The URL pointing to the logo image of the client application.
45
- #
45
+ #
46
46
  # This property corresponds to `logo_uri` in [OpenID Connect Dynamic Client Registration 1.0, 2.
47
47
  # Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
48
- #
48
+ #
49
49
  field :logo_uri, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('logoUri') } }
50
50
  # Logo image URLs with language tags. If the client application has different logo images for
51
51
  # different languages, this property can be used to register URLs of the images.
52
- #
52
+ #
53
53
  field :logo_uris, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TaggedValue)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('logoUris') } }
54
54
  # The URL pointing to the "Terms Of Service" page.
55
- #
55
+ #
56
56
  # This property corresponds to `tos_uri` in
57
57
  # [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
58
- #
58
+ #
59
59
  field :tos_uri, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('tosUri') } }
60
60
  # URLs of "Terms Of Service" pages with language tags.
61
- #
61
+ #
62
62
  # If the client application has different "Terms Of Service" pages for different languages,
63
63
  # this property can be used to register the URLs.
64
- #
64
+ #
65
65
  field :tos_uris, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TaggedValue)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('tosUris') } }
66
66
  # The URL pointing to the page which describes the policy as to how end-user's profile data is used.
67
- #
67
+ #
68
68
  # This property corresponds to `policy_uri` in
69
69
  # [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
70
- #
70
+ #
71
71
  field :policy_uri, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('policyUri') } }
72
72
  # URLs of policy pages with language tags.
73
73
  # If the client application has different policy pages for different languages, this property can be used to register the URLs.
74
- #
74
+ #
75
75
  field :policy_uris, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TaggedValue)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('policyUris') } }
76
76
  # The sequential number of the service of the client application. The value of this property is
77
77
  # assigned by Authlete.
78
- #
78
+ #
79
79
  field :service_number, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('serviceNumber') } }
80
80
  # The default maximum authentication age in seconds. This value is used when an authorization request from the client application does not have `max_age` request parameter.
81
- #
81
+ #
82
82
  # This property corresponds to `default_max_age` in
83
83
  # [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
84
- #
84
+ #
85
85
  field :default_max_age, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('defaultMaxAge') } }
86
86
  # The flag to indicate whether this client requires `auth_time` claim to be embedded in the ID token.
87
- #
87
+ #
88
88
  # This property corresponds to `require_auth_time` in
89
89
  # [OpenID Connect Dynamic Client Registration 1.0, 2. Client Metadata](https://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata).
90
- #
90
+ #
91
91
  field :auth_time_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('authTimeRequired') } }
92
92
  # The time at which this client was created. The value is represented as milliseconds since the UNIX epoch (1970-01-01).
93
93
  field :created_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('createdAt') } }
94
94
  # The time at which this client was last modified. The value is represented as milliseconds since the UNIX epoch (1970-01-01).
95
95
  field :modified_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('modifiedAt') } }
96
96
  # The flag to indicate whether this client use TLS client certificate bound access tokens.
97
- #
97
+ #
98
98
  field :tls_client_certificate_bound_access_tokens, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('tlsClientCertificateBoundAccessTokens') } }
99
99
  # The boolean flag to indicate whether a user code is required when this client makes a backchannel
100
100
  # authentication request.
101
- #
101
+ #
102
102
  # This property corresponds to the `backchannel_user_code_parameter` metadata.
103
- #
103
+ #
104
104
  field :bc_user_code_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('bcUserCodeRequired') } }
105
105
  # The flag to indicate whether this client has been registered dynamically.
106
106
  # For more details, see [RFC 7591](https://datatracker.ietf.org/doc/html/rfc7591).
107
- #
107
+ #
108
108
  field :dynamically_registered, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('dynamicallyRegistered') } }
109
109
  # The flag to indicate whether this client is required to use the pushed authorization request endpoint.
110
110
  # This property corresponds to the `require_pushed_authorization_requests` client metadata defined
111
111
  # in "OAuth 2.0 Pushed Authorization Requests".
112
- #
112
+ #
113
113
  field :par_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('parRequired') } }
114
114
  # The flag to indicate whether authorization requests from this client are always required to
115
115
  # utilize a request object by using either `request` or `request_uri` request parameter.
116
- #
116
+ #
117
117
  # If this flag is set to `true` and the service's `traditionalRequestObjectProcessingApplied` is
118
118
  # set to `false`, authorization requests from this client are processed as if `require_signed_request_object`
119
119
  # client metadata of this client is `true`. The metadata is defined in "JAR (JWT Secured Authorization Request)".
120
- #
120
+ #
121
121
  field :request_object_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('requestObjectRequired') } }
122
122
  # The flag indicating whether encryption of request object is required when the request object
123
123
  # is passed through the front channel.
124
- #
125
- # This flag does not affect the processing of request objects at the Pushed Authorization Request
126
- # Endpoint, which is defined in [OAuth 2.0 Pushed Authorization Requests](https://datatracker.ietf.org/doc/rfc9126/).
127
- # Unecrypted request objects are accepted at the endpoint even if this flag is `true`.
128
- #
129
- # This flag does not indicate whether a request object is always required. There is a different
130
- # flag, `requestObjectRequired`, for the purpose.
131
- #
132
- # Even if this flag is `false`, encryption of request object is required if the `frontChannelRequestObjectEncryptionRequired`
133
- # flag of the service is `true`.
134
- #
124
+ #
135
125
  field :front_channel_request_object_encryption_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('frontChannelRequestObjectEncryptionRequired') } }
136
126
  # The flag indicating whether the JWE alg of encrypted request object must match the `request_object_encryption_alg`
137
127
  # client metadata.
138
- #
139
- # The `request_object_encryption_alg` client metadata itself is defined in [OpenID Connect Dynamic
140
- # Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) as follows.
141
- #
142
- # > request_object_encryption_alg
143
- # >
144
- # > OPTIONAL. JWE [JWE] alg algorithm [JWA] the RP is declaring that it may use for encrypting Request
145
- # Objects sent to the OP. This parameter SHOULD be included when symmetric encryption will be used,
146
- # since this signals to the OP that a client_secret value needs to be returned from which the
147
- # symmetric key will be derived, that might not otherwise be returned. The RP MAY still use other
148
- # supported encryption algorithms or send unencrypted Request Objects, even when this parameter
149
- # is present. If both signing and encryption are requested, the Request Object will be signed
150
- # then encrypted, with the result being a Nested JWT, as defined in [JWT]. The default, if omitted,
151
- # is that the RP is not declaring whether it might encrypt any Request Objects.
152
- #
153
- # The point here is "The RP MAY still use other supported encryption algorithms or send unencrypted
154
- # Request Objects, even when this parameter is present."
155
- #
156
- # The property that represents the client metadata is `requestEncryptionAlg`. See the description
157
- # of `requestEncryptionAlg` for details.
158
- #
159
- # Even if this flag is `false`, the match is required if the `requestObjectEncryptionAlgMatchRequired`
160
- # flag of the service is `true`.
161
- #
128
+ #
162
129
  field :request_object_encryption_alg_match_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('requestObjectEncryptionAlgMatchRequired') } }
163
130
  # The flag indicating whether the JWE enc of encrypted request object must match the `request_object_encryption_enc`
164
131
  # client metadata.
165
- #
166
- # The `request_object_encryption_enc` client metadata itself is defined in [OpenID Connect Dynamic
167
- # Client Registration 1.0](https://openid.net/specs/openid-connect-registration-1_0.html) as follows.
168
- #
169
- # > request_object_encryption_enc
170
- # >
171
- # > OPTIONAL. JWE enc algorithm [JWA] the RP is declaring that it may use for encrypting Request
172
- # Objects sent to the OP. If request_object_encryption_alg is specified, the default for this
173
- # value is A128CBC-HS256. When request_object_encryption_enc is included, request_object_encryption_alg
174
- # MUST also be provided.
175
- #
176
- # The property that represents the client metadata is `requestEncryptionEnc`. See the description
177
- # of `requestEncryptionEnc` for details.
178
- #
179
- # Even if this flag is `false`, the match is required if the `requestObjectEncryptionEncMatchRequired`
180
- # flag of the service is `true`.
181
- #
132
+ #
182
133
  field :request_object_encryption_enc_match_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('requestObjectEncryptionEncMatchRequired') } }
183
134
  # If `Enabled` is selected, an attempt to issue a new access token invalidates existing access tokens that are associated with the same combination of subject and client.
184
- #
135
+ #
185
136
  # Note that, however, attempts by Client Credentials Flow do not invalidate existing access tokens because access tokens issued by Client Credentials Flow are not associated with any end-user's subject.
186
- #
137
+ #
187
138
  # Even if `Disabled` is selected here, single access token per subject is effective if `singleAccessTokenPerSubject` of the `Service` this client belongs to is Enabled.
188
- #
139
+ #
189
140
  field :single_access_token_per_subject, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('singleAccessTokenPerSubject') } }
190
141
  # The flag to indicate whether the use of Proof Key for Code Exchange (PKCE) is always required for authorization requests by Authorization Code Flow.
191
- #
142
+ #
192
143
  # If `true`, `code_challenge` request parameter is always required for authorization requests using Authorization Code Flow.
193
- #
144
+ #
194
145
  # See [RFC 7636](https://tools.ietf.org/html/rfc7636) (Proof Key for Code Exchange by OAuth Public Clients) for details about `code_challenge` request parameter.
195
- #
146
+ #
196
147
  field :pkce_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('pkceRequired') } }
197
148
  # The flag to indicate whether `S256` is always required as the code challenge method whenever [PKCE (RFC 7636)](https://tools.ietf.org/html/rfc7636) is used.
198
- #
149
+ #
199
150
  # If this flag is set to `true`, `code_challenge_method=S256` must be included in the authorization request
200
151
  # whenever it includes the `code_challenge` request parameter.
201
152
  # Neither omission of the `code_challenge_method` request parameter nor use of plain (`code_challenge_method=plain`) is allowed.
202
- #
153
+ #
203
154
  field :pkce_s256_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('pkceS256Required') } }
204
155
  # The flag indicating whether this service signs responses from the resource server.
205
- #
156
+ #
206
157
  field :rs_request_signed, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('rsRequestSigned') } }
207
158
  # If the DPoP is required for this client
208
- #
159
+ #
209
160
  field :dpop_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('dpopRequired') } }
210
161
  # The flag which indicates whether this client is locked.
211
- #
162
+ #
212
163
  field :locked, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('locked') } }
213
164
  # The flag indicating whether the client intends to prefer mutual TLS endpoints over non-MTLS endpoints.
214
- #
165
+ #
215
166
  # This property corresponds to the `use_mtls_endpoint_aliases` client metadata that is defined in
216
167
  # [FAPI 2.0 Security Profile, 8.1.1. use_mtls_endpoint_aliases](https://openid.bitbucket.io/fapi/fapi-2_0-security-profile.html#section-8.1.1).
217
- #
168
+ #
218
169
  field :mtls_endpoint_aliases_used, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('mtlsEndpointAliasesUsed') } }
219
170
  # The flag indicating whether this client is in scope for token migration
220
171
  # operations.
221
- #
172
+ #
222
173
  field :in_scope_for_token_migration, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('inScopeForTokenMigration') } }
223
174
  # the expiration time of the trust chain that was used when this client was registered or updated by the mechanism
224
175
  # defined in OpenID Connect Federation 1.0. The value is represented as milliseconds elapsed since the Unix epoch (1970-01-01).
225
- #
176
+ #
226
177
  field :trust_chain_expires_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('trustChainExpiresAt') } }
227
178
  # the time at which the trust chain was updated by the mechanism defined in OpenID Connect Federation 1.0
228
- #
179
+ #
229
180
  field :trust_chain_updated_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('trustChainUpdatedAt') } }
230
181
  # The flag indicating whether this client was registered by the
231
182
  # "automatic" client registration of OIDC Federation.
232
- #
183
+ #
233
184
  field :automatically_registered, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('automaticallyRegistered') } }
234
185
  # The flag indicating whether this client was registered by the
235
186
  # "explicit" client registration of OIDC Federation.
236
- #
187
+ #
237
188
  field :explicitly_registered, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('explicitlyRegistered') } }
238
189
  # True if credential responses to this client must be always encrypted.
239
190
  field :credential_response_encryption_required, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('credentialResponseEncryptionRequired') } }
240
191
  # Location of the Client ID Metadata Document that was used for this client.
241
192
  # This property is set when client metadata was retrieved via the OAuth Client ID Metadata Document (CIMD) mechanism.
242
- #
193
+ #
243
194
  field :metadata_document_location, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('metadataDocumentLocation') } }
244
195
  # Expiration time of the metadata document (UNIX time in milliseconds).
245
- #
196
+ #
246
197
  field :metadata_document_expires_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('metadataDocumentExpiresAt') } }
247
198
  # Last-updated time of the metadata document (UNIX time in milliseconds).
248
- #
199
+ #
249
200
  field :metadata_document_updated_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('metadataDocumentUpdatedAt') } }
250
201
  # Indicates whether this client was discovered via a Client ID Metadata Document.
251
- #
202
+ #
252
203
  field :discovered_by_metadata_document, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('discoveredByMetadataDocument') } }
253
204
  # Source of this client record.
254
- #
255
- field :client_source, Crystalline::Nilable.new(Models::Components::ClientLimitedAuthorizationClientSource), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientSource'), 'decoder': Utils.enum_from_string(Models::Components::ClientLimitedAuthorizationClientSource, true) } }
205
+ #
206
+ field :client_source, Crystalline::Nilable.new(Models::Components::ClientLimitedAuthorizationClientSource), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientSource'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::ClientLimitedAuthorizationClientSource, true) } }
256
207
  # the entity ID of this client.
257
- #
208
+ #
258
209
  field :entity_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('entityId') } }
259
210
 
260
211
  sig { params(number: T.nilable(::Integer), client_name: T.nilable(::String), client_names: T.nilable(T::Array[Models::Components::TaggedValue]), description: T.nilable(::String), descriptions: T.nilable(T::Array[Models::Components::TaggedValue]), client_id: T.nilable(::Integer), client_id_alias: T.nilable(::String), client_id_alias_enabled: T.nilable(T::Boolean), client_type: T.nilable(Models::Components::ClientType), logo_uri: T.nilable(::String), logo_uris: T.nilable(T::Array[Models::Components::TaggedValue]), tos_uri: T.nilable(::String), tos_uris: T.nilable(T::Array[Models::Components::TaggedValue]), policy_uri: T.nilable(::String), policy_uris: T.nilable(T::Array[Models::Components::TaggedValue]), service_number: T.nilable(::Integer), default_max_age: T.nilable(::Integer), auth_time_required: T.nilable(T::Boolean), created_at: T.nilable(::Integer), modified_at: T.nilable(::Integer), tls_client_certificate_bound_access_tokens: T.nilable(T::Boolean), bc_user_code_required: T.nilable(T::Boolean), dynamically_registered: T.nilable(T::Boolean), par_required: T.nilable(T::Boolean), request_object_required: T.nilable(T::Boolean), front_channel_request_object_encryption_required: T.nilable(T::Boolean), request_object_encryption_alg_match_required: T.nilable(T::Boolean), request_object_encryption_enc_match_required: T.nilable(T::Boolean), single_access_token_per_subject: T.nilable(T::Boolean), pkce_required: T.nilable(T::Boolean), pkce_s256_required: T.nilable(T::Boolean), rs_request_signed: T.nilable(T::Boolean), dpop_required: T.nilable(T::Boolean), locked: T.nilable(T::Boolean), mtls_endpoint_aliases_used: T.nilable(T::Boolean), in_scope_for_token_migration: T.nilable(T::Boolean), trust_chain_expires_at: T.nilable(::Integer), trust_chain_updated_at: T.nilable(::Integer), automatically_registered: T.nilable(T::Boolean), explicitly_registered: T.nilable(T::Boolean), credential_response_encryption_required: T.nilable(T::Boolean), metadata_document_location: T.nilable(::String), metadata_document_expires_at: T.nilable(::Integer), metadata_document_updated_at: T.nilable(::Integer), discovered_by_metadata_document: T.nilable(T::Boolean), client_source: T.nilable(Models::Components::ClientLimitedAuthorizationClientSource), entity_id: T.nilable(::String)).void }
@@ -102,4 +102,4 @@ class Authlete::Models::Components::ClientLimitedAuthorization
102
102
  def client_source=(str_); end
103
103
  def entity_id(); end
104
104
  def entity_id=(str_); end
105
- end
105
+ end
@@ -8,7 +8,7 @@ module Authlete
8
8
  module Models
9
9
  module Components
10
10
  # ClientLimitedAuthorizationClientSource - Source of this client record.
11
- #
11
+ #
12
12
  class ClientLimitedAuthorizationClientSource < T::Enum
13
13
  enums do
14
14
  DYNAMIC_REGISTRATION = new('DYNAMIC_REGISTRATION')
@@ -8,4 +8,4 @@ end
8
8
 
9
9
 
10
10
  class Authlete::Models::Components::ClientLimitedAuthorizationClientSource
11
- end
11
+ end
@@ -17,11 +17,11 @@ module Authlete
17
17
  # A short message which explains the result of the API call.
18
18
  field :result_message, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resultMessage') } }
19
19
  # The next action that the authorization server implementation should take.
20
- #
21
- field :action, Crystalline::Nilable.new(Models::Components::ClientRegistrationResponseAction), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('action'), 'decoder': Utils.enum_from_string(Models::Components::ClientRegistrationResponseAction, true) } }
20
+ #
21
+ field :action, Crystalline::Nilable.new(Models::Components::ClientRegistrationResponseAction), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('action'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::ClientRegistrationResponseAction, true) } }
22
22
  # The content that the authorization server implementation is to return to the client application.
23
23
  # Its format varies depending on the value of `action` parameter.
24
- #
24
+ #
25
25
  field :response_content, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('responseContent') } }
26
26
 
27
27
  field :client, Crystalline::Nilable.new(Models::Components::Client), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('client') } }
@@ -18,4 +18,4 @@ class Authlete::Models::Components::ClientRegistrationResponse
18
18
  def response_content=(str_); end
19
19
  def client(); end
20
20
  def client=(str_); end
21
- end
21
+ end
@@ -8,7 +8,7 @@ module Authlete
8
8
  module Models
9
9
  module Components
10
10
  # ClientRegistrationResponseAction - The next action that the authorization server implementation should take.
11
- #
11
+ #
12
12
  class ClientRegistrationResponseAction < T::Enum
13
13
  enums do
14
14
  BAD_REQUEST = new('BAD_REQUEST')
@@ -8,4 +8,4 @@ end
8
8
 
9
9
 
10
10
  class Authlete::Models::Components::ClientRegistrationResponseAction
11
- end
11
+ end
@@ -10,7 +10,7 @@ module Authlete
10
10
  # ClientRegistrationType - Values for the `client_registration_types` RP metadata and the
11
11
  # `client_registration_types_supported` OP metadata that are defined in
12
12
  # [OpenID Connect Federation 1.0](https://openid.net/specs/openid-connect-federation-1_0.html).
13
- #
13
+ #
14
14
  class ClientRegistrationType < T::Enum
15
15
  enums do
16
16
  AUTOMATIC = new('AUTOMATIC')
@@ -8,4 +8,4 @@ end
8
8
 
9
9
 
10
10
  class Authlete::Models::Components::ClientRegistrationType
11
- end
11
+ end
@@ -17,10 +17,10 @@ module Authlete
17
17
  # A short message which explains the result of the API call.
18
18
  field :result_message, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resultMessage') } }
19
19
  # The new client secret.
20
- #
20
+ #
21
21
  field :new_client_secret, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('newClientSecret') } }
22
22
  # The old client secret.
23
- #
23
+ #
24
24
  field :old_client_secret, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('oldClientSecret') } }
25
25
 
26
26
  sig { params(result_code: T.nilable(::String), result_message: T.nilable(::String), new_client_secret: T.nilable(::String), old_client_secret: T.nilable(::String)).void }
@@ -16,4 +16,4 @@ class Authlete::Models::Components::ClientSecretRefreshResponse
16
16
  def new_client_secret=(str_); end
17
17
  def old_client_secret(); end
18
18
  def old_client_secret=(str_); end
19
- end
19
+ end
@@ -14,7 +14,7 @@ module Authlete
14
14
 
15
15
  # The new value of the client secret. Valid characters for a client secret are `A-Z`, `a-z`, `0-9`,
16
16
  # `-`, and `_`. The maximum length of a client secret is 86.
17
- #
17
+ #
18
18
  field :client_secret, ::String, { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientSecret'), required: true }, 'form': { 'field_name': 'clientSecret' } }
19
19
 
20
20
  sig { params(client_secret: ::String).void }
@@ -10,4 +10,4 @@ end
10
10
  class Authlete::Models::Components::ClientSecretUpdateRequest
11
11
  def client_secret(); end
12
12
  def client_secret=(str_); end
13
- end
13
+ end
@@ -17,10 +17,10 @@ module Authlete
17
17
  # A short message which explains the result of the API call.
18
18
  field :result_message, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resultMessage') } }
19
19
  # The new client secret.
20
- #
20
+ #
21
21
  field :new_client_secret, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('newClientSecret') } }
22
22
  # The old client secret.
23
- #
23
+ #
24
24
  field :old_client_secret, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('oldClientSecret') } }
25
25
 
26
26
  sig { params(result_code: T.nilable(::String), result_message: T.nilable(::String), new_client_secret: T.nilable(::String), old_client_secret: T.nilable(::String)).void }
@@ -16,4 +16,4 @@ class Authlete::Models::Components::ClientSecretUpdateResponse
16
16
  def new_client_secret=(str_); end
17
17
  def old_client_secret(); end
18
18
  def old_client_secret=(str_); end
19
- end
19
+ end
@@ -9,7 +9,7 @@ module Authlete
9
9
  module Components
10
10
  # ClientType - The client type, either `CONFIDENTIAL` or `PUBLIC`. See [RFC 6749, 2.1. Client Types](https://datatracker.ietf.org/doc/html/rfc6749#section-2.1)
11
11
  # for details.
12
- #
12
+ #
13
13
  class ClientType < T::Enum
14
14
  enums do
15
15
  PUBLIC = new('PUBLIC')
@@ -8,4 +8,4 @@ end
8
8
 
9
9
 
10
10
  class Authlete::Models::Components::ClientType
11
- end
11
+ end
@@ -22,7 +22,7 @@ module Authlete
22
22
  field :credential_duration, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('credentialDuration') } }
23
23
  # The key ID of a private key that should be used for signing a credential
24
24
  # to be issued.
25
- #
25
+ #
26
26
  field :signing_key_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('signingKeyId') } }
27
27
 
28
28
  sig { params(request_identifier: T.nilable(::String), credential_payload: T.nilable(::String), issuance_deferred: T.nilable(T::Boolean), credential_duration: T.nilable(::Integer), signing_key_id: T.nilable(::String)).void }
@@ -18,4 +18,4 @@ class Authlete::Models::Components::CredentialIssuanceOrder
18
18
  def credential_duration=(str_); end
19
19
  def signing_key_id(); end
20
20
  def signing_key_id=(str_); end
21
- end
21
+ end
@@ -15,7 +15,7 @@ module Authlete
15
15
  # The identifiers of the authorization servers that the credential issuer relies on for authorization.
16
16
  # This property corresponds to the authorization_servers metadata. When the credential issuer works
17
17
  # as an authorization server for itself, this property should be omitted.
18
- #
18
+ #
19
19
  field :authorization_servers, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('authorizationServers') } }
20
20
  # The identifier of a credential request.
21
21
  field :credential_issuer, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('credentialIssuer') } }
@@ -28,21 +28,21 @@ module Authlete
28
28
  # A JSON object describing supported credential configurations.
29
29
  # This property corresponds to the credential_configurations_supported metadata.
30
30
  # Note: Due to a breaking change in December 2023, this was changed from a JSON array to a JSON object.
31
- #
31
+ #
32
32
  field :credentials_supported, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('credentialsSupported') } }
33
33
  # The supported JWE `alg` algorithms for credential response encryption. This property corresponds
34
34
  # to the `credential_response_encryption.alg_values_supported` metadata.
35
- #
35
+ #
36
36
  field :credential_response_encryption_alg_values_supported, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('credentialResponseEncryptionAlgValuesSupported') } }
37
37
  # The supported JWE `enc` algorithms for credential response encryption. This property corresponds
38
38
  # to the `credential_response_encryption.enc_values_supported` metadata.
39
- #
39
+ #
40
40
  field :credential_response_encryption_enc_values_supported, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('credentialResponseEncryptionEncValuesSupported') } }
41
41
  # The boolean flag indicating whether credential response encryption is required. This property
42
42
  # corresponds to the `credential_response_encryption.encryption_required metadata`. If this flag
43
43
  # is `true`, every credential request to the credential issuer must include the `credential_response_encryption`
44
44
  # property.
45
- #
45
+ #
46
46
  field :require_credential_response_encryption, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('requireCredentialResponseEncryption') } }
47
47
 
48
48
  sig { params(authorization_servers: T.nilable(T::Array[::String]), credential_issuer: T.nilable(::String), credential_endpoint: T.nilable(::String), batch_credential_endpoint: T.nilable(::String), deferred_credential_endpoint: T.nilable(::String), credentials_supported: T.nilable(::String), credential_response_encryption_alg_values_supported: T.nilable(T::Array[::String]), credential_response_encryption_enc_values_supported: T.nilable(T::Array[::String]), require_credential_response_encryption: T.nilable(T::Boolean)).void }
@@ -26,4 +26,4 @@ class Authlete::Models::Components::CredentialIssuerMetadata
26
26
  def credential_response_encryption_enc_values_supported=(str_); end
27
27
  def require_credential_response_encryption(); end
28
28
  def require_credential_response_encryption=(str_); end
29
- end
29
+ end