authing_ruby 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (462) hide show
  1. checksums.yaml +4 -4
  2. data/authing_ruby.gemspec +4 -2
  3. data/lib/authing_ruby/common/PublicKeyManager.rb +12 -1
  4. data/lib/authing_ruby/version.rb +1 -1
  5. metadata +10 -467
  6. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/CONTRIBUTION.md +0 -23
  7. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/LICENSE +0 -21
  8. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/README.md +0 -303
  9. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build-doc.js +0 -520
  10. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js +0 -2
  11. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js.LICENSE.txt +0 -91
  12. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.d.ts +0 -7
  13. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.js +0 -20
  14. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.d.ts +0 -1118
  15. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.js +0 -2859
  16. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
  17. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.js +0 -56
  18. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
  19. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.js +0 -31
  20. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
  21. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.js +0 -250
  22. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
  23. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.js +0 -665
  24. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
  25. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.js +0 -622
  26. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
  27. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.js +0 -180
  28. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.d.ts +0 -341
  29. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.js +0 -69
  30. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.d.ts +0 -14
  31. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.js +0 -127
  32. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.d.ts +0 -19
  33. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.js +0 -151
  34. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.d.ts +0 -18
  35. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.js +0 -81
  36. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.d.ts +0 -121
  37. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.js +0 -2002
  38. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.d.ts +0 -236
  39. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.js +0 -863
  40. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.d.ts +0 -65
  41. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.js +0 -195
  42. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.d.ts +0 -216
  43. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.js +0 -533
  44. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.d.ts +0 -188
  45. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.js +0 -404
  46. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.d.ts +0 -58
  47. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.js +0 -126
  48. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.d.ts +0 -79
  49. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.js +0 -203
  50. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.d.ts +0 -39
  51. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.js +0 -159
  52. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.d.ts +0 -521
  53. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.js +0 -840
  54. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.d.ts +0 -304
  55. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.js +0 -512
  56. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.d.ts +0 -296
  57. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.js +0 -711
  58. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.d.ts +0 -56
  59. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.js +0 -198
  60. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.d.ts +0 -146
  61. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.js +0 -264
  62. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.d.ts +0 -44
  63. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.js +0 -106
  64. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.d.ts +0 -142
  65. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.js +0 -241
  66. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.d.ts +0 -784
  67. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.js +0 -1251
  68. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.d.ts +0 -114
  69. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.js +0 -259
  70. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.d.ts +0 -992
  71. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.js +0 -96
  72. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.d.ts +0 -30
  73. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.js +0 -126
  74. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.d.ts +0 -31
  75. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.js +0 -67
  76. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.d.ts +0 -53
  77. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.js +0 -343
  78. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.d.ts +0 -1
  79. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.js +0 -5
  80. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.d.ts +0 -6241
  81. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.js +0 -251
  82. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.d.ts +0 -7
  83. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.js +0 -3
  84. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.d.ts +0 -7
  85. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.js +0 -8
  86. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.d.ts +0 -1118
  87. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.js +0 -2853
  88. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
  89. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.js +0 -53
  90. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
  91. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.js +0 -28
  92. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
  93. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.js +0 -247
  94. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
  95. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.js +0 -662
  96. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
  97. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.js +0 -619
  98. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
  99. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.js +0 -177
  100. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.d.ts +0 -341
  101. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.js +0 -66
  102. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.d.ts +0 -14
  103. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.js +0 -121
  104. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.d.ts +0 -19
  105. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.js +0 -145
  106. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.d.ts +0 -18
  107. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.js +0 -78
  108. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.d.ts +0 -121
  109. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.js +0 -1999
  110. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.d.ts +0 -236
  111. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.js +0 -860
  112. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.d.ts +0 -65
  113. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.js +0 -192
  114. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.d.ts +0 -216
  115. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.js +0 -530
  116. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.d.ts +0 -188
  117. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.js +0 -401
  118. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.d.ts +0 -58
  119. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.js +0 -123
  120. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.d.ts +0 -79
  121. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.js +0 -197
  122. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.d.ts +0 -39
  123. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.js +0 -153
  124. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.d.ts +0 -521
  125. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.js +0 -818
  126. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.d.ts +0 -304
  127. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.js +0 -509
  128. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.d.ts +0 -296
  129. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.js +0 -708
  130. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.d.ts +0 -56
  131. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.js +0 -195
  132. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.d.ts +0 -146
  133. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.js +0 -261
  134. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.d.ts +0 -44
  135. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.js +0 -103
  136. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.d.ts +0 -142
  137. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.js +0 -238
  138. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.d.ts +0 -784
  139. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.js +0 -1248
  140. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.d.ts +0 -114
  141. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.js +0 -256
  142. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.d.ts +0 -992
  143. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.js +0 -93
  144. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.d.ts +0 -30
  145. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.js +0 -123
  146. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.d.ts +0 -31
  147. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.js +0 -62
  148. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.d.ts +0 -53
  149. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.js +0 -336
  150. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.d.ts +0 -1
  151. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.js +0 -2
  152. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.d.ts +0 -6241
  153. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.js +0 -248
  154. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.d.ts +0 -7
  155. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.js +0 -1
  156. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.d.ts +0 -7
  157. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.js +0 -30
  158. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.d.ts +0 -1118
  159. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.js +0 -2869
  160. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
  161. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.js +0 -66
  162. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
  163. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.js +0 -41
  164. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
  165. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.js +0 -260
  166. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
  167. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.js +0 -675
  168. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
  169. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.js +0 -632
  170. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
  171. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.js +0 -190
  172. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.d.ts +0 -341
  173. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.js +0 -79
  174. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.d.ts +0 -14
  175. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.js +0 -137
  176. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.d.ts +0 -19
  177. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.js +0 -161
  178. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.d.ts +0 -18
  179. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.js +0 -91
  180. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.d.ts +0 -121
  181. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.js +0 -2012
  182. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.d.ts +0 -236
  183. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.js +0 -873
  184. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.d.ts +0 -65
  185. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.js +0 -205
  186. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.d.ts +0 -216
  187. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.js +0 -543
  188. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.d.ts +0 -188
  189. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.js +0 -414
  190. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.d.ts +0 -58
  191. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.js +0 -136
  192. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.d.ts +0 -79
  193. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.js +0 -213
  194. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.d.ts +0 -39
  195. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.js +0 -169
  196. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.d.ts +0 -521
  197. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.js +0 -850
  198. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.d.ts +0 -304
  199. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.js +0 -522
  200. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.d.ts +0 -296
  201. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.js +0 -721
  202. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.d.ts +0 -56
  203. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.js +0 -208
  204. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.d.ts +0 -146
  205. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.js +0 -274
  206. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.d.ts +0 -44
  207. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.js +0 -116
  208. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.d.ts +0 -142
  209. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.js +0 -251
  210. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.d.ts +0 -784
  211. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.js +0 -1261
  212. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.d.ts +0 -114
  213. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.js +0 -269
  214. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.d.ts +0 -992
  215. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.js +0 -106
  216. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.d.ts +0 -30
  217. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.js +0 -136
  218. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.d.ts +0 -31
  219. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.js +0 -77
  220. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.d.ts +0 -53
  221. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.js +0 -353
  222. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.d.ts +0 -1
  223. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.js +0 -15
  224. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.d.ts +0 -6241
  225. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.js +0 -261
  226. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.d.ts +0 -7
  227. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.js +0 -13
  228. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/CHANGELOG.md +0 -413
  229. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/LICENSE +0 -19
  230. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/README.md +0 -709
  231. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/UPGRADE_GUIDE.md +0 -162
  232. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.js +0 -1715
  233. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.map +0 -1
  234. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.js +0 -3
  235. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.map +0 -1
  236. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.d.ts +0 -157
  237. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.js +0 -1
  238. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/README.md +0 -37
  239. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/http.js +0 -279
  240. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/xhr.js +0 -180
  241. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/axios.js +0 -53
  242. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/Cancel.js +0 -19
  243. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/CancelToken.js +0 -57
  244. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/isCancel.js +0 -5
  245. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/Axios.js +0 -94
  246. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/InterceptorManager.js +0 -52
  247. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/README.md +0 -7
  248. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/buildFullPath.js +0 -20
  249. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/createError.js +0 -18
  250. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/dispatchRequest.js +0 -79
  251. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/enhanceError.js +0 -42
  252. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/mergeConfig.js +0 -73
  253. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/settle.js +0 -25
  254. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/transformData.js +0 -20
  255. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/defaults.js +0 -97
  256. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/README.md +0 -7
  257. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/bind.js +0 -11
  258. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/buildURL.js +0 -71
  259. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/combineURLs.js +0 -14
  260. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/cookies.js +0 -53
  261. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
  262. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
  263. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
  264. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  265. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
  266. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/spread.js +0 -27
  267. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/utils.js +0 -344
  268. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/package.json +0 -84
  269. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/LICENSE +0 -18
  270. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/README.md +0 -155
  271. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/http.js +0 -1
  272. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/https.js +0 -1
  273. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/index.js +0 -322
  274. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/package.json +0 -60
  275. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/package.json +0 -129
  276. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tests/index.html +0 -21
  277. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.brower.json +0 -45
  278. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.node.json +0 -0
  279. data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/webpack.config.js +0 -41
  280. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/CHANGELOG.md +0 -685
  281. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/LICENSE +0 -19
  282. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/README.md +0 -800
  283. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/UPGRADE_GUIDE.md +0 -162
  284. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.js +0 -1756
  285. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.map +0 -1
  286. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.js +0 -3
  287. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.map +0 -1
  288. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.d.ts +0 -161
  289. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.js +0 -1
  290. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/README.md +0 -37
  291. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/http.js +0 -303
  292. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/xhr.js +0 -179
  293. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/axios.js +0 -56
  294. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/Cancel.js +0 -19
  295. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/CancelToken.js +0 -57
  296. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/isCancel.js +0 -5
  297. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/Axios.js +0 -95
  298. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/InterceptorManager.js +0 -52
  299. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/README.md +0 -7
  300. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/buildFullPath.js +0 -20
  301. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/createError.js +0 -18
  302. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/dispatchRequest.js +0 -79
  303. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/enhanceError.js +0 -42
  304. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/mergeConfig.js +0 -87
  305. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/settle.js +0 -25
  306. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/transformData.js +0 -20
  307. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/defaults.js +0 -98
  308. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/README.md +0 -7
  309. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/bind.js +0 -11
  310. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/buildURL.js +0 -70
  311. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/combineURLs.js +0 -14
  312. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/cookies.js +0 -53
  313. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
  314. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
  315. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
  316. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
  317. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  318. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
  319. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/spread.js +0 -27
  320. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/utils.js +0 -351
  321. data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/package.json +0 -86
  322. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/CONTRIBUTING.md +0 -28
  323. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/LICENSE +0 -24
  324. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/README.md +0 -249
  325. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/aes.js +0 -234
  326. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/bower.json +0 -35
  327. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/cipher-core.js +0 -890
  328. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/core.js +0 -797
  329. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/crypto-js.js +0 -6059
  330. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/docs/QuickStartGuide.wiki +0 -470
  331. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-base64.js +0 -136
  332. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-hex.js +0 -18
  333. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-latin1.js +0 -18
  334. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf16.js +0 -149
  335. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf8.js +0 -18
  336. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/evpkdf.js +0 -134
  337. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-hex.js +0 -66
  338. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-openssl.js +0 -18
  339. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-md5.js +0 -18
  340. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-ripemd160.js +0 -18
  341. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha1.js +0 -18
  342. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha224.js +0 -18
  343. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha256.js +0 -18
  344. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha3.js +0 -18
  345. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha384.js +0 -18
  346. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha512.js +0 -18
  347. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac.js +0 -143
  348. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/index.js +0 -18
  349. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/lib-typedarrays.js +0 -76
  350. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/md5.js +0 -268
  351. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-cfb.js +0 -80
  352. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr-gladman.js +0 -116
  353. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr.js +0 -58
  354. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ecb.js +0 -40
  355. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ofb.js +0 -54
  356. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/package.json +0 -38
  357. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-ansix923.js +0 -49
  358. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso10126.js +0 -44
  359. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso97971.js +0 -40
  360. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-nopadding.js +0 -30
  361. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-pkcs7.js +0 -18
  362. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-zeropadding.js +0 -47
  363. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pbkdf2.js +0 -145
  364. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit-legacy.js +0 -190
  365. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit.js +0 -192
  366. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rc4.js +0 -139
  367. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/ripemd160.js +0 -267
  368. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha1.js +0 -150
  369. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha224.js +0 -80
  370. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha256.js +0 -199
  371. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha3.js +0 -326
  372. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha384.js +0 -83
  373. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha512.js +0 -326
  374. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/tripledes.js +0 -779
  375. data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/x64-core.js +0 -304
  376. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/CHANGELOG.md +0 -395
  377. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/LICENSE +0 -19
  378. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/Makefile +0 -58
  379. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/README.md +0 -368
  380. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/karma.conf.js +0 -70
  381. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/node.js +0 -1
  382. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/package.json +0 -43
  383. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/browser.js +0 -195
  384. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/debug.js +0 -225
  385. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/index.js +0 -10
  386. data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/node.js +0 -186
  387. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/CHANGELOG.md +0 -210
  388. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/LICENSE +0 -23
  389. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/README.md +0 -275
  390. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/config.js +0 -11
  391. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/cli-options.js +0 -13
  392. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js +0 -18
  393. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/main.js +0 -118
  394. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/package.json +0 -57
  395. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/index.d.ts +0 -59
  396. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/test.ts +0 -19
  397. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tsconfig.json +0 -15
  398. data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tslint.json +0 -6
  399. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/LICENSE +0 -18
  400. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/README.md +0 -148
  401. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/debug.js +0 -14
  402. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/http.js +0 -1
  403. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/https.js +0 -1
  404. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/index.js +0 -531
  405. data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/package.json +0 -59
  406. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/LICENSE.txt +0 -107
  407. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/README.md +0 -192
  408. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.js +0 -249
  409. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js +0 -2
  410. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js.LICENSE.txt +0 -8
  411. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.d.ts +0 -116
  412. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.js +0 -186
  413. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.d.ts +0 -142
  414. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.js +0 -315
  415. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.d.ts +0 -3
  416. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.js +0 -3
  417. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.d.ts +0 -51
  418. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.js +0 -565
  419. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.d.ts +0 -5
  420. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.js +0 -88
  421. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.d.ts +0 -3
  422. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.js +0 -64
  423. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.d.ts +0 -9
  424. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.js +0 -87
  425. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.d.ts +0 -9778
  426. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.js +0 -1962
  427. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.d.ts +0 -3
  428. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.js +0 -76
  429. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.d.ts +0 -98
  430. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js +0 -1754
  431. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.d.ts +0 -10
  432. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.js +0 -46
  433. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.d.ts +0 -3
  434. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.js +0 -76
  435. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.d.ts +0 -23
  436. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.js +0 -373
  437. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.d.ts +0 -7
  438. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.js +0 -58
  439. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js +0 -1593
  440. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js +0 -69
  441. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/version.json +0 -1
  442. data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/package.json +0 -49
  443. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/Gruntfile.js +0 -78
  444. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/LICENSE +0 -21
  445. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/README.md +0 -55
  446. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/bower.json +0 -20
  447. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.js +0 -125
  448. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.min.js +0 -1
  449. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/jwt-decode.html +0 -2
  450. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/atob.js +0 -38
  451. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/base64_url_decode.js +0 -33
  452. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/index.js +0 -26
  453. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/package.json +0 -37
  454. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js +0 -16
  455. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test/tests.js +0 -53
  456. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test_harness.html +0 -29
  457. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem.yml +0 -46
  458. data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem_dev.yml +0 -1
  459. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/index.js +0 -152
  460. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/license.md +0 -21
  461. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/package.json +0 -37
  462. data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/readme.md +0 -51
@@ -1,296 +0,0 @@
1
- import { GraphqlClient } from './../common/GraphqlClient';
2
- import { ManagementTokenProvider } from './ManagementTokenProvider';
3
- import { ManagementClientOptions } from './types';
4
- import { CommonMessage, PaginatedAuthorizedResources, PaginatedPolicyAssignments, PaginatedRoles, PaginatedUsers, ResourceType, Role } from '../../types/graphql.v2';
5
- import { DeepPartial, KeyValuePair } from '../../types/index';
6
- /**
7
- * @class RolesManagementClient 管理角色
8
- * @description 此模块用于管理 Authing 角色,可以进行角色的增删改查、角色添加/删除用户、角色添加/删除策略 等操作。
9
- *
10
- * @example
11
- *
12
- * 请使用以下方式使用该模块,而不要直接初始化该模块:
13
- * \`\`\`javascript
14
- * import { ManagementClient } from "authing-js-sdk"
15
- * const managementClient = new ManagementClient({
16
- * userPoolId: "YOUR_USERPOOL_ID",
17
- * secret: "YOUR_USERPOOL_SECRET",
18
- * })
19
- * managementClient.roles.list // 获取角色列表
20
- * managementClient.roles.create // 创建角色
21
- * managementClient.roles.listUsers // 获取角色用户列表
22
- * \`\`\`
23
- *
24
- * @name RolesManagementClient
25
- */
26
- export declare class RolesManagementClient {
27
- options: ManagementClientOptions;
28
- graphqlClient: GraphqlClient;
29
- tokenProvider: ManagementTokenProvider;
30
- constructor(options: ManagementClientOptions, graphqlClient: GraphqlClient, tokenProvider: ManagementTokenProvider);
31
- /**
32
- * @name create
33
- * @name_zh 创建角色
34
- * @description 创建角色
35
- *
36
- * @param {string} code 角色唯一标志符
37
- * @param {string} [options.description] 描述
38
- * @param {string} [options.namespace] 该角色所在的 namespace,默认为 default
39
- *
40
- * @example
41
- * managementClient.roles.create('rolea', 'RoleA')
42
- *
43
- * @returns {Promise<DeepPartial<Role>>}
44
- * @memberof RolesManagementClient
45
- */
46
- create(code: string, description?: string, namespace?: string): Promise<DeepPartial<Role>>;
47
- /**
48
- * @name delete
49
- * @name_zh 删除角色
50
- * @description 删除角色
51
- *
52
- * @param {string} code 角色唯一标志符
53
- * @param {string} [namespace] 角色所属的 Namespace code,默认值为 'default'
54
- *
55
- * @example
56
- * managementClient.roles.delete('rolea')
57
- *
58
- * @returns {Promise<CommonMessage>}
59
- * @memberof RolesManagementClient
60
- */
61
- delete(code: string, namespace?: string): Promise<CommonMessage>;
62
- /**
63
- * @name deleteMany
64
- * @name_zh 批量删除角色
65
- * @description 批量删除角色
66
- *
67
- * @param {string[]} codeList 角色唯一标志符列表
68
- * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
69
- *
70
- * @example
71
- * managementClient.roles.delete(['rolea'])
72
- *
73
- * @returns {Promise<CommonMessage>}
74
- * @memberof RolesManagementClient
75
- */
76
- deleteMany(codeList: string[], namespace?: string): Promise<CommonMessage>;
77
- /**
78
- * @name update
79
- * @name_zh 修改角色
80
- * @description 修改角色
81
- *
82
- * @param {string} code 角色唯一标志符
83
- * @param {Object} options
84
- * @param {string} options.description 描述信息
85
- * @param {string} options.newCode 新的唯一标志符
86
- * @param {string} options.namespace 角色所属的 Namespace,默认值为 'default'
87
- *
88
- * @example
89
- * managementClient.roles.update('rolea', {newCode: 'newcode'})
90
- *
91
- *
92
- * @returns {Promise<DeepPartial<Role>>}
93
- * @memberof RolesManagementClient
94
- */
95
- update(code: string, options: {
96
- description?: string;
97
- newCode?: string;
98
- namespace?: string;
99
- }): Promise<DeepPartial<Role>>;
100
- /**
101
- * @deprecated 已过时, 不建议使用
102
- */
103
- detail(code: string, namespace?: string): Promise<DeepPartial<Role>>;
104
- /**
105
- *
106
- * @name findByCode
107
- * @name_zh 获取角色详情
108
- * @description 获取角色详情
109
- *
110
- * @param {string} code 角色唯一标志符
111
- * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
112
- *
113
- * @example`
114
- * managementClient.roles.detail('manager')
115
- *
116
- * @returns {Promise<DeepPartial<Role>>} 角色详情
117
- * @memberof RolesManagementClient
118
- */
119
- findByCode(code: string, namespace?: string): Promise<DeepPartial<Role>>;
120
- /**
121
- * @name list
122
- * @name_zh 获取角色列表
123
- * @description 获取角色列表
124
- *
125
- * @param {Object} [options]
126
- * @param {number} [options.page=1] 页码数
127
- * @param {number} [options.limit=10] 每页个数
128
- * @param {string} [options.namespace] 角色所属的 Namespace,默认值为 'default'
129
- *
130
- * @example
131
- * managementClient.roles.list(2, 10)
132
- *
133
- * @returns {Promise<DeepPartial<PaginatedRoles>>}
134
- * @memberof RolesManagementClient
135
- */
136
- list(options?: {
137
- page?: number;
138
- limit?: number;
139
- namespace?: string;
140
- }): Promise<DeepPartial<PaginatedRoles>>;
141
- /**
142
- * @name listUsers
143
- * @name_zh 获取角色用户列表
144
- * @description 获取角色用户列表
145
- *
146
- * @param {string} code 角色唯一标志符
147
- * * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
148
- *
149
- * @example
150
- * managementClient.roles.listUsers(code)
151
- *
152
- * @returns {Promise<DeepPartial<PaginatedUsers>>}
153
- * @memberof RolesManagementClient
154
- */
155
- listUsers(code: string, options?: {
156
- namespace?: string;
157
- withCustomData?: boolean;
158
- page?: number;
159
- limit?: number;
160
- }): Promise<DeepPartial<PaginatedUsers>>;
161
- /**
162
- * @name addUsers
163
- * @name_zh 添加用户
164
- * @description 添加用户
165
- *
166
- * @param {string} code 角色唯一标志符
167
- * @param {string[]} userIds 用户 ID 列表
168
- * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
169
- *
170
- * @example
171
- * managementClient.roles.addUsers(code, ['USERID1', 'USERID2'])
172
- *
173
- * @returns {Promise<CommonMessage>}
174
- * @memberof RolesManagementClient
175
- */
176
- addUsers(code: string, userIds: string[], namespace?: string): Promise<CommonMessage>;
177
- /**
178
- * @name removeUsers
179
- * @name_zh 移除用户
180
- *
181
- * @description 移除用户
182
- *
183
- * @param {string} code 角色唯一标志符
184
- * @param {string[]} userIds 用户 ID 列表
185
- * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
186
- *
187
- * @example
188
- * managementClient.roles.removeUsers(code, ['USERID1', 'USERID2'])
189
- *
190
- * @returns {Promise<CommonMessage>}
191
- * @memberof RolesManagementClient
192
- */
193
- removeUsers(code: string, userIds: string[], namespace?: string): Promise<CommonMessage>;
194
- /**
195
- * @name listPolicies
196
- * @name_zh 获取角色策略列表
197
- *
198
- * @description 获取角色策略列表
199
- *
200
- * @param {string} code 角色唯一标志符
201
- * @param {number} [page=1] 页码数
202
- * @param {number} [limit=10] 页码个数
203
- * @example
204
- * managementClient.roles.listPolicies('codea', 1, 10)
205
- *
206
- * @returns {Promise<PaginatedPolicyAssignments>}
207
- * @memberof RolesManagementClient
208
- */
209
- listPolicies(code: string, page?: number, limit?: number): Promise<PaginatedPolicyAssignments>;
210
- /**
211
- * @name addPolicies
212
- * @name_zh 授权策略
213
- *
214
- * @description 给角色授权策略策略
215
- *
216
- * @param {string} code 角色唯一标志符
217
- * @param {string[]} policies 策略列表
218
- * @example
219
- * managementClient.roles.addPolicies('rolea', ['PolicyA', 'PolicyB'])
220
- *
221
- * @returns {Promise<CommonMessage>}
222
- * @memberof RolesManagementClient
223
- */
224
- addPolicies(code: string, policies: string[]): Promise<CommonMessage>;
225
- /**
226
- * @name removePolicies
227
- * @name_zh 角色移除策略
228
- *
229
- * @description 角色移除策略
230
- *
231
- * @param {string} code 角色唯一标志符
232
- * @param {string[]} policies 策略列表
233
- * @example
234
- * managementClient.roles.removePolicies('rolea', ['PolicyA', 'PolicyB'])
235
- *
236
- * @returns {Promise<CommonMessage>}
237
- * @memberof RolesManagementClient
238
- */
239
- removePolicies(code: string, policies: string[]): Promise<CommonMessage>;
240
- /**
241
- * @description 获取角色被授权的所有资源
242
- *
243
- * @param code: 角色 code
244
- * @param namespace: 角色权限组 namespace code
245
- * @param options.resourceType 资源类型
246
- */
247
- listAuthorizedResources(code: string, namespace: string, options?: {
248
- resourceType?: ResourceType;
249
- }): Promise<PaginatedAuthorizedResources>;
250
- /**
251
- * 获取某个角色扩展字段列表
252
- * @param roleId 角色 ID
253
- * @returns Promise<{ [key: string]: any }>
254
- */
255
- getUdfValue(roleId: string): Promise<{
256
- [key: string]: any;
257
- }>;
258
- /**
259
- * 获取某个角色某个扩展字段
260
- * @param roleId 角色 ID
261
- * @param udfKey 扩展字段 Key
262
- * @returns Promise<{ [key: string]: any }>
263
- */
264
- getSpecificUdfValue(roleId: string, udfKey: string): Promise<{
265
- [key: string]: any;
266
- }>;
267
- /**
268
- * 获取多个角色扩展字段列表
269
- * @param roleId 角色 ID 列表
270
- * @returns Promise<{ [x: string]: KeyValuePair }>
271
- */
272
- getUdfValueBatch(roleIds: string[]): Promise<{
273
- [x: string]: KeyValuePair;
274
- }>;
275
- /**
276
- * 设置某个角色扩展字段列表
277
- * @param roleId 角色 ID 列表
278
- * @param data 扩展字段
279
- */
280
- setUdfValue(roleId: string, data: KeyValuePair): Promise<void>;
281
- /**
282
- * 设置多个角色扩展字段列表
283
- * @param input.roleId 角色 ID 列表
284
- * @param input.data 扩展字段
285
- */
286
- setUdfValueBatch(input: {
287
- roleId: string;
288
- data: KeyValuePair;
289
- }[]): Promise<void>;
290
- /**
291
- * 删除用户的扩展字段
292
- * @param input.roleId 角色 ID 列表
293
- * @param input.key 扩展字段名
294
- */
295
- removeUdfValue(roleId: string, key: string): Promise<void>;
296
- }
@@ -1,708 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- var __generator = (this && this.__generator) || function (thisArg, body) {
11
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
12
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
- function verb(n) { return function (v) { return step([n, v]); }; }
14
- function step(op) {
15
- if (f) throw new TypeError("Generator is already executing.");
16
- while (_) try {
17
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18
- if (y = 0, t) op = [op[0] & 2, t.value];
19
- switch (op[0]) {
20
- case 0: case 1: t = op; break;
21
- case 4: _.label++; return { value: op[1], done: false };
22
- case 5: _.label++; y = op[1]; op = [0]; continue;
23
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
24
- default:
25
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
26
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
27
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
28
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
29
- if (t[2]) _.ops.pop();
30
- _.trys.pop(); continue;
31
- }
32
- op = body.call(thisArg, _);
33
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
34
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
- }
36
- };
37
- import { PolicyAssignmentTargetType, UdfTargetType } from '../../types/graphql.v2';
38
- import { assignRole, addRole, roles, role, roleWithUsers, updateRole, revokeRole, deleteRole, deleteRoles, policyAssignments, addPolicyAssignments, removePolicyAssignments, listRoleAuthorizedResources, udv, udfValueBatch, setUdvBatch, setUdfValueBatch, removeUdv, roleWithUsersWithCustomData } from '../graphqlapi';
39
- import { convertUdvToKeyValuePair, formatAuthorizedResources } from '../utils';
40
- /**
41
- * @class RolesManagementClient 管理角色
42
- * @description 此模块用于管理 Authing 角色,可以进行角色的增删改查、角色添加/删除用户、角色添加/删除策略 等操作。
43
- *
44
- * @example
45
- *
46
- * 请使用以下方式使用该模块,而不要直接初始化该模块:
47
- * \`\`\`javascript
48
- * import { ManagementClient } from "authing-js-sdk"
49
- * const managementClient = new ManagementClient({
50
- * userPoolId: "YOUR_USERPOOL_ID",
51
- * secret: "YOUR_USERPOOL_SECRET",
52
- * })
53
- * managementClient.roles.list // 获取角色列表
54
- * managementClient.roles.create // 创建角色
55
- * managementClient.roles.listUsers // 获取角色用户列表
56
- * \`\`\`
57
- *
58
- * @name RolesManagementClient
59
- */
60
- var RolesManagementClient = /** @class */ (function () {
61
- function RolesManagementClient(options, graphqlClient, tokenProvider) {
62
- this.options = options;
63
- this.graphqlClient = graphqlClient;
64
- this.tokenProvider = tokenProvider;
65
- }
66
- /**
67
- * @name create
68
- * @name_zh 创建角色
69
- * @description 创建角色
70
- *
71
- * @param {string} code 角色唯一标志符
72
- * @param {string} [options.description] 描述
73
- * @param {string} [options.namespace] 该角色所在的 namespace,默认为 default
74
- *
75
- * @example
76
- * managementClient.roles.create('rolea', 'RoleA')
77
- *
78
- * @returns {Promise<DeepPartial<Role>>}
79
- * @memberof RolesManagementClient
80
- */
81
- RolesManagementClient.prototype.create = function (code, description, namespace) {
82
- return __awaiter(this, void 0, void 0, function () {
83
- var res;
84
- return __generator(this, function (_a) {
85
- switch (_a.label) {
86
- case 0: return [4 /*yield*/, addRole(this.graphqlClient, this.tokenProvider, {
87
- code: code,
88
- description: description,
89
- namespace: namespace
90
- })];
91
- case 1:
92
- res = _a.sent();
93
- return [2 /*return*/, res.createRole];
94
- }
95
- });
96
- });
97
- };
98
- /**
99
- * @name delete
100
- * @name_zh 删除角色
101
- * @description 删除角色
102
- *
103
- * @param {string} code 角色唯一标志符
104
- * @param {string} [namespace] 角色所属的 Namespace code,默认值为 'default'
105
- *
106
- * @example
107
- * managementClient.roles.delete('rolea')
108
- *
109
- * @returns {Promise<CommonMessage>}
110
- * @memberof RolesManagementClient
111
- */
112
- RolesManagementClient.prototype.delete = function (code, namespace) {
113
- return __awaiter(this, void 0, void 0, function () {
114
- var data;
115
- return __generator(this, function (_a) {
116
- switch (_a.label) {
117
- case 0: return [4 /*yield*/, deleteRole(this.graphqlClient, this.tokenProvider, {
118
- code: code,
119
- namespace: namespace
120
- })];
121
- case 1:
122
- data = (_a.sent()).deleteRole;
123
- return [2 /*return*/, data];
124
- }
125
- });
126
- });
127
- };
128
- /**
129
- * @name deleteMany
130
- * @name_zh 批量删除角色
131
- * @description 批量删除角色
132
- *
133
- * @param {string[]} codeList 角色唯一标志符列表
134
- * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
135
- *
136
- * @example
137
- * managementClient.roles.delete(['rolea'])
138
- *
139
- * @returns {Promise<CommonMessage>}
140
- * @memberof RolesManagementClient
141
- */
142
- RolesManagementClient.prototype.deleteMany = function (codeList, namespace) {
143
- return __awaiter(this, void 0, void 0, function () {
144
- var data;
145
- return __generator(this, function (_a) {
146
- switch (_a.label) {
147
- case 0: return [4 /*yield*/, deleteRoles(this.graphqlClient, this.tokenProvider, {
148
- codeList: codeList,
149
- namespace: namespace
150
- })];
151
- case 1:
152
- data = (_a.sent()).deleteRoles;
153
- return [2 /*return*/, data];
154
- }
155
- });
156
- });
157
- };
158
- /**
159
- * @name update
160
- * @name_zh 修改角色
161
- * @description 修改角色
162
- *
163
- * @param {string} code 角色唯一标志符
164
- * @param {Object} options
165
- * @param {string} options.description 描述信息
166
- * @param {string} options.newCode 新的唯一标志符
167
- * @param {string} options.namespace 角色所属的 Namespace,默认值为 'default'
168
- *
169
- * @example
170
- * managementClient.roles.update('rolea', {newCode: 'newcode'})
171
- *
172
- *
173
- * @returns {Promise<DeepPartial<Role>>}
174
- * @memberof RolesManagementClient
175
- */
176
- RolesManagementClient.prototype.update = function (code, options) {
177
- return __awaiter(this, void 0, void 0, function () {
178
- var description, newCode, namespace, data;
179
- return __generator(this, function (_a) {
180
- switch (_a.label) {
181
- case 0:
182
- description = options.description, newCode = options.newCode, namespace = options.namespace;
183
- return [4 /*yield*/, updateRole(this.graphqlClient, this.tokenProvider, {
184
- code: code,
185
- description: description,
186
- newCode: newCode,
187
- namespace: namespace
188
- })];
189
- case 1:
190
- data = (_a.sent()).updateRole;
191
- return [2 /*return*/, data];
192
- }
193
- });
194
- });
195
- };
196
- /**
197
- * @deprecated 已过时, 不建议使用
198
- */
199
- RolesManagementClient.prototype.detail = function (code, namespace) {
200
- return __awaiter(this, void 0, void 0, function () {
201
- var data;
202
- return __generator(this, function (_a) {
203
- switch (_a.label) {
204
- case 0: return [4 /*yield*/, role(this.graphqlClient, this.tokenProvider, {
205
- code: code,
206
- namespace: namespace
207
- })];
208
- case 1:
209
- data = (_a.sent()).role;
210
- return [2 /*return*/, data];
211
- }
212
- });
213
- });
214
- };
215
- /**
216
- *
217
- * @name findByCode
218
- * @name_zh 获取角色详情
219
- * @description 获取角色详情
220
- *
221
- * @param {string} code 角色唯一标志符
222
- * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
223
- *
224
- * @example`
225
- * managementClient.roles.detail('manager')
226
- *
227
- * @returns {Promise<DeepPartial<Role>>} 角色详情
228
- * @memberof RolesManagementClient
229
- */
230
- RolesManagementClient.prototype.findByCode = function (code, namespace) {
231
- return __awaiter(this, void 0, void 0, function () {
232
- var data;
233
- return __generator(this, function (_a) {
234
- switch (_a.label) {
235
- case 0: return [4 /*yield*/, this.detail(code, namespace)];
236
- case 1:
237
- data = _a.sent();
238
- return [2 /*return*/, data];
239
- }
240
- });
241
- });
242
- };
243
- /**
244
- * @name list
245
- * @name_zh 获取角色列表
246
- * @description 获取角色列表
247
- *
248
- * @param {Object} [options]
249
- * @param {number} [options.page=1] 页码数
250
- * @param {number} [options.limit=10] 每页个数
251
- * @param {string} [options.namespace] 角色所属的 Namespace,默认值为 'default'
252
- *
253
- * @example
254
- * managementClient.roles.list(2, 10)
255
- *
256
- * @returns {Promise<DeepPartial<PaginatedRoles>>}
257
- * @memberof RolesManagementClient
258
- */
259
- RolesManagementClient.prototype.list = function (options) {
260
- return __awaiter(this, void 0, void 0, function () {
261
- var _a, _b, page, _c, limit, namespace, data;
262
- return __generator(this, function (_d) {
263
- switch (_d.label) {
264
- case 0:
265
- _a = options || {}, _b = _a.page, page = _b === void 0 ? 1 : _b, _c = _a.limit, limit = _c === void 0 ? 10 : _c, namespace = _a.namespace;
266
- return [4 /*yield*/, roles(this.graphqlClient, this.tokenProvider, {
267
- page: page,
268
- limit: limit,
269
- namespace: namespace
270
- })];
271
- case 1:
272
- data = (_d.sent()).roles;
273
- return [2 /*return*/, data];
274
- }
275
- });
276
- });
277
- };
278
- /**
279
- * @name listUsers
280
- * @name_zh 获取角色用户列表
281
- * @description 获取角色用户列表
282
- *
283
- * @param {string} code 角色唯一标志符
284
- * * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
285
- *
286
- * @example
287
- * managementClient.roles.listUsers(code)
288
- *
289
- * @returns {Promise<DeepPartial<PaginatedUsers>>}
290
- * @memberof RolesManagementClient
291
- */
292
- RolesManagementClient.prototype.listUsers = function (code, options) {
293
- return __awaiter(this, void 0, void 0, function () {
294
- var _a, namespace, _b, withCustomData, _c, page, _d, limit, data, data, _e, totalCount, list;
295
- return __generator(this, function (_f) {
296
- switch (_f.label) {
297
- case 0:
298
- _a = options || {}, namespace = _a.namespace, _b = _a.withCustomData, withCustomData = _b === void 0 ? false : _b, _c = _a.page, page = _c === void 0 ? 1 : _c, _d = _a.limit, limit = _d === void 0 ? 10 : _d;
299
- if (!!withCustomData) return [3 /*break*/, 2];
300
- return [4 /*yield*/, roleWithUsers(this.graphqlClient, this.tokenProvider, {
301
- code: code,
302
- namespace: namespace,
303
- page: page,
304
- limit: limit
305
- })];
306
- case 1:
307
- data = (_f.sent()).role;
308
- if (!data) {
309
- return [2 /*return*/, {
310
- totalCount: 0,
311
- list: []
312
- }];
313
- }
314
- return [2 /*return*/, data.users];
315
- case 2: return [4 /*yield*/, roleWithUsersWithCustomData(this.graphqlClient, this.tokenProvider, {
316
- code: code,
317
- namespace: namespace,
318
- page: page,
319
- limit: limit
320
- })];
321
- case 3:
322
- data = (_f.sent()).role;
323
- if (!data) {
324
- return [2 /*return*/, {
325
- totalCount: 0,
326
- list: []
327
- }];
328
- }
329
- _e = data.users, totalCount = _e.totalCount, list = _e.list;
330
- list = list.map(function (user) {
331
- // @ts-ignore
332
- user.customData = convertUdvToKeyValuePair(user.customData);
333
- return user;
334
- });
335
- return [2 /*return*/, {
336
- totalCount: totalCount,
337
- list: list
338
- }];
339
- }
340
- });
341
- });
342
- };
343
- /**
344
- * @name addUsers
345
- * @name_zh 添加用户
346
- * @description 添加用户
347
- *
348
- * @param {string} code 角色唯一标志符
349
- * @param {string[]} userIds 用户 ID 列表
350
- * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
351
- *
352
- * @example
353
- * managementClient.roles.addUsers(code, ['USERID1', 'USERID2'])
354
- *
355
- * @returns {Promise<CommonMessage>}
356
- * @memberof RolesManagementClient
357
- */
358
- RolesManagementClient.prototype.addUsers = function (code, userIds, namespace) {
359
- return __awaiter(this, void 0, void 0, function () {
360
- var res;
361
- return __generator(this, function (_a) {
362
- switch (_a.label) {
363
- case 0: return [4 /*yield*/, assignRole(this.graphqlClient, this.tokenProvider, {
364
- roleCode: code,
365
- userIds: userIds,
366
- namespace: namespace
367
- })];
368
- case 1:
369
- res = _a.sent();
370
- return [2 /*return*/, res.assignRole];
371
- }
372
- });
373
- });
374
- };
375
- /**
376
- * @name removeUsers
377
- * @name_zh 移除用户
378
- *
379
- * @description 移除用户
380
- *
381
- * @param {string} code 角色唯一标志符
382
- * @param {string[]} userIds 用户 ID 列表
383
- * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
384
- *
385
- * @example
386
- * managementClient.roles.removeUsers(code, ['USERID1', 'USERID2'])
387
- *
388
- * @returns {Promise<CommonMessage>}
389
- * @memberof RolesManagementClient
390
- */
391
- RolesManagementClient.prototype.removeUsers = function (code, userIds, namespace) {
392
- return __awaiter(this, void 0, void 0, function () {
393
- var res;
394
- return __generator(this, function (_a) {
395
- switch (_a.label) {
396
- case 0: return [4 /*yield*/, revokeRole(this.graphqlClient, this.tokenProvider, {
397
- roleCode: code,
398
- userIds: userIds,
399
- namespace: namespace
400
- })];
401
- case 1:
402
- res = _a.sent();
403
- return [2 /*return*/, res.revokeRole];
404
- }
405
- });
406
- });
407
- };
408
- /**
409
- * @name listPolicies
410
- * @name_zh 获取角色策略列表
411
- *
412
- * @description 获取角色策略列表
413
- *
414
- * @param {string} code 角色唯一标志符
415
- * @param {number} [page=1] 页码数
416
- * @param {number} [limit=10] 页码个数
417
- * @example
418
- * managementClient.roles.listPolicies('codea', 1, 10)
419
- *
420
- * @returns {Promise<PaginatedPolicyAssignments>}
421
- * @memberof RolesManagementClient
422
- */
423
- RolesManagementClient.prototype.listPolicies = function (code, page, limit) {
424
- if (page === void 0) { page = 1; }
425
- if (limit === void 0) { limit = 10; }
426
- return __awaiter(this, void 0, void 0, function () {
427
- var data;
428
- return __generator(this, function (_a) {
429
- switch (_a.label) {
430
- case 0: return [4 /*yield*/, policyAssignments(this.graphqlClient, this.tokenProvider, {
431
- targetType: PolicyAssignmentTargetType.Role,
432
- targetIdentifier: code,
433
- page: page,
434
- limit: limit
435
- })];
436
- case 1:
437
- data = (_a.sent()).policyAssignments;
438
- return [2 /*return*/, data];
439
- }
440
- });
441
- });
442
- };
443
- /**
444
- * @name addPolicies
445
- * @name_zh 授权策略
446
- *
447
- * @description 给角色授权策略策略
448
- *
449
- * @param {string} code 角色唯一标志符
450
- * @param {string[]} policies 策略列表
451
- * @example
452
- * managementClient.roles.addPolicies('rolea', ['PolicyA', 'PolicyB'])
453
- *
454
- * @returns {Promise<CommonMessage>}
455
- * @memberof RolesManagementClient
456
- */
457
- RolesManagementClient.prototype.addPolicies = function (code, policies) {
458
- return __awaiter(this, void 0, void 0, function () {
459
- var res;
460
- return __generator(this, function (_a) {
461
- switch (_a.label) {
462
- case 0: return [4 /*yield*/, addPolicyAssignments(this.graphqlClient, this.tokenProvider, {
463
- targetType: PolicyAssignmentTargetType.User,
464
- targetIdentifiers: [code],
465
- policies: policies
466
- })];
467
- case 1:
468
- res = _a.sent();
469
- return [2 /*return*/, res.addPolicyAssignments];
470
- }
471
- });
472
- });
473
- };
474
- /**
475
- * @name removePolicies
476
- * @name_zh 角色移除策略
477
- *
478
- * @description 角色移除策略
479
- *
480
- * @param {string} code 角色唯一标志符
481
- * @param {string[]} policies 策略列表
482
- * @example
483
- * managementClient.roles.removePolicies('rolea', ['PolicyA', 'PolicyB'])
484
- *
485
- * @returns {Promise<CommonMessage>}
486
- * @memberof RolesManagementClient
487
- */
488
- RolesManagementClient.prototype.removePolicies = function (code, policies) {
489
- return __awaiter(this, void 0, void 0, function () {
490
- var res;
491
- return __generator(this, function (_a) {
492
- switch (_a.label) {
493
- case 0: return [4 /*yield*/, removePolicyAssignments(this.graphqlClient, this.tokenProvider, {
494
- targetType: PolicyAssignmentTargetType.User,
495
- targetIdentifiers: [code],
496
- policies: policies
497
- })];
498
- case 1:
499
- res = _a.sent();
500
- return [2 /*return*/, res.removePolicyAssignments];
501
- }
502
- });
503
- });
504
- };
505
- /**
506
- * @description 获取角色被授权的所有资源
507
- *
508
- * @param code: 角色 code
509
- * @param namespace: 角色权限组 namespace code
510
- * @param options.resourceType 资源类型
511
- */
512
- RolesManagementClient.prototype.listAuthorizedResources = function (code, namespace, options) {
513
- return __awaiter(this, void 0, void 0, function () {
514
- var resourceType, role, _a, list, totalCount;
515
- return __generator(this, function (_b) {
516
- switch (_b.label) {
517
- case 0:
518
- resourceType = (options || {}).resourceType;
519
- return [4 /*yield*/, listRoleAuthorizedResources(this.graphqlClient, this.tokenProvider, {
520
- code: code,
521
- namespace: namespace,
522
- resourceType: resourceType
523
- })];
524
- case 1:
525
- role = (_b.sent()).role;
526
- if (!role) {
527
- throw new Error('角色不存在');
528
- }
529
- _a = role.authorizedResources, list = _a.list, totalCount = _a.totalCount;
530
- list = formatAuthorizedResources(list);
531
- return [2 /*return*/, {
532
- list: list,
533
- totalCount: totalCount
534
- }];
535
- }
536
- });
537
- });
538
- };
539
- /**
540
- * 获取某个角色扩展字段列表
541
- * @param roleId 角色 ID
542
- * @returns Promise<{ [key: string]: any }>
543
- */
544
- RolesManagementClient.prototype.getUdfValue = function (roleId) {
545
- return __awaiter(this, void 0, void 0, function () {
546
- var list;
547
- return __generator(this, function (_a) {
548
- switch (_a.label) {
549
- case 0: return [4 /*yield*/, udv(this.graphqlClient, this.tokenProvider, {
550
- targetType: UdfTargetType.Role,
551
- targetId: roleId
552
- })];
553
- case 1:
554
- list = (_a.sent()).udv;
555
- return [2 /*return*/, convertUdvToKeyValuePair(list)];
556
- }
557
- });
558
- });
559
- };
560
- /**
561
- * 获取某个角色某个扩展字段
562
- * @param roleId 角色 ID
563
- * @param udfKey 扩展字段 Key
564
- * @returns Promise<{ [key: string]: any }>
565
- */
566
- RolesManagementClient.prototype.getSpecificUdfValue = function (roleId, udfKey) {
567
- return __awaiter(this, void 0, void 0, function () {
568
- var list, udfMap, udfValue, key;
569
- return __generator(this, function (_a) {
570
- switch (_a.label) {
571
- case 0: return [4 /*yield*/, udv(this.graphqlClient, this.tokenProvider, {
572
- targetType: UdfTargetType.Role,
573
- targetId: roleId
574
- })];
575
- case 1:
576
- list = (_a.sent()).udv;
577
- udfMap = convertUdvToKeyValuePair(list);
578
- udfValue = {};
579
- for (key in udfMap) {
580
- if (udfKey === key) {
581
- udfValue[key] = udfMap[key];
582
- }
583
- }
584
- return [2 /*return*/, udfValue];
585
- }
586
- });
587
- });
588
- };
589
- /**
590
- * 获取多个角色扩展字段列表
591
- * @param roleId 角色 ID 列表
592
- * @returns Promise<{ [x: string]: KeyValuePair }>
593
- */
594
- RolesManagementClient.prototype.getUdfValueBatch = function (roleIds) {
595
- return __awaiter(this, void 0, void 0, function () {
596
- var result, ret, _i, result_1, _a, targetId, data;
597
- return __generator(this, function (_b) {
598
- switch (_b.label) {
599
- case 0:
600
- if (roleIds.length === 0) {
601
- throw new Error('empty user id list');
602
- }
603
- return [4 /*yield*/, udfValueBatch(this.graphqlClient, this.tokenProvider, {
604
- targetType: UdfTargetType.Role,
605
- targetIds: roleIds
606
- })];
607
- case 1:
608
- result = (_b.sent()).udfValueBatch;
609
- ret = {};
610
- for (_i = 0, result_1 = result; _i < result_1.length; _i++) {
611
- _a = result_1[_i], targetId = _a.targetId, data = _a.data;
612
- ret[targetId] = convertUdvToKeyValuePair(data);
613
- }
614
- return [2 /*return*/, ret];
615
- }
616
- });
617
- });
618
- };
619
- /**
620
- * 设置某个角色扩展字段列表
621
- * @param roleId 角色 ID 列表
622
- * @param data 扩展字段
623
- */
624
- RolesManagementClient.prototype.setUdfValue = function (roleId, data) {
625
- return __awaiter(this, void 0, void 0, function () {
626
- return __generator(this, function (_a) {
627
- switch (_a.label) {
628
- case 0:
629
- if (Object.keys(data).length === 0) {
630
- throw new Error('empty udf value list');
631
- }
632
- return [4 /*yield*/, setUdvBatch(this.graphqlClient, this.tokenProvider, {
633
- targetType: UdfTargetType.Role,
634
- targetId: roleId,
635
- udvList: Object.keys(data).map(function (key) { return ({
636
- key: key,
637
- value: JSON.stringify(data[key])
638
- }); })
639
- })];
640
- case 1:
641
- _a.sent();
642
- return [2 /*return*/];
643
- }
644
- });
645
- });
646
- };
647
- /**
648
- * 设置多个角色扩展字段列表
649
- * @param input.roleId 角色 ID 列表
650
- * @param input.data 扩展字段
651
- */
652
- RolesManagementClient.prototype.setUdfValueBatch = function (input) {
653
- return __awaiter(this, void 0, void 0, function () {
654
- var params;
655
- return __generator(this, function (_a) {
656
- switch (_a.label) {
657
- case 0:
658
- if (input.length === 0) {
659
- throw new Error('empty input list');
660
- }
661
- params = [];
662
- input.forEach(function (_a) {
663
- var userId = _a.roleId, data = _a.data;
664
- for (var _i = 0, _b = Object.keys(data); _i < _b.length; _i++) {
665
- var key = _b[_i];
666
- params.push({
667
- targetId: userId,
668
- key: key,
669
- value: JSON.stringify(data[key])
670
- });
671
- }
672
- });
673
- return [4 /*yield*/, setUdfValueBatch(this.graphqlClient, this.tokenProvider, {
674
- targetType: UdfTargetType.Role,
675
- input: params
676
- })];
677
- case 1:
678
- _a.sent();
679
- return [2 /*return*/];
680
- }
681
- });
682
- });
683
- };
684
- /**
685
- * 删除用户的扩展字段
686
- * @param input.roleId 角色 ID 列表
687
- * @param input.key 扩展字段名
688
- */
689
- RolesManagementClient.prototype.removeUdfValue = function (roleId, key) {
690
- return __awaiter(this, void 0, void 0, function () {
691
- return __generator(this, function (_a) {
692
- switch (_a.label) {
693
- case 0: return [4 /*yield*/, removeUdv(this.graphqlClient, this.tokenProvider, {
694
- targetType: UdfTargetType.Role,
695
- targetId: roleId,
696
- key: key
697
- })];
698
- case 1:
699
- _a.sent();
700
- return [2 /*return*/];
701
- }
702
- });
703
- });
704
- };
705
- return RolesManagementClient;
706
- }());
707
- export { RolesManagementClient };
708
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUm9sZXNNYW5hZ2VtZW50Q2xpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2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