authlete_ruby_sdk 0.0.2.beta → 0.0.5.pre.beta

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 (817) 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 +4 -2
  6. data/lib/authlete/client_management.rb +1292 -95
  7. data/lib/authlete/clients.rb +47 -27
  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 +24 -7
  16. data/lib/authlete/lifecycle.rb +151 -0
  17. data/lib/authlete/models/components/access_token.rb +9 -10
  18. data/lib/authlete/models/components/access_token.rbi +1 -1
  19. data/lib/authlete/models/components/application_type.rb +1 -4
  20. data/lib/authlete/models/components/application_type.rbi +1 -1
  21. data/lib/authlete/models/components/attachment_type.rb +1 -4
  22. data/lib/authlete/models/components/attachment_type.rbi +1 -1
  23. data/lib/authlete/models/components/authorization_details_element.rb +16 -17
  24. data/lib/authlete/models/components/authorization_details_element.rbi +1 -1
  25. data/lib/authlete/models/components/authorization_fail_request.rb +4 -5
  26. data/lib/authlete/models/components/authorization_fail_request.rbi +1 -1
  27. data/lib/authlete/models/components/authorization_fail_request_reason.rb +1 -4
  28. data/lib/authlete/models/components/authorization_fail_request_reason.rbi +1 -1
  29. data/lib/authlete/models/components/authorization_fail_response.rb +2 -3
  30. data/lib/authlete/models/components/authorization_fail_response.rbi +1 -1
  31. data/lib/authlete/models/components/authorization_fail_response_action.rb +0 -3
  32. data/lib/authlete/models/components/authorization_fail_response_action.rbi +1 -1
  33. data/lib/authlete/models/components/authorization_issue_request.rb +19 -84
  34. data/lib/authlete/models/components/authorization_issue_request.rbi +1 -1
  35. data/lib/authlete/models/components/authorization_issue_response.rb +8 -9
  36. data/lib/authlete/models/components/authorization_issue_response.rbi +1 -1
  37. data/lib/authlete/models/components/authorization_issue_response_action.rb +0 -3
  38. data/lib/authlete/models/components/authorization_issue_response_action.rbi +1 -1
  39. data/lib/authlete/models/components/authorization_request.rb +7 -8
  40. data/lib/authlete/models/components/authorization_request.rbi +1 -1
  41. data/lib/authlete/models/components/authorization_response.rb +86 -186
  42. data/lib/authlete/models/components/authorization_response.rbi +1 -3
  43. data/lib/authlete/models/components/authorization_response_action.rb +0 -3
  44. data/lib/authlete/models/components/authorization_response_action.rbi +1 -1
  45. data/lib/authlete/models/components/authorization_ticket_info.rb +1 -2
  46. data/lib/authlete/models/components/authorization_ticket_info.rbi +1 -1
  47. data/lib/authlete/models/components/authorization_ticket_info_request.rb +0 -1
  48. data/lib/authlete/models/components/authorization_ticket_info_request.rbi +1 -1
  49. data/lib/authlete/models/components/authorization_ticket_info_response.rb +1 -2
  50. data/lib/authlete/models/components/authorization_ticket_info_response.rbi +1 -1
  51. data/lib/authlete/models/components/authorization_ticket_info_response_action.rb +0 -3
  52. data/lib/authlete/models/components/authorization_ticket_info_response_action.rbi +1 -1
  53. data/lib/authlete/models/components/authorization_ticket_update_request.rb +0 -1
  54. data/lib/authlete/models/components/authorization_ticket_update_request.rbi +1 -1
  55. data/lib/authlete/models/components/authorization_ticket_update_response.rb +4 -5
  56. data/lib/authlete/models/components/authorization_ticket_update_response.rbi +1 -1
  57. data/lib/authlete/models/components/authorization_ticket_update_response_action.rb +0 -3
  58. data/lib/authlete/models/components/authorization_ticket_update_response_action.rbi +1 -1
  59. data/lib/authlete/models/components/authz_details.rb +2 -3
  60. data/lib/authlete/models/components/authz_details.rbi +1 -1
  61. data/lib/authlete/models/components/backchannel_authentication_complete_request.rb +23 -24
  62. data/lib/authlete/models/components/backchannel_authentication_complete_request.rbi +1 -1
  63. data/lib/authlete/models/components/backchannel_authentication_complete_request_result.rb +1 -4
  64. data/lib/authlete/models/components/backchannel_authentication_complete_request_result.rbi +1 -1
  65. data/lib/authlete/models/components/backchannel_authentication_complete_response.rb +30 -31
  66. data/lib/authlete/models/components/backchannel_authentication_complete_response.rbi +1 -1
  67. data/lib/authlete/models/components/backchannel_authentication_complete_response_action.rb +1 -4
  68. data/lib/authlete/models/components/backchannel_authentication_complete_response_action.rbi +1 -1
  69. data/lib/authlete/models/components/backchannel_authentication_fail_request.rb +5 -6
  70. data/lib/authlete/models/components/backchannel_authentication_fail_request.rbi +1 -1
  71. data/lib/authlete/models/components/backchannel_authentication_fail_request_reason.rb +1 -4
  72. data/lib/authlete/models/components/backchannel_authentication_fail_request_reason.rbi +1 -1
  73. data/lib/authlete/models/components/backchannel_authentication_fail_response.rb +2 -3
  74. data/lib/authlete/models/components/backchannel_authentication_fail_response.rbi +1 -1
  75. data/lib/authlete/models/components/backchannel_authentication_fail_response_action.rb +0 -3
  76. data/lib/authlete/models/components/backchannel_authentication_fail_response_action.rbi +1 -1
  77. data/lib/authlete/models/components/backchannel_authentication_issue_request.rb +1 -2
  78. data/lib/authlete/models/components/backchannel_authentication_issue_request.rbi +1 -1
  79. data/lib/authlete/models/components/backchannel_authentication_issue_response.rb +5 -6
  80. data/lib/authlete/models/components/backchannel_authentication_issue_response.rbi +1 -1
  81. data/lib/authlete/models/components/backchannel_authentication_issue_response_action.rb +0 -3
  82. data/lib/authlete/models/components/backchannel_authentication_issue_response_action.rbi +1 -1
  83. data/lib/authlete/models/components/backchannel_authentication_request.rb +12 -13
  84. data/lib/authlete/models/components/backchannel_authentication_request.rbi +1 -1
  85. data/lib/authlete/models/components/backchannel_authentication_response.rb +47 -57
  86. data/lib/authlete/models/components/backchannel_authentication_response.rbi +1 -1
  87. data/lib/authlete/models/components/backchannel_authentication_response_action.rb +0 -3
  88. data/lib/authlete/models/components/backchannel_authentication_response_action.rbi +1 -1
  89. data/lib/authlete/models/components/cimd_options.rb +15 -16
  90. data/lib/authlete/models/components/cimd_options.rbi +1 -1
  91. data/lib/authlete/models/components/claim_type.rb +0 -3
  92. data/lib/authlete/models/components/claim_type.rbi +1 -1
  93. data/lib/authlete/models/components/client.rb +160 -310
  94. data/lib/authlete/models/components/client.rbi +1 -1
  95. data/lib/authlete/models/components/client_auth_method.rb +1 -4
  96. data/lib/authlete/models/components/client_auth_method.rbi +1 -1
  97. data/lib/authlete/models/components/client_authorization_delete_response.rb +4 -5
  98. data/lib/authlete/models/components/client_authorization_delete_response.rbi +1 -1
  99. data/lib/authlete/models/components/client_authorization_get_list_request.rb +44 -0
  100. data/lib/authlete/models/components/client_authorization_get_list_request.rbi +19 -0
  101. data/lib/authlete/models/components/client_authorization_get_list_response.rb +6 -7
  102. data/lib/authlete/models/components/client_authorization_get_list_response.rbi +1 -1
  103. data/lib/authlete/models/components/client_authorization_update_request.rb +2 -3
  104. data/lib/authlete/models/components/client_authorization_update_request.rbi +1 -1
  105. data/lib/authlete/models/components/client_authorization_update_response.rb +0 -1
  106. data/lib/authlete/models/components/client_authorization_update_response.rbi +1 -1
  107. data/lib/authlete/models/components/{clientsource.rb → client_clientsource.rb} +3 -6
  108. data/lib/authlete/models/components/client_clientsource.rbi +11 -0
  109. data/lib/authlete/models/components/client_extension.rb +9 -20
  110. data/lib/authlete/models/components/client_extension.rbi +1 -1
  111. data/lib/authlete/models/components/client_extension_requestable_scopes_get_response.rb +2 -2
  112. data/lib/authlete/models/components/client_extension_requestable_scopes_get_response.rbi +1 -1
  113. data/lib/authlete/models/components/client_extension_requestable_scopes_update_request.rb +4 -5
  114. data/lib/authlete/models/components/client_extension_requestable_scopes_update_request.rbi +1 -1
  115. data/lib/authlete/models/components/client_extension_requestable_scopes_update_response.rb +0 -1
  116. data/lib/authlete/models/components/client_extension_requestable_scopes_update_response.rbi +1 -1
  117. data/lib/authlete/models/components/client_flag_update_request.rb +1 -2
  118. data/lib/authlete/models/components/client_flag_update_request.rbi +1 -1
  119. data/lib/authlete/models/components/client_flag_update_response.rb +0 -1
  120. data/lib/authlete/models/components/client_flag_update_response.rbi +1 -1
  121. data/lib/authlete/models/components/client_get_list_response.rb +4 -5
  122. data/lib/authlete/models/components/client_get_list_response.rbi +1 -1
  123. data/lib/authlete/models/components/client_granted_scopes_delete_response.rb +0 -1
  124. data/lib/authlete/models/components/client_granted_scopes_delete_response.rbi +1 -1
  125. data/lib/authlete/models/components/client_input.rb +155 -295
  126. data/lib/authlete/models/components/client_input.rbi +1 -1
  127. data/lib/authlete/models/components/client_limited.rb +7 -8
  128. data/lib/authlete/models/components/client_limited.rbi +1 -1
  129. data/lib/authlete/models/components/client_limited_authorization.rb +217 -20
  130. data/lib/authlete/models/components/client_limited_authorization.rbi +65 -1
  131. data/lib/authlete/models/components/client_limited_authorization_clientsource.rb +23 -0
  132. data/lib/authlete/models/components/client_limited_authorization_clientsource.rbi +11 -0
  133. data/lib/authlete/models/components/client_registration_response.rb +3 -4
  134. data/lib/authlete/models/components/client_registration_response.rbi +1 -1
  135. data/lib/authlete/models/components/client_registration_response_action.rb +1 -4
  136. data/lib/authlete/models/components/client_registration_response_action.rbi +1 -1
  137. data/lib/authlete/models/components/client_registration_type.rb +1 -4
  138. data/lib/authlete/models/components/client_registration_type.rbi +1 -1
  139. data/lib/authlete/models/components/client_secret_refresh_response.rb +2 -3
  140. data/lib/authlete/models/components/client_secret_refresh_response.rbi +1 -1
  141. data/lib/authlete/models/components/client_secret_update_request.rb +1 -2
  142. data/lib/authlete/models/components/client_secret_update_request.rbi +1 -1
  143. data/lib/authlete/models/components/client_secret_update_response.rb +2 -3
  144. data/lib/authlete/models/components/client_secret_update_response.rbi +1 -1
  145. data/lib/authlete/models/components/client_type.rb +1 -4
  146. data/lib/authlete/models/components/client_type.rbi +1 -1
  147. data/lib/authlete/models/components/credential_issuance_order.rb +1 -2
  148. data/lib/authlete/models/components/credential_issuance_order.rbi +1 -1
  149. data/lib/authlete/models/components/credential_issuer_metadata.rb +5 -6
  150. data/lib/authlete/models/components/credential_issuer_metadata.rbi +1 -1
  151. data/lib/authlete/models/components/credential_offer_info.rb +12 -21
  152. data/lib/authlete/models/components/credential_offer_info.rbi +1 -1
  153. data/lib/authlete/models/components/credential_request_info.rb +0 -1
  154. data/lib/authlete/models/components/credential_request_info.rbi +1 -1
  155. data/lib/authlete/models/components/delivery_mode.rb +0 -3
  156. data/lib/authlete/models/components/delivery_mode.rbi +1 -1
  157. data/lib/authlete/models/components/device_authorization_request.rb +12 -13
  158. data/lib/authlete/models/components/device_authorization_request.rbi +1 -1
  159. data/lib/authlete/models/components/device_authorization_response.rb +39 -49
  160. data/lib/authlete/models/components/device_authorization_response.rbi +1 -1
  161. data/lib/authlete/models/components/device_authorization_response_action.rb +0 -3
  162. data/lib/authlete/models/components/device_authorization_response_action.rbi +1 -1
  163. data/lib/authlete/models/components/device_complete_request.rb +22 -23
  164. data/lib/authlete/models/components/device_complete_request.rbi +1 -1
  165. data/lib/authlete/models/components/device_complete_request_result.rb +1 -4
  166. data/lib/authlete/models/components/device_complete_request_result.rbi +1 -1
  167. data/lib/authlete/models/components/device_complete_response.rb +2 -3
  168. data/lib/authlete/models/components/device_complete_response.rbi +1 -1
  169. data/lib/authlete/models/components/device_complete_response_action.rb +1 -4
  170. data/lib/authlete/models/components/device_complete_response_action.rbi +1 -1
  171. data/lib/authlete/models/components/device_verification_request.rb +1 -2
  172. data/lib/authlete/models/components/device_verification_request.rbi +1 -1
  173. data/lib/authlete/models/components/device_verification_response.rb +32 -33
  174. data/lib/authlete/models/components/device_verification_response.rbi +1 -1
  175. data/lib/authlete/models/components/device_verification_response_action.rb +0 -3
  176. data/lib/authlete/models/components/device_verification_response_action.rbi +1 -1
  177. data/lib/authlete/models/components/display.rb +3 -6
  178. data/lib/authlete/models/components/display.rbi +1 -1
  179. data/lib/authlete/models/components/dynamic_scope.rb +0 -1
  180. data/lib/authlete/models/components/dynamic_scope.rbi +1 -1
  181. data/lib/authlete/models/components/fapi_mode.rb +0 -3
  182. data/lib/authlete/models/components/fapi_mode.rbi +1 -1
  183. data/lib/authlete/models/components/federation_configuration_response.rb +2 -3
  184. data/lib/authlete/models/components/federation_configuration_response.rbi +1 -1
  185. data/lib/authlete/models/components/federation_configuration_response_action.rb +0 -3
  186. data/lib/authlete/models/components/federation_configuration_response_action.rbi +1 -1
  187. data/lib/authlete/models/components/federation_registration_request.rb +2 -3
  188. data/lib/authlete/models/components/federation_registration_request.rbi +1 -1
  189. data/lib/authlete/models/components/federation_registration_response.rb +2 -3
  190. data/lib/authlete/models/components/federation_registration_response.rbi +1 -1
  191. data/lib/authlete/models/components/federation_registration_response_action.rb +0 -3
  192. data/lib/authlete/models/components/federation_registration_response_action.rbi +1 -1
  193. data/lib/authlete/models/components/g_m_request.rb +13 -14
  194. data/lib/authlete/models/components/g_m_request.rbi +1 -1
  195. data/lib/authlete/models/components/g_m_response.rb +3 -4
  196. data/lib/authlete/models/components/g_m_response.rbi +1 -1
  197. data/lib/authlete/models/components/g_m_response_action.rb +0 -3
  198. data/lib/authlete/models/components/g_m_response_action.rbi +1 -1
  199. data/lib/authlete/models/components/grant.rb +2 -3
  200. data/lib/authlete/models/components/grant.rbi +1 -1
  201. data/lib/authlete/models/components/grant_management_action.rb +2 -5
  202. data/lib/authlete/models/components/grant_management_action.rbi +1 -1
  203. data/lib/authlete/models/components/grant_scope.rb +2 -3
  204. data/lib/authlete/models/components/grant_scope.rbi +1 -1
  205. data/lib/authlete/models/components/grant_type.rb +1 -4
  206. data/lib/authlete/models/components/grant_type.rbi +1 -1
  207. data/lib/authlete/models/components/hsk.rb +8 -9
  208. data/lib/authlete/models/components/hsk.rbi +1 -1
  209. data/lib/authlete/models/components/hsk_create_request.rb +6 -7
  210. data/lib/authlete/models/components/hsk_create_request.rbi +1 -1
  211. data/lib/authlete/models/components/hsk_create_response.rb +2 -3
  212. data/lib/authlete/models/components/hsk_create_response.rbi +1 -1
  213. data/lib/authlete/models/components/hsk_create_response_action.rb +0 -3
  214. data/lib/authlete/models/components/hsk_create_response_action.rbi +1 -1
  215. data/lib/authlete/models/components/hsk_delete_response.rb +2 -3
  216. data/lib/authlete/models/components/hsk_delete_response.rbi +1 -1
  217. data/lib/authlete/models/components/hsk_delete_response_action.rb +0 -3
  218. data/lib/authlete/models/components/hsk_delete_response_action.rbi +1 -1
  219. data/lib/authlete/models/components/hsk_get_list_response.rb +1 -2
  220. data/lib/authlete/models/components/hsk_get_list_response.rbi +1 -1
  221. data/lib/authlete/models/components/hsk_get_list_response_action.rb +0 -3
  222. data/lib/authlete/models/components/hsk_get_list_response_action.rbi +1 -1
  223. data/lib/authlete/models/components/hsk_get_response.rb +2 -3
  224. data/lib/authlete/models/components/hsk_get_response.rbi +1 -1
  225. data/lib/authlete/models/components/hsk_get_response_action.rb +0 -3
  226. data/lib/authlete/models/components/hsk_get_response_action.rbi +1 -1
  227. data/lib/authlete/models/components/idtoken_reissue_request.rb +7 -8
  228. data/lib/authlete/models/components/idtoken_reissue_request.rbi +1 -1
  229. data/lib/authlete/models/components/idtoken_reissue_response.rb +3 -4
  230. data/lib/authlete/models/components/idtoken_reissue_response.rbi +1 -1
  231. data/lib/authlete/models/components/idtoken_reissue_response_action.rb +0 -3
  232. data/lib/authlete/models/components/idtoken_reissue_response_action.rbi +1 -1
  233. data/lib/authlete/models/components/introspection_request.rb +24 -41
  234. data/lib/authlete/models/components/introspection_request.rbi +1 -1
  235. data/lib/authlete/models/components/introspection_response.rb +36 -46
  236. data/lib/authlete/models/components/introspection_response.rbi +1 -1
  237. data/lib/authlete/models/components/introspection_response_action.rb +0 -3
  238. data/lib/authlete/models/components/introspection_response_action.rbi +1 -1
  239. data/lib/authlete/models/components/jose_verify_request.rb +5 -6
  240. data/lib/authlete/models/components/jose_verify_request.rbi +1 -1
  241. data/lib/authlete/models/components/jose_verify_response.rb +5 -6
  242. data/lib/authlete/models/components/jose_verify_response.rbi +1 -1
  243. data/lib/authlete/models/components/jwe_alg.rb +2 -5
  244. data/lib/authlete/models/components/jwe_alg.rbi +1 -1
  245. data/lib/authlete/models/components/jwe_enc.rb +1 -4
  246. data/lib/authlete/models/components/jwe_enc.rbi +1 -1
  247. data/lib/authlete/models/components/jws_alg.rb +2 -5
  248. data/lib/authlete/models/components/jws_alg.rbi +1 -1
  249. data/lib/authlete/models/components/named_uri.rb +0 -1
  250. data/lib/authlete/models/components/named_uri.rbi +1 -1
  251. data/lib/authlete/models/components/native_sso_logout_request.rb +1 -2
  252. data/lib/authlete/models/components/native_sso_logout_request.rbi +1 -1
  253. data/lib/authlete/models/components/native_sso_logout_response.rb +3 -4
  254. data/lib/authlete/models/components/native_sso_logout_response.rbi +1 -1
  255. data/lib/authlete/models/components/native_sso_logout_response_action.rb +1 -4
  256. data/lib/authlete/models/components/native_sso_logout_response_action.rbi +1 -1
  257. data/lib/authlete/models/components/native_sso_request.rb +8 -25
  258. data/lib/authlete/models/components/native_sso_request.rbi +1 -1
  259. data/lib/authlete/models/components/native_sso_response.rb +4 -5
  260. data/lib/authlete/models/components/native_sso_response.rbi +1 -1
  261. data/lib/authlete/models/components/native_sso_response_action.rb +1 -4
  262. data/lib/authlete/models/components/native_sso_response_action.rbi +1 -1
  263. data/lib/authlete/models/components/pair.rb +0 -1
  264. data/lib/authlete/models/components/pair.rbi +1 -1
  265. data/lib/authlete/models/components/prompt.rb +3 -6
  266. data/lib/authlete/models/components/prompt.rbi +1 -1
  267. data/lib/authlete/models/components/property.rb +1 -2
  268. data/lib/authlete/models/components/property.rbi +1 -1
  269. data/lib/authlete/models/components/pushed_authorization_request.rb +11 -12
  270. data/lib/authlete/models/components/pushed_authorization_request.rbi +1 -1
  271. data/lib/authlete/models/components/pushed_authorization_response.rb +6 -7
  272. data/lib/authlete/models/components/pushed_authorization_response.rbi +1 -1
  273. data/lib/authlete/models/components/pushed_authorization_response_action.rb +0 -3
  274. data/lib/authlete/models/components/pushed_authorization_response_action.rbi +1 -1
  275. data/lib/authlete/models/components/pushed_authorization_response_clientauthmethod.rb +2 -4
  276. data/lib/authlete/models/components/pushed_authorization_response_clientauthmethod.rbi +1 -1
  277. data/lib/authlete/models/components/response_type.rb +0 -3
  278. data/lib/authlete/models/components/response_type.rbi +1 -1
  279. data/lib/authlete/models/components/responsemode.rb +0 -3
  280. data/lib/authlete/models/components/responsemode.rbi +1 -1
  281. data/lib/authlete/models/components/revocation_request.rb +10 -11
  282. data/lib/authlete/models/components/revocation_request.rbi +1 -1
  283. data/lib/authlete/models/components/revocation_response.rb +2 -3
  284. data/lib/authlete/models/components/revocation_response.rbi +1 -1
  285. data/lib/authlete/models/components/revocation_response_action.rb +0 -3
  286. data/lib/authlete/models/components/revocation_response_action.rbi +1 -1
  287. data/lib/authlete/models/components/scope.rb +0 -1
  288. data/lib/authlete/models/components/scope.rbi +1 -1
  289. data/lib/authlete/models/components/security.rb +3 -4
  290. data/lib/authlete/models/components/security.rbi +1 -1
  291. data/lib/authlete/models/components/service.rb +248 -600
  292. data/lib/authlete/models/components/service.rbi +1 -1
  293. data/lib/authlete/models/components/service_get_list_response.rb +4 -5
  294. data/lib/authlete/models/components/service_get_list_response.rbi +1 -1
  295. data/lib/authlete/models/components/service_input.rb +242 -594
  296. data/lib/authlete/models/components/service_input.rbi +1 -1
  297. data/lib/authlete/models/components/service_jwks_get_response.rb +0 -1
  298. data/lib/authlete/models/components/service_jwks_get_response.rbi +1 -1
  299. data/lib/authlete/models/components/service_profile.rb +0 -3
  300. data/lib/authlete/models/components/service_profile.rbi +1 -1
  301. data/lib/authlete/models/components/sns_credentials.rb +0 -1
  302. data/lib/authlete/models/components/sns_credentials.rbi +1 -1
  303. data/lib/authlete/models/components/standard_introspection_request.rb +22 -23
  304. data/lib/authlete/models/components/standard_introspection_request.rbi +1 -1
  305. data/lib/authlete/models/components/standard_introspection_response.rb +2 -3
  306. data/lib/authlete/models/components/standard_introspection_response.rbi +1 -1
  307. data/lib/authlete/models/components/standard_introspection_response_action.rb +1 -3
  308. data/lib/authlete/models/components/standard_introspection_response_action.rbi +1 -1
  309. data/lib/authlete/models/components/subject_type.rb +2 -5
  310. data/lib/authlete/models/components/subject_type.rbi +1 -1
  311. data/lib/authlete/models/components/supportedsnse.rb +0 -3
  312. data/lib/authlete/models/components/supportedsnse.rbi +1 -1
  313. data/lib/authlete/models/components/tagged_value.rb +0 -1
  314. data/lib/authlete/models/components/tagged_value.rbi +1 -1
  315. data/lib/authlete/models/components/token_create_request.rb +30 -63
  316. data/lib/authlete/models/components/token_create_request.rbi +1 -1
  317. data/lib/authlete/models/components/token_create_response.rb +18 -19
  318. data/lib/authlete/models/components/token_create_response.rbi +1 -1
  319. data/lib/authlete/models/components/token_create_response_action.rb +0 -3
  320. data/lib/authlete/models/components/token_create_response_action.rbi +1 -1
  321. data/lib/authlete/models/components/token_fail_request.rb +3 -4
  322. data/lib/authlete/models/components/token_fail_request.rbi +1 -1
  323. data/lib/authlete/models/components/token_fail_request_reason.rb +1 -4
  324. data/lib/authlete/models/components/token_fail_request_reason.rbi +1 -1
  325. data/lib/authlete/models/components/token_fail_response.rb +2 -3
  326. data/lib/authlete/models/components/token_fail_response.rbi +1 -1
  327. data/lib/authlete/models/components/token_fail_response_action.rb +0 -3
  328. data/lib/authlete/models/components/token_fail_response_action.rbi +1 -1
  329. data/lib/authlete/models/components/token_get_list_response.rb +5 -6
  330. data/lib/authlete/models/components/token_get_list_response.rbi +1 -1
  331. data/lib/authlete/models/components/token_info.rb +8 -9
  332. data/lib/authlete/models/components/token_info.rbi +1 -1
  333. data/lib/authlete/models/components/token_issue_request.rb +9 -10
  334. data/lib/authlete/models/components/token_issue_request.rbi +1 -1
  335. data/lib/authlete/models/components/token_issue_response.rb +21 -22
  336. data/lib/authlete/models/components/token_issue_response.rbi +1 -1
  337. data/lib/authlete/models/components/token_issue_response_action.rb +0 -3
  338. data/lib/authlete/models/components/token_issue_response_action.rbi +1 -1
  339. data/lib/authlete/models/components/token_request.rb +27 -28
  340. data/lib/authlete/models/components/token_request.rbi +1 -1
  341. data/lib/authlete/models/components/token_response.rb +55 -63
  342. data/lib/authlete/models/components/token_response.rbi +3 -1
  343. data/lib/authlete/models/components/token_response_action.rb +2 -3
  344. data/lib/authlete/models/components/token_response_action.rbi +1 -1
  345. data/lib/authlete/models/components/token_revoke_request.rb +7 -8
  346. data/lib/authlete/models/components/token_revoke_request.rbi +1 -1
  347. data/lib/authlete/models/components/token_revoke_response.rb +0 -1
  348. data/lib/authlete/models/components/token_revoke_response.rbi +1 -1
  349. data/lib/authlete/models/components/token_type.rb +1 -4
  350. data/lib/authlete/models/components/token_type.rbi +1 -1
  351. data/lib/authlete/models/components/token_update_request.rb +19 -20
  352. data/lib/authlete/models/components/token_update_request.rbi +1 -1
  353. data/lib/authlete/models/components/token_update_response.rb +9 -10
  354. data/lib/authlete/models/components/token_update_response.rbi +1 -1
  355. data/lib/authlete/models/components/token_update_response_action.rb +0 -3
  356. data/lib/authlete/models/components/token_update_response_action.rbi +1 -1
  357. data/lib/authlete/models/components/trust_anchor.rb +2 -3
  358. data/lib/authlete/models/components/trust_anchor.rbi +1 -1
  359. data/lib/authlete/models/components/user_code_charset.rb +1 -4
  360. data/lib/authlete/models/components/user_code_charset.rbi +1 -1
  361. data/lib/authlete/models/components/userinfo_issue_request.rb +7 -68
  362. data/lib/authlete/models/components/userinfo_issue_request.rbi +1 -1
  363. data/lib/authlete/models/components/userinfo_issue_response.rb +5 -6
  364. data/lib/authlete/models/components/userinfo_issue_response.rbi +1 -1
  365. data/lib/authlete/models/components/userinfo_issue_response_action.rb +0 -3
  366. data/lib/authlete/models/components/userinfo_issue_response_action.rbi +1 -1
  367. data/lib/authlete/models/components/userinfo_request.rb +15 -41
  368. data/lib/authlete/models/components/userinfo_request.rbi +1 -1
  369. data/lib/authlete/models/components/userinfo_response.rb +46 -90
  370. data/lib/authlete/models/components/userinfo_response.rbi +1 -1
  371. data/lib/authlete/models/components/userinfo_response_action.rb +0 -3
  372. data/lib/authlete/models/components/userinfo_response_action.rbi +1 -1
  373. data/lib/authlete/models/components/vci_batch_issue_request.rb +0 -1
  374. data/lib/authlete/models/components/vci_batch_issue_request.rbi +1 -1
  375. data/lib/authlete/models/components/vci_batch_issue_response.rb +3 -4
  376. data/lib/authlete/models/components/vci_batch_issue_response.rbi +1 -1
  377. data/lib/authlete/models/components/vci_batch_issue_response_action.rb +1 -4
  378. data/lib/authlete/models/components/vci_batch_issue_response_action.rbi +1 -1
  379. data/lib/authlete/models/components/vci_batch_parse_request.rb +0 -1
  380. data/lib/authlete/models/components/vci_batch_parse_request.rbi +1 -1
  381. data/lib/authlete/models/components/vci_batch_parse_response.rb +2 -3
  382. data/lib/authlete/models/components/vci_batch_parse_response.rbi +1 -1
  383. data/lib/authlete/models/components/vci_batch_parse_response_action.rb +0 -3
  384. data/lib/authlete/models/components/vci_batch_parse_response_action.rbi +1 -1
  385. data/lib/authlete/models/components/vci_deferred_issue_request.rb +0 -1
  386. data/lib/authlete/models/components/vci_deferred_issue_request.rbi +1 -1
  387. data/lib/authlete/models/components/vci_deferred_issue_response.rb +3 -4
  388. data/lib/authlete/models/components/vci_deferred_issue_response.rbi +1 -1
  389. data/lib/authlete/models/components/vci_deferred_issue_response_action.rb +1 -4
  390. data/lib/authlete/models/components/vci_deferred_issue_response_action.rbi +1 -1
  391. data/lib/authlete/models/components/vci_deferred_parse_request.rb +0 -1
  392. data/lib/authlete/models/components/vci_deferred_parse_request.rbi +1 -1
  393. data/lib/authlete/models/components/vci_deferred_parse_response.rb +1 -2
  394. data/lib/authlete/models/components/vci_deferred_parse_response.rbi +1 -1
  395. data/lib/authlete/models/components/vci_deferred_parse_response_action.rb +0 -3
  396. data/lib/authlete/models/components/vci_deferred_parse_response_action.rbi +1 -1
  397. data/lib/authlete/models/components/vci_jwks_request.rb +1 -2
  398. data/lib/authlete/models/components/vci_jwks_request.rbi +1 -1
  399. data/lib/authlete/models/components/vci_jwks_response.rb +3 -4
  400. data/lib/authlete/models/components/vci_jwks_response.rbi +1 -1
  401. data/lib/authlete/models/components/vci_jwks_response_action.rb +1 -4
  402. data/lib/authlete/models/components/vci_jwks_response_action.rbi +1 -1
  403. data/lib/authlete/models/components/vci_jwtissuer_request.rb +1 -2
  404. data/lib/authlete/models/components/vci_jwtissuer_request.rbi +1 -1
  405. data/lib/authlete/models/components/vci_jwtissuer_response.rb +3 -4
  406. data/lib/authlete/models/components/vci_jwtissuer_response.rbi +1 -1
  407. data/lib/authlete/models/components/vci_jwtissuer_response_action.rb +1 -4
  408. data/lib/authlete/models/components/vci_jwtissuer_response_action.rbi +1 -1
  409. data/lib/authlete/models/components/vci_metadata_request.rb +1 -2
  410. data/lib/authlete/models/components/vci_metadata_request.rbi +1 -1
  411. data/lib/authlete/models/components/vci_metadata_response.rb +3 -4
  412. data/lib/authlete/models/components/vci_metadata_response.rbi +1 -1
  413. data/lib/authlete/models/components/vci_metadata_response_action.rb +1 -4
  414. data/lib/authlete/models/components/vci_metadata_response_action.rbi +1 -1
  415. data/lib/authlete/models/components/vci_offer_create_request.rb +10 -80
  416. data/lib/authlete/models/components/vci_offer_create_request.rbi +1 -1
  417. data/lib/authlete/models/components/vci_offer_create_response.rb +1 -2
  418. data/lib/authlete/models/components/vci_offer_create_response.rbi +1 -1
  419. data/lib/authlete/models/components/vci_offer_create_response_action.rb +0 -3
  420. data/lib/authlete/models/components/vci_offer_create_response_action.rbi +1 -1
  421. data/lib/authlete/models/components/vci_offer_info_request.rb +0 -1
  422. data/lib/authlete/models/components/vci_offer_info_request.rbi +1 -1
  423. data/lib/authlete/models/components/vci_offer_info_response.rb +1 -2
  424. data/lib/authlete/models/components/vci_offer_info_response.rbi +1 -1
  425. data/lib/authlete/models/components/vci_offer_info_response_action.rb +0 -3
  426. data/lib/authlete/models/components/vci_offer_info_response_action.rbi +1 -1
  427. data/lib/authlete/models/components/vci_single_issue_request.rb +0 -1
  428. data/lib/authlete/models/components/vci_single_issue_request.rbi +1 -1
  429. data/lib/authlete/models/components/vci_single_issue_response.rb +4 -5
  430. data/lib/authlete/models/components/vci_single_issue_response.rbi +1 -1
  431. data/lib/authlete/models/components/vci_single_issue_response_action.rb +1 -4
  432. data/lib/authlete/models/components/vci_single_issue_response_action.rbi +1 -1
  433. data/lib/authlete/models/components/vci_single_parse_request.rb +0 -1
  434. data/lib/authlete/models/components/vci_single_parse_request.rbi +1 -1
  435. data/lib/authlete/models/components/vci_single_parse_response.rb +1 -2
  436. data/lib/authlete/models/components/vci_single_parse_response.rbi +1 -1
  437. data/lib/authlete/models/components/vci_single_parse_response_action.rb +0 -3
  438. data/lib/authlete/models/components/vci_single_parse_response_action.rbi +1 -1
  439. data/lib/authlete/models/components/verified_claims_validation_schema.rb +1 -4
  440. data/lib/authlete/models/components/verified_claims_validation_schema.rbi +1 -1
  441. data/lib/authlete/models/components.rb +3 -1
  442. data/lib/authlete/models/errors/apierror.rbi +2 -1
  443. data/lib/authlete/models/errors/result_error.rb +0 -1
  444. data/lib/authlete/models/errors/result_error.rbi +1 -1
  445. data/lib/authlete/models/operations/auth_authorization_api_request.rb +0 -1
  446. data/lib/authlete/models/operations/auth_authorization_api_request.rbi +1 -1
  447. data/lib/authlete/models/operations/auth_authorization_api_response.rb +0 -1
  448. data/lib/authlete/models/operations/auth_authorization_api_response.rbi +1 -1
  449. data/lib/authlete/models/operations/auth_authorization_fail_api_request.rb +0 -1
  450. data/lib/authlete/models/operations/auth_authorization_fail_api_request.rbi +1 -1
  451. data/lib/authlete/models/operations/auth_authorization_fail_api_response.rb +0 -1
  452. data/lib/authlete/models/operations/auth_authorization_fail_api_response.rbi +1 -1
  453. data/lib/authlete/models/operations/auth_authorization_issue_api_request.rb +0 -1
  454. data/lib/authlete/models/operations/auth_authorization_issue_api_request.rbi +1 -1
  455. data/lib/authlete/models/operations/auth_authorization_issue_api_response.rb +0 -1
  456. data/lib/authlete/models/operations/auth_authorization_issue_api_response.rbi +1 -1
  457. data/lib/authlete/models/operations/auth_introspection_api_request.rb +0 -1
  458. data/lib/authlete/models/operations/auth_introspection_api_request.rbi +1 -1
  459. data/lib/authlete/models/operations/auth_introspection_api_response.rb +0 -1
  460. data/lib/authlete/models/operations/auth_introspection_api_response.rbi +1 -1
  461. data/lib/authlete/models/operations/auth_introspection_standard_api_request.rb +0 -1
  462. data/lib/authlete/models/operations/auth_introspection_standard_api_request.rbi +1 -1
  463. data/lib/authlete/models/operations/auth_introspection_standard_api_response.rb +0 -1
  464. data/lib/authlete/models/operations/auth_introspection_standard_api_response.rbi +1 -1
  465. data/lib/authlete/models/operations/auth_revocation_api_request.rb +0 -1
  466. data/lib/authlete/models/operations/auth_revocation_api_request.rbi +1 -1
  467. data/lib/authlete/models/operations/auth_revocation_api_response.rb +0 -1
  468. data/lib/authlete/models/operations/auth_revocation_api_response.rbi +1 -1
  469. data/lib/authlete/models/operations/auth_token_api_request.rb +0 -1
  470. data/lib/authlete/models/operations/auth_token_api_request.rbi +1 -1
  471. data/lib/authlete/models/operations/auth_token_api_response.rb +0 -1
  472. data/lib/authlete/models/operations/auth_token_api_response.rbi +1 -1
  473. data/lib/authlete/models/operations/auth_token_create_api_request.rb +0 -1
  474. data/lib/authlete/models/operations/auth_token_create_api_request.rbi +1 -1
  475. data/lib/authlete/models/operations/auth_token_create_api_response.rb +0 -1
  476. data/lib/authlete/models/operations/auth_token_create_api_response.rbi +1 -1
  477. data/lib/authlete/models/operations/auth_token_delete_api_request.rb +1 -2
  478. data/lib/authlete/models/operations/auth_token_delete_api_request.rbi +1 -1
  479. data/lib/authlete/models/operations/auth_token_delete_api_response.rb +0 -1
  480. data/lib/authlete/models/operations/auth_token_delete_api_response.rbi +1 -1
  481. data/lib/authlete/models/operations/auth_token_fail_api_request.rb +0 -1
  482. data/lib/authlete/models/operations/auth_token_fail_api_request.rbi +1 -1
  483. data/lib/authlete/models/operations/auth_token_fail_api_response.rb +0 -1
  484. data/lib/authlete/models/operations/auth_token_fail_api_response.rbi +1 -1
  485. data/lib/authlete/models/operations/auth_token_get_list_api_request.rb +3 -4
  486. data/lib/authlete/models/operations/auth_token_get_list_api_request.rbi +1 -1
  487. data/lib/authlete/models/operations/auth_token_get_list_api_response.rb +0 -1
  488. data/lib/authlete/models/operations/auth_token_get_list_api_response.rbi +1 -1
  489. data/lib/authlete/models/operations/auth_token_issue_api_request.rb +0 -1
  490. data/lib/authlete/models/operations/auth_token_issue_api_request.rbi +1 -1
  491. data/lib/authlete/models/operations/auth_token_issue_api_response.rb +0 -1
  492. data/lib/authlete/models/operations/auth_token_issue_api_response.rbi +1 -1
  493. data/lib/authlete/models/operations/auth_token_revoke_api_request.rb +0 -1
  494. data/lib/authlete/models/operations/auth_token_revoke_api_request.rbi +1 -1
  495. data/lib/authlete/models/operations/auth_token_revoke_api_response.rb +0 -1
  496. data/lib/authlete/models/operations/auth_token_revoke_api_response.rbi +1 -1
  497. data/lib/authlete/models/operations/auth_token_update_api_request.rb +0 -1
  498. data/lib/authlete/models/operations/auth_token_update_api_request.rbi +1 -1
  499. data/lib/authlete/models/operations/auth_token_update_api_response.rb +0 -1
  500. data/lib/authlete/models/operations/auth_token_update_api_response.rbi +1 -1
  501. data/lib/authlete/models/operations/auth_userinfo_api_request.rb +0 -1
  502. data/lib/authlete/models/operations/auth_userinfo_api_request.rbi +1 -1
  503. data/lib/authlete/models/operations/auth_userinfo_api_response.rb +0 -1
  504. data/lib/authlete/models/operations/auth_userinfo_api_response.rbi +1 -1
  505. data/lib/authlete/models/operations/auth_userinfo_issue_api_request.rb +0 -1
  506. data/lib/authlete/models/operations/auth_userinfo_issue_api_request.rbi +1 -1
  507. data/lib/authlete/models/operations/auth_userinfo_issue_api_response.rb +0 -1
  508. data/lib/authlete/models/operations/auth_userinfo_issue_api_response.rbi +1 -1
  509. data/lib/authlete/models/operations/authorization_ticket_info_post_api_request.rb +0 -1
  510. data/lib/authlete/models/operations/authorization_ticket_info_post_api_request.rbi +1 -1
  511. data/lib/authlete/models/operations/authorization_ticket_info_post_api_response.rb +0 -1
  512. data/lib/authlete/models/operations/authorization_ticket_info_post_api_response.rbi +1 -1
  513. data/lib/authlete/models/operations/backchannel_authentication_api_request.rb +0 -1
  514. data/lib/authlete/models/operations/backchannel_authentication_api_request.rbi +1 -1
  515. data/lib/authlete/models/operations/backchannel_authentication_api_response.rb +0 -1
  516. data/lib/authlete/models/operations/backchannel_authentication_api_response.rbi +1 -1
  517. data/lib/authlete/models/operations/backchannel_authentication_complete_api_request.rb +0 -1
  518. data/lib/authlete/models/operations/backchannel_authentication_complete_api_request.rbi +1 -1
  519. data/lib/authlete/models/operations/backchannel_authentication_complete_api_response.rb +0 -1
  520. data/lib/authlete/models/operations/backchannel_authentication_complete_api_response.rbi +1 -1
  521. data/lib/authlete/models/operations/backchannel_authentication_fail_api_request.rb +0 -1
  522. data/lib/authlete/models/operations/backchannel_authentication_fail_api_request.rbi +1 -1
  523. data/lib/authlete/models/operations/backchannel_authentication_fail_api_response.rb +0 -1
  524. data/lib/authlete/models/operations/backchannel_authentication_fail_api_response.rbi +1 -1
  525. data/lib/authlete/models/operations/backchannel_authentication_issue_api_request.rb +0 -1
  526. data/lib/authlete/models/operations/backchannel_authentication_issue_api_request.rbi +1 -1
  527. data/lib/authlete/models/operations/backchannel_authentication_issue_api_response.rb +0 -1
  528. data/lib/authlete/models/operations/backchannel_authentication_issue_api_response.rbi +1 -1
  529. data/lib/authlete/models/operations/client_authorization_delete_api_post_request.rb +41 -0
  530. data/lib/authlete/models/operations/client_authorization_delete_api_post_request.rbi +17 -0
  531. data/lib/authlete/models/operations/client_authorization_delete_api_post_requestbody.rb +32 -0
  532. data/lib/authlete/models/operations/client_authorization_delete_api_post_requestbody.rbi +13 -0
  533. data/lib/authlete/models/operations/client_authorization_delete_api_post_response.rb +44 -0
  534. data/lib/authlete/models/operations/client_authorization_delete_api_post_response.rbi +19 -0
  535. data/lib/authlete/models/operations/client_authorization_delete_api_request.rb +7 -13
  536. data/lib/authlete/models/operations/client_authorization_delete_api_request.rbi +3 -5
  537. data/lib/authlete/models/operations/client_authorization_delete_api_response.rb +0 -1
  538. data/lib/authlete/models/operations/client_authorization_delete_api_response.rbi +1 -1
  539. data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_request.rb +42 -0
  540. data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_request.rbi +17 -0
  541. data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_response.rb +44 -0
  542. data/lib/authlete/models/operations/client_authorization_delete_by_subject_api_response.rbi +19 -0
  543. data/lib/authlete/models/operations/client_authorization_get_list_api_post_request.rb +36 -0
  544. data/lib/authlete/models/operations/client_authorization_get_list_api_post_request.rbi +15 -0
  545. data/lib/authlete/models/operations/client_authorization_get_list_api_post_response.rb +44 -0
  546. data/lib/authlete/models/operations/client_authorization_get_list_api_post_response.rbi +19 -0
  547. data/lib/authlete/models/operations/client_authorization_get_list_api_request.rb +8 -14
  548. data/lib/authlete/models/operations/client_authorization_get_list_api_request.rbi +3 -5
  549. data/lib/authlete/models/operations/client_authorization_get_list_api_response.rb +0 -1
  550. data/lib/authlete/models/operations/client_authorization_get_list_api_response.rbi +1 -1
  551. data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_request.rb +51 -0
  552. data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_request.rbi +21 -0
  553. data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_response.rb +44 -0
  554. data/lib/authlete/models/operations/client_authorization_get_list_by_subject_api_response.rbi +19 -0
  555. data/lib/authlete/models/operations/client_authorization_update_api_request.rb +1 -2
  556. data/lib/authlete/models/operations/client_authorization_update_api_request.rbi +1 -1
  557. data/lib/authlete/models/operations/client_authorization_update_api_response.rb +0 -1
  558. data/lib/authlete/models/operations/client_authorization_update_api_response.rbi +1 -1
  559. data/lib/authlete/models/operations/client_create_api_request.rb +0 -1
  560. data/lib/authlete/models/operations/client_create_api_request.rbi +1 -1
  561. data/lib/authlete/models/operations/client_create_api_response.rb +1 -2
  562. data/lib/authlete/models/operations/client_create_api_response.rbi +1 -1
  563. data/lib/authlete/models/operations/client_delete_api_request.rb +0 -1
  564. data/lib/authlete/models/operations/client_delete_api_request.rbi +1 -1
  565. data/lib/authlete/models/operations/client_delete_api_response.rb +0 -1
  566. data/lib/authlete/models/operations/client_delete_api_response.rbi +1 -1
  567. data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_request.rb +1 -2
  568. data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_request.rbi +1 -1
  569. data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_response.rb +0 -1
  570. data/lib/authlete/models/operations/client_extension_requestables_scopes_delete_api_response.rbi +1 -1
  571. data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_request.rb +1 -2
  572. data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_request.rbi +1 -1
  573. data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_response.rb +0 -1
  574. data/lib/authlete/models/operations/client_extension_requestables_scopes_get_api_response.rbi +1 -1
  575. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_request.rb +41 -0
  576. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_request.rbi +17 -0
  577. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_response.rb +44 -0
  578. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_post_response.rbi +19 -0
  579. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_request.rb +1 -2
  580. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_request.rbi +1 -1
  581. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_response.rb +0 -1
  582. data/lib/authlete/models/operations/client_extension_requestables_scopes_update_api_response.rbi +1 -1
  583. data/lib/authlete/models/operations/client_flag_update_api_request.rb +0 -1
  584. data/lib/authlete/models/operations/client_flag_update_api_request.rbi +1 -1
  585. data/lib/authlete/models/operations/client_flag_update_api_response.rb +0 -1
  586. data/lib/authlete/models/operations/client_flag_update_api_response.rbi +1 -1
  587. data/lib/authlete/models/operations/client_get_api_request.rb +0 -1
  588. data/lib/authlete/models/operations/client_get_api_request.rbi +1 -1
  589. data/lib/authlete/models/operations/client_get_api_response.rb +0 -1
  590. data/lib/authlete/models/operations/client_get_api_response.rbi +1 -1
  591. data/lib/authlete/models/operations/client_get_list_api_request.rb +1 -2
  592. data/lib/authlete/models/operations/client_get_list_api_request.rbi +1 -1
  593. data/lib/authlete/models/operations/client_get_list_api_response.rb +0 -1
  594. data/lib/authlete/models/operations/client_get_list_api_response.rbi +1 -1
  595. data/lib/authlete/models/operations/client_granted_scopes_delete_api_request.rb +7 -13
  596. data/lib/authlete/models/operations/client_granted_scopes_delete_api_request.rbi +3 -5
  597. data/lib/authlete/models/operations/client_granted_scopes_delete_api_response.rb +0 -1
  598. data/lib/authlete/models/operations/client_granted_scopes_delete_api_response.rbi +1 -1
  599. data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_request.rb +42 -0
  600. data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_request.rbi +17 -0
  601. data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_response.rb +44 -0
  602. data/lib/authlete/models/operations/client_granted_scopes_delete_by_subject_api_response.rbi +19 -0
  603. data/lib/authlete/models/operations/client_granted_scopes_get_api_post_request.rb +41 -0
  604. data/lib/authlete/models/operations/client_granted_scopes_get_api_post_request.rbi +17 -0
  605. data/lib/authlete/models/operations/client_granted_scopes_get_api_post_requestbody.rb +32 -0
  606. data/lib/authlete/models/operations/client_granted_scopes_get_api_post_requestbody.rbi +13 -0
  607. data/lib/authlete/models/operations/client_granted_scopes_get_api_post_response.rb +44 -0
  608. data/lib/authlete/models/operations/client_granted_scopes_get_api_post_response.rbi +19 -0
  609. data/lib/authlete/models/operations/client_granted_scopes_get_api_request.rb +7 -13
  610. data/lib/authlete/models/operations/client_granted_scopes_get_api_request.rbi +3 -5
  611. data/lib/authlete/models/operations/client_granted_scopes_get_api_response.rb +0 -1
  612. data/lib/authlete/models/operations/client_granted_scopes_get_api_response.rbi +1 -1
  613. data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_request.rb +42 -0
  614. data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_request.rbi +17 -0
  615. data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_response.rb +44 -0
  616. data/lib/authlete/models/operations/client_granted_scopes_get_by_subject_api_response.rbi +19 -0
  617. data/lib/authlete/models/operations/client_registration_api_request.rb +0 -1
  618. data/lib/authlete/models/operations/client_registration_api_request.rbi +1 -1
  619. data/lib/authlete/models/operations/client_registration_api_requestbody.rb +3 -4
  620. data/lib/authlete/models/operations/client_registration_api_requestbody.rbi +1 -1
  621. data/lib/authlete/models/operations/client_registration_api_response.rb +0 -1
  622. data/lib/authlete/models/operations/client_registration_api_response.rbi +1 -1
  623. data/lib/authlete/models/operations/client_registration_delete_api_request.rb +0 -1
  624. data/lib/authlete/models/operations/client_registration_delete_api_request.rbi +1 -1
  625. data/lib/authlete/models/operations/client_registration_delete_api_requestbody.rb +3 -4
  626. data/lib/authlete/models/operations/client_registration_delete_api_requestbody.rbi +1 -1
  627. data/lib/authlete/models/operations/client_registration_delete_api_response.rb +0 -1
  628. data/lib/authlete/models/operations/client_registration_delete_api_response.rbi +1 -1
  629. data/lib/authlete/models/operations/client_registration_get_api_request.rb +0 -1
  630. data/lib/authlete/models/operations/client_registration_get_api_request.rbi +1 -1
  631. data/lib/authlete/models/operations/client_registration_get_api_requestbody.rb +3 -4
  632. data/lib/authlete/models/operations/client_registration_get_api_requestbody.rbi +1 -1
  633. data/lib/authlete/models/operations/client_registration_get_api_response.rb +0 -1
  634. data/lib/authlete/models/operations/client_registration_get_api_response.rbi +1 -1
  635. data/lib/authlete/models/operations/client_registration_update_api_request.rb +0 -1
  636. data/lib/authlete/models/operations/client_registration_update_api_request.rbi +1 -1
  637. data/lib/authlete/models/operations/client_registration_update_api_requestbody.rb +3 -4
  638. data/lib/authlete/models/operations/client_registration_update_api_requestbody.rbi +1 -1
  639. data/lib/authlete/models/operations/client_registration_update_api_response.rb +0 -1
  640. data/lib/authlete/models/operations/client_registration_update_api_response.rbi +1 -1
  641. data/lib/authlete/models/operations/client_secret_refresh_api_request.rb +1 -2
  642. data/lib/authlete/models/operations/client_secret_refresh_api_request.rbi +1 -1
  643. data/lib/authlete/models/operations/client_secret_refresh_api_response.rb +0 -1
  644. data/lib/authlete/models/operations/client_secret_refresh_api_response.rbi +1 -1
  645. data/lib/authlete/models/operations/client_secret_update_api_request.rb +1 -2
  646. data/lib/authlete/models/operations/client_secret_update_api_request.rbi +1 -1
  647. data/lib/authlete/models/operations/client_secret_update_api_response.rb +0 -1
  648. data/lib/authlete/models/operations/client_secret_update_api_response.rbi +1 -1
  649. data/lib/authlete/models/operations/client_update_api_form_request.rb +0 -1
  650. data/lib/authlete/models/operations/client_update_api_form_request.rbi +1 -1
  651. data/lib/authlete/models/operations/client_update_api_form_response.rb +0 -1
  652. data/lib/authlete/models/operations/client_update_api_form_response.rbi +1 -1
  653. data/lib/authlete/models/operations/client_update_api_request.rb +0 -1
  654. data/lib/authlete/models/operations/client_update_api_request.rbi +1 -1
  655. data/lib/authlete/models/operations/client_update_api_response.rb +0 -1
  656. data/lib/authlete/models/operations/client_update_api_response.rbi +1 -1
  657. data/lib/authlete/models/operations/device_authorization_api_request.rb +0 -1
  658. data/lib/authlete/models/operations/device_authorization_api_request.rbi +1 -1
  659. data/lib/authlete/models/operations/device_authorization_api_response.rb +0 -1
  660. data/lib/authlete/models/operations/device_authorization_api_response.rbi +1 -1
  661. data/lib/authlete/models/operations/device_complete_api_request.rb +0 -1
  662. data/lib/authlete/models/operations/device_complete_api_request.rbi +1 -1
  663. data/lib/authlete/models/operations/device_complete_api_response.rb +0 -1
  664. data/lib/authlete/models/operations/device_complete_api_response.rbi +1 -1
  665. data/lib/authlete/models/operations/device_verification_api_request.rb +0 -1
  666. data/lib/authlete/models/operations/device_verification_api_request.rbi +1 -1
  667. data/lib/authlete/models/operations/device_verification_api_response.rb +0 -1
  668. data/lib/authlete/models/operations/device_verification_api_response.rbi +1 -1
  669. data/lib/authlete/models/operations/federation_configuration_api_request.rb +0 -1
  670. data/lib/authlete/models/operations/federation_configuration_api_request.rbi +1 -1
  671. data/lib/authlete/models/operations/federation_configuration_api_requestbody.rb +0 -1
  672. data/lib/authlete/models/operations/federation_configuration_api_requestbody.rbi +1 -1
  673. data/lib/authlete/models/operations/federation_configuration_api_response.rb +0 -1
  674. data/lib/authlete/models/operations/federation_configuration_api_response.rbi +1 -1
  675. data/lib/authlete/models/operations/federation_registration_api_request.rb +0 -1
  676. data/lib/authlete/models/operations/federation_registration_api_request.rbi +1 -1
  677. data/lib/authlete/models/operations/federation_registration_api_response.rb +0 -1
  678. data/lib/authlete/models/operations/federation_registration_api_response.rbi +1 -1
  679. data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_request.rb +33 -0
  680. data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_request.rbi +13 -0
  681. data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_response.rb +44 -0
  682. data/lib/authlete/models/operations/get_api_lifecycle_healthcheck_response.rbi +19 -0
  683. data/lib/authlete/models/operations/grant_m_api_request.rb +0 -1
  684. data/lib/authlete/models/operations/grant_m_api_request.rbi +1 -1
  685. data/lib/authlete/models/operations/grant_m_api_response.rb +0 -1
  686. data/lib/authlete/models/operations/grant_m_api_response.rbi +1 -1
  687. data/lib/authlete/models/operations/hsk_create_api_request.rb +0 -1
  688. data/lib/authlete/models/operations/hsk_create_api_request.rbi +1 -1
  689. data/lib/authlete/models/operations/hsk_create_api_response.rb +0 -1
  690. data/lib/authlete/models/operations/hsk_create_api_response.rbi +1 -1
  691. data/lib/authlete/models/operations/hsk_delete_api_request.rb +0 -1
  692. data/lib/authlete/models/operations/hsk_delete_api_request.rbi +1 -1
  693. data/lib/authlete/models/operations/hsk_delete_api_response.rb +0 -1
  694. data/lib/authlete/models/operations/hsk_delete_api_response.rbi +1 -1
  695. data/lib/authlete/models/operations/hsk_get_api_request.rb +0 -1
  696. data/lib/authlete/models/operations/hsk_get_api_request.rbi +1 -1
  697. data/lib/authlete/models/operations/hsk_get_api_response.rb +0 -1
  698. data/lib/authlete/models/operations/hsk_get_api_response.rbi +1 -1
  699. data/lib/authlete/models/operations/hsk_get_list_api_request.rb +0 -1
  700. data/lib/authlete/models/operations/hsk_get_list_api_request.rbi +1 -1
  701. data/lib/authlete/models/operations/hsk_get_list_api_response.rb +0 -1
  702. data/lib/authlete/models/operations/hsk_get_list_api_response.rbi +1 -1
  703. data/lib/authlete/models/operations/idtoken_reissue_api_request.rb +0 -1
  704. data/lib/authlete/models/operations/idtoken_reissue_api_request.rbi +1 -1
  705. data/lib/authlete/models/operations/idtoken_reissue_api_response.rb +0 -1
  706. data/lib/authlete/models/operations/idtoken_reissue_api_response.rbi +1 -1
  707. data/lib/authlete/models/operations/jose_verify_api_request.rb +0 -1
  708. data/lib/authlete/models/operations/jose_verify_api_request.rbi +1 -1
  709. data/lib/authlete/models/operations/jose_verify_api_response.rb +0 -1
  710. data/lib/authlete/models/operations/jose_verify_api_response.rbi +1 -1
  711. data/lib/authlete/models/operations/native_sso_api_request.rb +0 -1
  712. data/lib/authlete/models/operations/native_sso_api_request.rbi +1 -1
  713. data/lib/authlete/models/operations/native_sso_api_response.rb +0 -1
  714. data/lib/authlete/models/operations/native_sso_api_response.rbi +1 -1
  715. data/lib/authlete/models/operations/native_sso_logout_api_request.rb +0 -1
  716. data/lib/authlete/models/operations/native_sso_logout_api_request.rbi +1 -1
  717. data/lib/authlete/models/operations/native_sso_logout_api_response.rb +0 -1
  718. data/lib/authlete/models/operations/native_sso_logout_api_response.rbi +1 -1
  719. data/lib/authlete/models/operations/pushed_auth_req_api_request.rb +0 -1
  720. data/lib/authlete/models/operations/pushed_auth_req_api_request.rbi +1 -1
  721. data/lib/authlete/models/operations/pushed_auth_req_api_response.rb +0 -1
  722. data/lib/authlete/models/operations/pushed_auth_req_api_response.rbi +1 -1
  723. data/lib/authlete/models/operations/service_configuration_api_request.rb +0 -1
  724. data/lib/authlete/models/operations/service_configuration_api_request.rbi +1 -1
  725. data/lib/authlete/models/operations/service_configuration_api_response.rb +0 -1
  726. data/lib/authlete/models/operations/service_configuration_api_response.rbi +1 -1
  727. data/lib/authlete/models/operations/service_create_api_response.rb +1 -2
  728. data/lib/authlete/models/operations/service_create_api_response.rbi +1 -1
  729. data/lib/authlete/models/operations/service_delete_api_request.rb +0 -1
  730. data/lib/authlete/models/operations/service_delete_api_request.rbi +1 -1
  731. data/lib/authlete/models/operations/service_delete_api_response.rb +0 -1
  732. data/lib/authlete/models/operations/service_delete_api_response.rbi +1 -1
  733. data/lib/authlete/models/operations/service_get_api_request.rb +0 -1
  734. data/lib/authlete/models/operations/service_get_api_request.rbi +1 -1
  735. data/lib/authlete/models/operations/service_get_api_response.rb +0 -1
  736. data/lib/authlete/models/operations/service_get_api_response.rbi +1 -1
  737. data/lib/authlete/models/operations/service_get_list_api_request.rb +0 -1
  738. data/lib/authlete/models/operations/service_get_list_api_request.rbi +1 -1
  739. data/lib/authlete/models/operations/service_get_list_api_response.rb +0 -1
  740. data/lib/authlete/models/operations/service_get_list_api_response.rbi +1 -1
  741. data/lib/authlete/models/operations/service_jwks_get_api_request.rb +0 -1
  742. data/lib/authlete/models/operations/service_jwks_get_api_request.rbi +1 -1
  743. data/lib/authlete/models/operations/service_jwks_get_api_response.rb +0 -1
  744. data/lib/authlete/models/operations/service_jwks_get_api_response.rbi +1 -1
  745. data/lib/authlete/models/operations/service_update_api_request.rb +0 -1
  746. data/lib/authlete/models/operations/service_update_api_request.rbi +1 -1
  747. data/lib/authlete/models/operations/service_update_api_response.rb +0 -1
  748. data/lib/authlete/models/operations/service_update_api_response.rbi +1 -1
  749. data/lib/authlete/models/operations/updateauthorizationticket_request.rb +0 -1
  750. data/lib/authlete/models/operations/updateauthorizationticket_request.rbi +1 -1
  751. data/lib/authlete/models/operations/updateauthorizationticket_response.rb +0 -1
  752. data/lib/authlete/models/operations/updateauthorizationticket_response.rbi +1 -1
  753. data/lib/authlete/models/operations/vci_batch_issue_api_request.rb +0 -1
  754. data/lib/authlete/models/operations/vci_batch_issue_api_request.rbi +1 -1
  755. data/lib/authlete/models/operations/vci_batch_issue_api_response.rb +0 -1
  756. data/lib/authlete/models/operations/vci_batch_issue_api_response.rbi +1 -1
  757. data/lib/authlete/models/operations/vci_batch_parse_api_request.rb +0 -1
  758. data/lib/authlete/models/operations/vci_batch_parse_api_request.rbi +1 -1
  759. data/lib/authlete/models/operations/vci_batch_parse_api_response.rb +0 -1
  760. data/lib/authlete/models/operations/vci_batch_parse_api_response.rbi +1 -1
  761. data/lib/authlete/models/operations/vci_deferred_issue_api_request.rb +0 -1
  762. data/lib/authlete/models/operations/vci_deferred_issue_api_request.rbi +1 -1
  763. data/lib/authlete/models/operations/vci_deferred_issue_api_response.rb +0 -1
  764. data/lib/authlete/models/operations/vci_deferred_issue_api_response.rbi +1 -1
  765. data/lib/authlete/models/operations/vci_deferred_parse_api_request.rb +0 -1
  766. data/lib/authlete/models/operations/vci_deferred_parse_api_request.rbi +1 -1
  767. data/lib/authlete/models/operations/vci_deferred_parse_api_response.rb +0 -1
  768. data/lib/authlete/models/operations/vci_deferred_parse_api_response.rbi +1 -1
  769. data/lib/authlete/models/operations/vci_jwks_api_request.rb +0 -1
  770. data/lib/authlete/models/operations/vci_jwks_api_request.rbi +1 -1
  771. data/lib/authlete/models/operations/vci_jwks_api_response.rb +0 -1
  772. data/lib/authlete/models/operations/vci_jwks_api_response.rbi +1 -1
  773. data/lib/authlete/models/operations/vci_jwtissuer_api_request.rb +0 -1
  774. data/lib/authlete/models/operations/vci_jwtissuer_api_request.rbi +1 -1
  775. data/lib/authlete/models/operations/vci_jwtissuer_api_response.rb +0 -1
  776. data/lib/authlete/models/operations/vci_jwtissuer_api_response.rbi +1 -1
  777. data/lib/authlete/models/operations/vci_metadata_api_request.rb +0 -1
  778. data/lib/authlete/models/operations/vci_metadata_api_request.rbi +1 -1
  779. data/lib/authlete/models/operations/vci_metadata_api_response.rb +0 -1
  780. data/lib/authlete/models/operations/vci_metadata_api_response.rbi +1 -1
  781. data/lib/authlete/models/operations/vci_offer_create_api_request.rb +0 -1
  782. data/lib/authlete/models/operations/vci_offer_create_api_request.rbi +1 -1
  783. data/lib/authlete/models/operations/vci_offer_create_api_response.rb +0 -1
  784. data/lib/authlete/models/operations/vci_offer_create_api_response.rbi +1 -1
  785. data/lib/authlete/models/operations/vci_offer_info_api_request.rb +0 -1
  786. data/lib/authlete/models/operations/vci_offer_info_api_request.rbi +1 -1
  787. data/lib/authlete/models/operations/vci_offer_info_api_response.rb +0 -1
  788. data/lib/authlete/models/operations/vci_offer_info_api_response.rbi +1 -1
  789. data/lib/authlete/models/operations/vci_single_issue_api_request.rb +0 -1
  790. data/lib/authlete/models/operations/vci_single_issue_api_request.rbi +1 -1
  791. data/lib/authlete/models/operations/vci_single_issue_api_response.rb +0 -1
  792. data/lib/authlete/models/operations/vci_single_issue_api_response.rbi +1 -1
  793. data/lib/authlete/models/operations/vci_single_parse_api_request.rb +0 -1
  794. data/lib/authlete/models/operations/vci_single_parse_api_request.rbi +1 -1
  795. data/lib/authlete/models/operations/vci_single_parse_api_response.rb +0 -1
  796. data/lib/authlete/models/operations/vci_single_parse_api_response.rbi +1 -1
  797. data/lib/authlete/models/operations.rb +20 -0
  798. data/lib/authlete/native_sso.rb +17 -69
  799. data/lib/authlete/pushed_authorization.rb +10 -5
  800. data/lib/authlete/revocation.rb +10 -98
  801. data/lib/authlete/sdkconfiguration.rb +3 -3
  802. data/lib/authlete/services.rb +48 -28
  803. data/lib/authlete/token_management.rb +44 -24
  804. data/lib/authlete/tokens.rb +24 -454
  805. data/lib/authlete/userinfo.rb +17 -224
  806. data/lib/authlete/utils/request_bodies.rb +8 -3
  807. data/lib/authlete/utils/security.rb +10 -0
  808. data/lib/authlete/utils/url.rb +11 -5
  809. data/lib/authlete/utils/utils.rb +45 -3
  810. data/lib/authlete/verifiable_credentials.rb +69 -34
  811. data/lib/authlete_ruby_sdk.rb +1 -0
  812. data/lib/crystalline/enum.rbi +17 -0
  813. data/lib/crystalline/metadata_fields.rb +85 -22
  814. data/lib/crystalline/module.rb +99 -13
  815. data/lib/crystalline/types.rb +90 -3
  816. metadata +66 -6
  817. data/lib/authlete/models/components/clientsource.rbi +0 -11
@@ -7,7 +7,6 @@
7
7
  module Authlete
8
8
  module Models
9
9
  module Components
10
-
11
10
 
12
11
  class TokenResponse
13
12
  extend T::Sig
@@ -18,35 +17,35 @@ module Authlete
18
17
  # A short message which explains the result of the API call.
19
18
  field :result_message, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resultMessage') } }
20
19
  # The next action that the authorization server implementation should take.
21
- field :action, Crystalline::Nilable.new(Models::Components::TokenResponseAction), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('action'), 'decoder': Utils.enum_from_string(Models::Components::TokenResponseAction, true) } }
20
+ field :action, Crystalline::Nilable.new(Models::Components::TokenResponseAction), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('action'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::TokenResponseAction, true) } }
22
21
  # The content that the authorization server implementation is to return to the client application.
23
22
  # Its format varies depending on the value of `action` parameter.
24
- #
23
+ #
25
24
  field :response_content, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('responseContent') } }
26
25
  # The value of `username` request parameter in the token request.
27
26
  # The client application must specify username when it uses [Resource Owner Password Grant](https://datatracker.ietf.org/doc/html/rfc6749#section-4.3).
28
27
  # In other words, when the value of `grant_type` request parameter is `password`, `username` request parameter must come along.
29
- #
28
+ #
30
29
  # This parameter has a value only if the value of `grant_type` request parameter is `password` and the token request is valid.
31
- #
30
+ #
32
31
  field :username, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('username') } }
33
32
  # The value of `password` request parameter in the token request.
34
33
  # The client application must specify password when it uses [Resource Owner Password Grant](https://datatracker.ietf.org/doc/html/rfc6749#section-4.3).
35
34
  # In other words, when the value of `grant_type` request parameter is `password`, `password` request parameter must come along.
36
- #
35
+ #
37
36
  # This parameter has a value only if the value of `grant_type` request parameter is `password` and the token request is valid.
38
- #
37
+ #
39
38
  field :password, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('password') } }
40
39
  # The ticket which is necessary to call Authlete's `/auth/token/fail` API or `/auth/token/issue` API.
41
- #
40
+ #
42
41
  # This parameter has a value only if the value of `grant_type` request parameter is `password` and the token request is valid.
43
- #
42
+ #
44
43
  field :ticket, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('ticket') } }
45
44
  # The newly issued access token.
46
45
  field :access_token, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessToken') } }
47
46
  # The datetime at which the newly issued access token will expire.
48
47
  # The value is represented in milliseconds since the Unix epoch (1970-01-01).
49
- #
48
+ #
50
49
  field :access_token_expires_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenExpiresAt') } }
51
50
  # The duration of the newly issued access token in seconds.
52
51
  field :access_token_duration, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenDuration') } }
@@ -54,13 +53,13 @@ module Authlete
54
53
  field :refresh_token, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('refreshToken') } }
55
54
  # The datetime at which the newly issued refresh token will expire.
56
55
  # The value is represented in milliseconds since the Unix epoch (1970-01-01).
57
- #
56
+ #
58
57
  field :refresh_token_expires_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('refreshTokenExpiresAt') } }
59
58
  # The duration of the newly issued refresh token in seconds.
60
59
  field :refresh_token_duration, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('refreshTokenDuration') } }
61
60
  # The newly issued ID token. Note that an ID token is issued from a token endpoint only when the `response_type` request parameter
62
61
  # of the authorization request to an authorization endpoint has contained `code` and the `scope` request parameter has contained `openid`.
63
- #
62
+ #
64
63
  field :id_token, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('idToken') } }
65
64
  # The grant type of the token request.
66
65
  field :grant_type, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('grantType') } }
@@ -68,154 +67,145 @@ module Authlete
68
67
  field :client_id, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientId') } }
69
68
  # The client ID alias when the token request was made. If the client did not have an alias, this parameter is `null`.
70
69
  # Also, if the token request was invalid and it failed to identify a client, this parameter is `null`.
71
- #
70
+ #
72
71
  field :client_id_alias, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientIdAlias') } }
73
72
  # The flag which indicates whether the client ID alias was used when the token request was made.
74
73
  # `true` if the client ID alias was used when the token request was made.
75
- #
74
+ #
76
75
  field :client_id_alias_used, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientIdAliasUsed') } }
77
76
  # The subject (= resource owner's ID) of the access token.
78
77
  # Even if an access token has been issued by the call of `/api/auth/token` API, this parameter is `null` if the flow of the token request was
79
78
  # [Client Credentials Flow](https://datatracker.ietf.org/doc/html/rfc6749#section-4.4) (`grant_type=client_credentials`) because it means the access token
80
79
  # is not associated with any specific end-user.
81
- #
80
+ #
82
81
  field :subject, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('subject') } }
83
82
  # The scopes covered by the access token.
84
83
  field :scopes, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('scopes') } }
85
84
  # The extra properties associated with the access token.
86
85
  # This parameter is `null` when no extra property is associated with the issued access token.
87
- #
86
+ #
88
87
  field :properties, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Property)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('properties') } }
89
88
  # The newly issued access token in JWT format. If the authorization server is configured
90
89
  # to issue JWT-based access tokens (= if the service's `accessTokenSignAlg` value is a
91
90
  # non-null value), a JWT-based access token is issued along with the original random-string
92
91
  # one.
93
- #
92
+ #
94
93
  field :jwt_access_token, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('jwtAccessToken') } }
95
94
  # The resources specified by the `resource` request parameters in the token request.
96
95
  # See "Resource Indicators for OAuth 2.0" for details.
97
- #
96
+ #
98
97
  field :resources, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resources') } }
99
98
  # The target resources of the access token being issued. See "Resource Indicators for OAuth 2.0" for details.
100
- #
99
+ #
101
100
  field :access_token_resources, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenResources') } }
102
101
  # The authorization details. This represents the value of the `authorization_details`
103
102
  # request parameter in the preceding device authorization request which is defined in
104
103
  # "OAuth 2.0 Rich Authorization Requests".
105
- #
104
+ #
106
105
  field :authorization_details, Crystalline::Nilable.new(Models::Components::AuthzDetails), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('authorizationDetails') } }
106
+ # Additional claims to be embedded in an ID token.
107
+ #
108
+ field :additional_claims, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('additionalClaims') } }
107
109
  # The attributes of this service that the client application belongs to.
108
- #
110
+ #
109
111
  field :service_attributes, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Pair)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('serviceAttributes') } }
110
112
  # The attributes of the client.
111
- #
113
+ #
112
114
  field :client_attributes, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Pair)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientAttributes') } }
113
115
  # The client authentication method that was performed at the token endpoint.
114
- #
116
+ #
115
117
  field :client_auth_method, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientAuthMethod') } }
116
118
  # the value of the `grant_id` request parameter of the device authorization request.
117
- #
119
+ #
118
120
  # The `grant_id` request parameter is defined in
119
121
  # [Grant Management for OAuth 2.0](https://openid.net/specs/fapi-grant-management.html)
120
122
  # , which is supported by Authlete 2.3 and newer versions.
121
- #
123
+ #
122
124
  field :grant_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('grantId') } }
123
125
  # The audiences on the token exchange request
124
- #
126
+ #
125
127
  field :audiences, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('audiences') } }
126
128
  # The token type identifier used in OAuth 2.0 Token Exchange (RFC 8693).
127
129
  # The API returns short codes (enum constant names) in response fields.
128
- #
129
- field :requested_token_type, Crystalline::Nilable.new(Models::Components::TokenType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('requestedTokenType'), 'decoder': Utils.enum_from_string(Models::Components::TokenType, true) } }
130
+ #
131
+ field :requested_token_type, Crystalline::Nilable.new(Models::Components::TokenType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('requestedTokenType'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::TokenType, true) } }
130
132
 
131
133
  field :subject_token, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('subjectToken') } }
132
134
  # The token type identifier used in OAuth 2.0 Token Exchange (RFC 8693).
133
135
  # The API returns short codes (enum constant names) in response fields.
134
- #
135
- field :subject_token_type, Crystalline::Nilable.new(Models::Components::TokenType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('subjectTokenType'), 'decoder': Utils.enum_from_string(Models::Components::TokenType, true) } }
136
+ #
137
+ field :subject_token_type, Crystalline::Nilable.new(Models::Components::TokenType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('subjectTokenType'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::TokenType, true) } }
136
138
 
137
139
  field :subject_token_info, Crystalline::Nilable.new(Models::Components::TokenInfo), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('subjectTokenInfo') } }
138
140
 
139
141
  field :actor_token, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('actorToken') } }
140
142
  # The token type identifier used in OAuth 2.0 Token Exchange (RFC 8693).
141
143
  # The API returns short codes (enum constant names) in response fields.
142
- #
143
- field :actor_token_type, Crystalline::Nilable.new(Models::Components::TokenType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('actorTokenType'), 'decoder': Utils.enum_from_string(Models::Components::TokenType, true) } }
144
+ #
145
+ field :actor_token_type, Crystalline::Nilable.new(Models::Components::TokenType), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('actorTokenType'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::TokenType, true) } }
144
146
 
145
147
  field :actor_token_info, Crystalline::Nilable.new(Models::Components::TokenInfo), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('actorTokenInfo') } }
146
148
  # For RFC 7523 JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants
147
- #
149
+ #
148
150
  field :assertion, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('assertion') } }
149
151
  # Indicate whether the previous refresh token that had been kept in the database for a short time was used
150
- #
152
+ #
151
153
  field :previous_refresh_token_used, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('previousRefreshTokenUsed') } }
152
154
  # The entity ID of the client.
153
- #
155
+ #
154
156
  field :client_entity_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientEntityId') } }
155
157
  # Flag which indicates whether the entity ID of the client was used when the request for the access token was made.
156
- #
158
+ #
157
159
  field :client_entity_id_used, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientEntityIdUsed') } }
158
160
  # Duration of the `c_nonce` in seconds.
159
- #
161
+ #
160
162
  field :cnonce_duration, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('cnonceDuration') } }
161
163
  # Get the expected nonce value for DPoP proof JWT, which should be used
162
164
  # as the value of the `DPoP-Nonce` HTTP header.
163
- #
165
+ #
164
166
  field :dpop_nonce, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('dpopNonce') } }
165
167
  # Get the `c_nonce`.
166
- #
168
+ #
167
169
  field :cnonce, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('cnonce') } }
168
170
  # Get the time at which the `c_nonce` expires in milliseconds since
169
171
  # the Unix epoch (1970-01-01).
170
- #
172
+ #
171
173
  field :cnonce_expires_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('cnonceExpiresAt') } }
172
174
  # Get the names of the claims that the authorization request (which resulted
173
175
  # in generation of the access token) requested to be embedded in ID tokens.
174
- #
176
+ #
175
177
  field :requested_id_token_claims, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('requestedIdTokenClaims') } }
176
178
  # Scopes associated with the refresh token.
177
- #
179
+ #
178
180
  field :refresh_token_scopes, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('refreshTokenScopes') } }
179
181
  # The session ID, which is the ID of the user's authentication session, associated with a newly
180
182
  # created access token.
181
- #
183
+ #
182
184
  field :session_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('sessionId') } }
183
185
  # If the response from the `/auth/token` API contains the `deviceSecret` parameter, its value should
184
186
  # be used as the value of this `deviceSecret` request parameter to the `/nativesso` API. The authorization
185
187
  # server may choose to issue a new device secret; in that case, it is free to generate a new device
186
188
  # secret and specify the new value.
187
- #
188
- # If the response from the `/auth/token` API does not contain the `deviceSecret` parameter, or
189
- # if its value is invalid, the authorization server must generate a new device secret and specify
190
- # it in the deviceSecret parameter to the `/nativesso` API.
191
- #
192
- # The specified value is used as the value of the `device_secret` property in the token response.
193
- #
189
+ #
194
190
  field :device_secret, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('deviceSecret') } }
195
191
  # The authorization server should compute the hash value of the device secret based on its own logic
196
192
  # and specify the computed hash as the value of this `deviceSecretHash` request parameter to the
197
193
  # `/nativesso` API.
198
- #
199
- # When the `deviceSecretHash` parameter is omitted, the implementation of the `/nativesso` API
200
- # generates the device secret hash by computing the SHA-256 hash of the device secret and encoding
201
- # it with base64url. Note that this hash computation logic is not a rule defined in the Native SSO
202
- # specification; rather, it is Authlete-specific fallback logic used when the `deviceSecretHash`
203
- # parameter is omitted.
204
- #
194
+ #
205
195
  field :device_secret_hash, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('deviceSecretHash') } }
206
196
  # The location of the client's metadata document that was used to resolve client metadata.
207
- #
197
+ #
208
198
  # This property is set when client metadata was retrieved via the [OAuth Client ID Metadata Document](https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/) (CIMD) mechanism.
209
- #
199
+ #
210
200
  field :metadata_document_location, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('metadataDocumentLocation') } }
211
201
  # Flag indicating whether a metadata document was used to resolve client metadata for this request.
212
- #
202
+ #
213
203
  # When `true`, the client metadata was retrieved via the CIMD mechanism rather than from the Authlete database.
214
- #
204
+ #
215
205
  field :metadata_document_used, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('metadataDocumentUsed') } }
216
206
 
217
- sig { params(result_code: T.nilable(::String), result_message: T.nilable(::String), action: T.nilable(Models::Components::TokenResponseAction), response_content: T.nilable(::String), username: T.nilable(::String), password: T.nilable(::String), ticket: T.nilable(::String), access_token: T.nilable(::String), access_token_expires_at: T.nilable(::Integer), access_token_duration: T.nilable(::Integer), refresh_token: T.nilable(::String), refresh_token_expires_at: T.nilable(::Integer), refresh_token_duration: T.nilable(::Integer), id_token: T.nilable(::String), grant_type: T.nilable(::String), client_id: T.nilable(::Integer), client_id_alias: T.nilable(::String), client_id_alias_used: T.nilable(T::Boolean), subject: T.nilable(::String), scopes: T.nilable(T::Array[::String]), properties: T.nilable(T::Array[Models::Components::Property]), jwt_access_token: T.nilable(::String), resources: T.nilable(T::Array[::String]), access_token_resources: T.nilable(T::Array[::String]), authorization_details: T.nilable(Models::Components::AuthzDetails), service_attributes: T.nilable(T::Array[Models::Components::Pair]), client_attributes: T.nilable(T::Array[Models::Components::Pair]), client_auth_method: T.nilable(::String), grant_id: T.nilable(::String), audiences: T.nilable(T::Array[::String]), requested_token_type: T.nilable(Models::Components::TokenType), subject_token: T.nilable(::String), subject_token_type: T.nilable(Models::Components::TokenType), subject_token_info: T.nilable(Models::Components::TokenInfo), actor_token: T.nilable(::String), actor_token_type: T.nilable(Models::Components::TokenType), actor_token_info: T.nilable(Models::Components::TokenInfo), assertion: T.nilable(::String), previous_refresh_token_used: T.nilable(T::Boolean), client_entity_id: T.nilable(::String), client_entity_id_used: T.nilable(T::Boolean), cnonce_duration: T.nilable(::Integer), dpop_nonce: T.nilable(::String), cnonce: T.nilable(::String), cnonce_expires_at: T.nilable(::Integer), requested_id_token_claims: T.nilable(T::Array[::String]), refresh_token_scopes: T.nilable(T::Array[::String]), session_id: T.nilable(::String), device_secret: T.nilable(::String), device_secret_hash: T.nilable(::String), metadata_document_location: T.nilable(::String), metadata_document_used: T.nilable(T::Boolean)).void }
218
- def initialize(result_code: nil, result_message: nil, action: nil, response_content: nil, username: nil, password: nil, ticket: nil, access_token: nil, access_token_expires_at: nil, access_token_duration: nil, refresh_token: nil, refresh_token_expires_at: nil, refresh_token_duration: nil, id_token: nil, grant_type: nil, client_id: nil, client_id_alias: nil, client_id_alias_used: nil, subject: nil, scopes: nil, properties: nil, jwt_access_token: nil, resources: nil, access_token_resources: nil, authorization_details: nil, service_attributes: nil, client_attributes: nil, client_auth_method: nil, grant_id: nil, audiences: nil, requested_token_type: nil, subject_token: nil, subject_token_type: nil, subject_token_info: nil, actor_token: nil, actor_token_type: nil, actor_token_info: nil, assertion: nil, previous_refresh_token_used: nil, client_entity_id: nil, client_entity_id_used: nil, cnonce_duration: nil, dpop_nonce: nil, cnonce: nil, cnonce_expires_at: nil, requested_id_token_claims: nil, refresh_token_scopes: nil, session_id: nil, device_secret: nil, device_secret_hash: nil, metadata_document_location: nil, metadata_document_used: nil)
207
+ sig { params(result_code: T.nilable(::String), result_message: T.nilable(::String), action: T.nilable(Models::Components::TokenResponseAction), response_content: T.nilable(::String), username: T.nilable(::String), password: T.nilable(::String), ticket: T.nilable(::String), access_token: T.nilable(::String), access_token_expires_at: T.nilable(::Integer), access_token_duration: T.nilable(::Integer), refresh_token: T.nilable(::String), refresh_token_expires_at: T.nilable(::Integer), refresh_token_duration: T.nilable(::Integer), id_token: T.nilable(::String), grant_type: T.nilable(::String), client_id: T.nilable(::Integer), client_id_alias: T.nilable(::String), client_id_alias_used: T.nilable(T::Boolean), subject: T.nilable(::String), scopes: T.nilable(T::Array[::String]), properties: T.nilable(T::Array[Models::Components::Property]), jwt_access_token: T.nilable(::String), resources: T.nilable(T::Array[::String]), access_token_resources: T.nilable(T::Array[::String]), authorization_details: T.nilable(Models::Components::AuthzDetails), additional_claims: T.nilable(::String), service_attributes: T.nilable(T::Array[Models::Components::Pair]), client_attributes: T.nilable(T::Array[Models::Components::Pair]), client_auth_method: T.nilable(::String), grant_id: T.nilable(::String), audiences: T.nilable(T::Array[::String]), requested_token_type: T.nilable(Models::Components::TokenType), subject_token: T.nilable(::String), subject_token_type: T.nilable(Models::Components::TokenType), subject_token_info: T.nilable(Models::Components::TokenInfo), actor_token: T.nilable(::String), actor_token_type: T.nilable(Models::Components::TokenType), actor_token_info: T.nilable(Models::Components::TokenInfo), assertion: T.nilable(::String), previous_refresh_token_used: T.nilable(T::Boolean), client_entity_id: T.nilable(::String), client_entity_id_used: T.nilable(T::Boolean), cnonce_duration: T.nilable(::Integer), dpop_nonce: T.nilable(::String), cnonce: T.nilable(::String), cnonce_expires_at: T.nilable(::Integer), requested_id_token_claims: T.nilable(T::Array[::String]), refresh_token_scopes: T.nilable(T::Array[::String]), session_id: T.nilable(::String), device_secret: T.nilable(::String), device_secret_hash: T.nilable(::String), metadata_document_location: T.nilable(::String), metadata_document_used: T.nilable(T::Boolean)).void }
208
+ def initialize(result_code: nil, result_message: nil, action: nil, response_content: nil, username: nil, password: nil, ticket: nil, access_token: nil, access_token_expires_at: nil, access_token_duration: nil, refresh_token: nil, refresh_token_expires_at: nil, refresh_token_duration: nil, id_token: nil, grant_type: nil, client_id: nil, client_id_alias: nil, client_id_alias_used: nil, subject: nil, scopes: nil, properties: nil, jwt_access_token: nil, resources: nil, access_token_resources: nil, authorization_details: nil, additional_claims: nil, service_attributes: nil, client_attributes: nil, client_auth_method: nil, grant_id: nil, audiences: nil, requested_token_type: nil, subject_token: nil, subject_token_type: nil, subject_token_info: nil, actor_token: nil, actor_token_type: nil, actor_token_info: nil, assertion: nil, previous_refresh_token_used: nil, client_entity_id: nil, client_entity_id_used: nil, cnonce_duration: nil, dpop_nonce: nil, cnonce: nil, cnonce_expires_at: nil, requested_id_token_claims: nil, refresh_token_scopes: nil, session_id: nil, device_secret: nil, device_secret_hash: nil, metadata_document_location: nil, metadata_document_used: nil)
219
209
  @result_code = result_code
220
210
  @result_message = result_message
221
211
  @action = action
@@ -241,6 +231,7 @@ module Authlete
241
231
  @resources = resources
242
232
  @access_token_resources = access_token_resources
243
233
  @authorization_details = authorization_details
234
+ @additional_claims = additional_claims
244
235
  @service_attributes = service_attributes
245
236
  @client_attributes = client_attributes
246
237
  @client_auth_method = client_auth_method
@@ -298,6 +289,7 @@ module Authlete
298
289
  return false unless @resources == other.resources
299
290
  return false unless @access_token_resources == other.access_token_resources
300
291
  return false unless @authorization_details == other.authorization_details
292
+ return false unless @additional_claims == other.additional_claims
301
293
  return false unless @service_attributes == other.service_attributes
302
294
  return false unless @client_attributes == other.client_attributes
303
295
  return false unless @client_auth_method == other.client_auth_method
@@ -58,6 +58,8 @@ class Authlete::Models::Components::TokenResponse
58
58
  def access_token_resources=(str_); end
59
59
  def authorization_details(); end
60
60
  def authorization_details=(str_); end
61
+ def additional_claims(); end
62
+ def additional_claims=(str_); end
61
63
  def service_attributes(); end
62
64
  def service_attributes=(str_); end
63
65
  def client_attributes(); end
@@ -112,4 +114,4 @@ class Authlete::Models::Components::TokenResponse
112
114
  def metadata_document_location=(str_); end
113
115
  def metadata_document_used(); end
114
116
  def metadata_document_used=(str_); end
115
- end
117
+ end
@@ -7,11 +7,8 @@
7
7
  module Authlete
8
8
  module Models
9
9
  module Components
10
-
11
10
  # TokenResponseAction - The next action that the authorization server implementation should take.
12
11
  class TokenResponseAction < T::Enum
13
-
14
-
15
12
  enums do
16
13
  INTERNAL_SERVER_ERROR = new('INTERNAL_SERVER_ERROR')
17
14
  INVALID_CLIENT = new('INVALID_CLIENT')
@@ -20,6 +17,8 @@ module Authlete
20
17
  OK = new('OK')
21
18
  TOKEN_EXCHANGE = new('TOKEN_EXCHANGE')
22
19
  JWT_BEARER = new('JWT_BEARER')
20
+ NATIVE_SSO = new('NATIVE_SSO')
21
+ ID_TOKEN_REISSUABLE = new('ID_TOKEN_REISSUABLE')
23
22
  end
24
23
  end
25
24
  end
@@ -8,4 +8,4 @@ end
8
8
 
9
9
 
10
10
  class Authlete::Models::Components::TokenResponseAction
11
- end
11
+ end
@@ -7,30 +7,29 @@
7
7
  module Authlete
8
8
  module Models
9
9
  module Components
10
-
11
10
 
12
11
  class TokenRevokeRequest
13
12
  extend T::Sig
14
13
  include Crystalline::MetadataFields
15
14
 
16
15
  # The identifier of an access token to revoke
17
- #
16
+ #
18
17
  # The hash of an access token is recognized as an identifier as well as the access token itself.
19
- #
18
+ #
20
19
  field :access_token_identifier, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenIdentifier') }, 'form': { 'field_name': 'accessTokenIdentifier' } }
21
20
  # The identifier of a refresh token to revoke.
22
- #
21
+ #
23
22
  # The hash of a refresh token is recognized as an identifier as well as the refresh token itself.
24
- #
23
+ #
25
24
  field :refresh_token_identifier, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('refreshTokenIdentifier') }, 'form': { 'field_name': 'refreshTokenIdentifier' } }
26
25
  # The client ID of the access token to be revoked.
27
- #
26
+ #
28
27
  # Both the numeric client ID and the alias are recognized as an identifier
29
28
  # of a client.
30
- #
29
+ #
31
30
  field :client_identifier, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('clientIdentifier') }, 'form': { 'field_name': 'clientIdentifier' } }
32
31
  # The subject of a resource owner.
33
- #
32
+ #
34
33
  field :subject, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('subject') }, 'form': { 'field_name': 'subject' } }
35
34
 
36
35
  sig { params(access_token_identifier: T.nilable(::String), refresh_token_identifier: T.nilable(::String), client_identifier: T.nilable(::String), subject: T.nilable(::String)).void }
@@ -16,4 +16,4 @@ class Authlete::Models::Components::TokenRevokeRequest
16
16
  def client_identifier=(str_); end
17
17
  def subject(); end
18
18
  def subject=(str_); end
19
- end
19
+ end
@@ -7,7 +7,6 @@
7
7
  module Authlete
8
8
  module Models
9
9
  module Components
10
-
11
10
 
12
11
  class TokenRevokeResponse
13
12
  extend T::Sig
@@ -14,4 +14,4 @@ class Authlete::Models::Components::TokenRevokeResponse
14
14
  def result_message=(str_); end
15
15
  def count(); end
16
16
  def count=(str_); end
17
- end
17
+ end
@@ -7,13 +7,10 @@
7
7
  module Authlete
8
8
  module Models
9
9
  module Components
10
-
11
10
  # TokenType - The token type identifier used in OAuth 2.0 Token Exchange (RFC 8693).
12
11
  # The API returns short codes (enum constant names) in response fields.
13
- #
12
+ #
14
13
  class TokenType < T::Enum
15
-
16
-
17
14
  enums do
18
15
  JWT = new('JWT')
19
16
  ACCESS_TOKEN = new('ACCESS_TOKEN')
@@ -8,4 +8,4 @@ end
8
8
 
9
9
 
10
10
  class Authlete::Models::Components::TokenType
11
- end
11
+ end
@@ -7,19 +7,18 @@
7
7
  module Authlete
8
8
  module Models
9
9
  module Components
10
-
11
10
 
12
11
  class TokenUpdateRequest
13
12
  extend T::Sig
14
13
  include Crystalline::MetadataFields
15
14
 
16
15
  # An access token.
17
- #
18
- field :access_token, ::String, { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessToken'), required: true }, 'form': { 'field_name': 'accessToken' } }
16
+ #
17
+ field :access_token, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessToken') }, 'form': { 'field_name': 'accessToken' } }
19
18
  # A new date at which the access token will expire in milliseconds since the Unix epoch (1970-01-01).
20
19
  # If the `accessTokenExpiresAt` request parameter is not included in a request or its value is 0
21
20
  # (or negative), the expiration date of the access token is not changed.
22
- #
21
+ #
23
22
  field :access_token_expires_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenExpiresAt') }, 'form': { 'field_name': 'accessTokenExpiresAt' } }
24
23
  # A new set of scopes assigned to the access token. Scopes that are not supported by the service
25
24
  # and those that the client application associated with the access token is not allowed to request
@@ -27,69 +26,69 @@ module Authlete
27
26
  # its value is `null`, the scopes of the access token are not changed. Note that `properties` parameter
28
27
  # is accepted only when `Content-Type` of the request is `application/json`, so don't use `application/x-www-form-urlencoded`
29
28
  # if you want to specify `properties`.
30
- #
29
+ #
31
30
  field :scopes, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('scopes') }, 'form': { 'field_name': 'scopes' } }
32
31
  # A new set of properties assigned to the access token. If the `properties` request parameter is
33
32
  # not included in a request or its value is null, the properties of the access token are not changed.
34
- #
33
+ #
35
34
  field :properties, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Property)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('properties') }, 'form': { 'field_name': 'properties', 'json': true } }
36
35
  # A boolean request parameter which indicates whether the API attempts to update the expiration
37
36
  # date of the access token when the scopes linked to the access token are changed by this request.
38
- #
37
+ #
39
38
  field :access_token_expires_at_updated_on_scope_update, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenExpiresAtUpdatedOnScopeUpdate') }, 'form': { 'field_name': 'accessTokenExpiresAtUpdatedOnScopeUpdate' } }
40
39
  # The hash of the access token value. Used when the hash of the token is known (perhaps from lookup)
41
40
  # but the value of the token itself is not. The value of the `accessToken` parameter takes precedence.
42
- #
41
+ #
43
42
  field :access_token_hash, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenHash') }, 'form': { 'field_name': 'accessTokenHash' } }
44
43
  # A boolean request parameter which indicates whether to update the value of the access token in
45
44
  # the data store. If this parameter is set to `true` then a new access token value is generated
46
45
  # by the server and returned in the response.
47
- #
46
+ #
48
47
  field :access_token_value_updated, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenValueUpdated') }, 'form': { 'field_name': 'accessTokenValueUpdated' } }
49
48
  # The flag which indicates whether the access token expires or not. By default, all access tokens
50
49
  # expire after a period of time determined by their service. If this request parameter is `true`
51
50
  # then the access token will not automatically expire and must be revoked or deleted manually at
52
51
  # the service.
53
- #
52
+ #
54
53
  # If this request parameter is `true`, the `accessTokenExpiresAt` request parameter is ignored.
55
54
  # If this request parameter is `false`, the `accessTokenExpiresAt` request parameter is processed
56
55
  # normally.
57
- #
56
+ #
58
57
  field :access_token_persistent, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenPersistent') }, 'form': { 'field_name': 'accessTokenPersistent' } }
59
58
  # The thumbprint of the MTLS certificate bound to this token. If this property is set, a certificate
60
59
  # with the corresponding value MUST be presented with the access token when it is used by a client.
61
60
  # The value of this property must be a SHA256 certificate thumbprint, base64url encoded.
62
- #
61
+ #
63
62
  field :certificate_thumbprint, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('certificateThumbprint') }, 'form': { 'field_name': 'certificateThumbprint' } }
64
63
  # The thumbprint of the public key used for DPoP presentation of this token. If this property is
65
64
  # set, a DPoP proof signed with the corresponding private key MUST be presented with the access
66
65
  # token when it is used by a client. Additionally, the token's `token_type` will be set to 'DPoP'.
67
- #
66
+ #
68
67
  field :dpop_key_thumbprint, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('dpopKeyThumbprint') }, 'form': { 'field_name': 'dpopKeyThumbprint' } }
69
68
  # The authorization details. This represents the value of the `authorization_details`
70
69
  # request parameter in the preceding device authorization request which is defined in
71
70
  # "OAuth 2.0 Rich Authorization Requests".
72
- #
71
+ #
73
72
  field :authorization_details, Crystalline::Nilable.new(Models::Components::AuthzDetails), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('authorizationDetails') }, 'form': { 'field_name': 'authorizationDetails', 'json': true } }
74
73
  # the flag which indicates whether the access token is for an external
75
74
  # attachment.
76
- #
75
+ #
77
76
  field :for_external_attachment, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('forExternalAttachment') }, 'form': { 'field_name': 'forExternalAttachment' } }
78
77
  # A new date at which the access token will expire in milliseconds since the Unix epoch (1970-01-01).
79
78
  # If the `refreshTokenExpiresAt` request parameter is not included in a request or its value is 0
80
79
  # (or negative), the expiration date of the refresh token is not changed.
81
- #
80
+ #
82
81
  field :refresh_token_expires_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('refreshTokenExpiresAt') }, 'form': { 'field_name': 'refreshTokenExpiresAt' } }
83
82
  # A boolean request parameter which indicates whether the API attempts to update the expiration
84
83
  # date of the refresh token when the scopes linked to the refresh token are changed by this request.
85
- #
84
+ #
86
85
  field :refresh_token_expires_at_updated_on_scope_update, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('refreshTokenExpiresAtUpdatedOnScopeUpdate') }, 'form': { 'field_name': 'refreshTokenExpiresAtUpdatedOnScopeUpdate' } }
87
86
  # The token identifier.
88
- #
87
+ #
89
88
  field :token_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('tokenId') }, 'form': { 'field_name': 'tokenId' } }
90
89
 
91
- sig { params(access_token: ::String, access_token_expires_at: T.nilable(::Integer), scopes: T.nilable(T::Array[::String]), properties: T.nilable(T::Array[Models::Components::Property]), access_token_expires_at_updated_on_scope_update: T.nilable(T::Boolean), access_token_hash: T.nilable(::String), access_token_value_updated: T.nilable(T::Boolean), access_token_persistent: T.nilable(T::Boolean), certificate_thumbprint: T.nilable(::String), dpop_key_thumbprint: T.nilable(::String), authorization_details: T.nilable(Models::Components::AuthzDetails), for_external_attachment: T.nilable(T::Boolean), refresh_token_expires_at: T.nilable(::Integer), refresh_token_expires_at_updated_on_scope_update: T.nilable(T::Boolean), token_id: T.nilable(::String)).void }
92
- def initialize(access_token:, access_token_expires_at: nil, scopes: nil, properties: nil, access_token_expires_at_updated_on_scope_update: nil, access_token_hash: nil, access_token_value_updated: nil, access_token_persistent: nil, certificate_thumbprint: nil, dpop_key_thumbprint: nil, authorization_details: nil, for_external_attachment: nil, refresh_token_expires_at: nil, refresh_token_expires_at_updated_on_scope_update: nil, token_id: nil)
90
+ sig { params(access_token: T.nilable(::String), access_token_expires_at: T.nilable(::Integer), scopes: T.nilable(T::Array[::String]), properties: T.nilable(T::Array[Models::Components::Property]), access_token_expires_at_updated_on_scope_update: T.nilable(T::Boolean), access_token_hash: T.nilable(::String), access_token_value_updated: T.nilable(T::Boolean), access_token_persistent: T.nilable(T::Boolean), certificate_thumbprint: T.nilable(::String), dpop_key_thumbprint: T.nilable(::String), authorization_details: T.nilable(Models::Components::AuthzDetails), for_external_attachment: T.nilable(T::Boolean), refresh_token_expires_at: T.nilable(::Integer), refresh_token_expires_at_updated_on_scope_update: T.nilable(T::Boolean), token_id: T.nilable(::String)).void }
91
+ def initialize(access_token: nil, access_token_expires_at: nil, scopes: nil, properties: nil, access_token_expires_at_updated_on_scope_update: nil, access_token_hash: nil, access_token_value_updated: nil, access_token_persistent: nil, certificate_thumbprint: nil, dpop_key_thumbprint: nil, authorization_details: nil, for_external_attachment: nil, refresh_token_expires_at: nil, refresh_token_expires_at_updated_on_scope_update: nil, token_id: nil)
93
92
  @access_token = access_token
94
93
  @access_token_expires_at = access_token_expires_at
95
94
  @scopes = scopes
@@ -38,4 +38,4 @@ class Authlete::Models::Components::TokenUpdateRequest
38
38
  def refresh_token_expires_at_updated_on_scope_update=(str_); end
39
39
  def token_id(); end
40
40
  def token_id=(str_); end
41
- end
41
+ end
@@ -7,7 +7,6 @@
7
7
  module Authlete
8
8
  module Models
9
9
  module Components
10
-
11
10
 
12
11
  class TokenUpdateResponse
13
12
  extend T::Sig
@@ -18,36 +17,36 @@ module Authlete
18
17
  # A short message which explains the result of the API call.
19
18
  field :result_message, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('resultMessage') } }
20
19
  # The next action that the authorization server implementation should take.
21
- field :action, Crystalline::Nilable.new(Models::Components::TokenUpdateResponseAction), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('action'), 'decoder': Utils.enum_from_string(Models::Components::TokenUpdateResponseAction, true) } }
20
+ field :action, Crystalline::Nilable.new(Models::Components::TokenUpdateResponseAction), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('action'), 'decoder': ::Authlete::Utils.enum_from_string(Models::Components::TokenUpdateResponseAction, true) } }
22
21
  # The access token which has been specified by the request.
23
22
  field :access_token, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessToken') } }
24
23
  # The date at which the access token will expire.
25
- #
24
+ #
26
25
  field :access_token_expires_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('accessTokenExpiresAt') } }
27
26
  # The extra properties associated with the access token.
28
- #
27
+ #
29
28
  field :properties, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::Property)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('properties') } }
30
29
  # The scopes associated with the access token.
31
- #
30
+ #
32
31
  field :scopes, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('scopes') } }
33
32
  # The authorization details. This represents the value of the `authorization_details`
34
33
  # request parameter in the preceding device authorization request which is defined in
35
34
  # "OAuth 2.0 Rich Authorization Requests".
36
- #
35
+ #
37
36
  field :authorization_details, Crystalline::Nilable.new(Models::Components::AuthzDetails), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('authorizationDetails') } }
38
37
  # The token type associated with the access token.
39
- #
38
+ #
40
39
  field :token_type, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('tokenType') } }
41
40
  # the flag which indicates whether the access token is for an external
42
41
  # attachment.
43
- #
42
+ #
44
43
  field :for_external_attachment, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('forExternalAttachment') } }
45
44
  # Set the unique token identifier.
46
- #
45
+ #
47
46
  field :token_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('tokenId') } }
48
47
  # The datetime at which the newly issued refresh token will expire.
49
48
  # The value is represented in milliseconds since the Unix epoch (1970-01-01).
50
- #
49
+ #
51
50
  field :refresh_token_expires_at, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Authlete::Utils.field_name('refreshTokenExpiresAt') } }
52
51
 
53
52
  sig { params(result_code: T.nilable(::String), result_message: T.nilable(::String), action: T.nilable(Models::Components::TokenUpdateResponseAction), access_token: T.nilable(::String), access_token_expires_at: T.nilable(::Integer), properties: T.nilable(T::Array[Models::Components::Property]), scopes: T.nilable(T::Array[::String]), authorization_details: T.nilable(Models::Components::AuthzDetails), token_type: T.nilable(::String), for_external_attachment: T.nilable(T::Boolean), token_id: T.nilable(::String), refresh_token_expires_at: T.nilable(::Integer)).void }
@@ -32,4 +32,4 @@ class Authlete::Models::Components::TokenUpdateResponse
32
32
  def token_id=(str_); end
33
33
  def refresh_token_expires_at(); end
34
34
  def refresh_token_expires_at=(str_); end
35
- end
35
+ end