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,2853 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
- return new (P || (P = Promise))(function (resolve, reject) {
15
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
16
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
17
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18
- step((generator = generator.apply(thisArg, _arguments || [])).next());
19
- });
20
- };
21
- var __generator = (this && this.__generator) || function (thisArg, body) {
22
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
23
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24
- function verb(n) { return function (v) { return step([n, v]); }; }
25
- function step(op) {
26
- if (f) throw new TypeError("Generator is already executing.");
27
- while (_) try {
28
- 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;
29
- if (y = 0, t) op = [op[0] & 2, t.value];
30
- switch (op[0]) {
31
- case 0: case 1: t = op; break;
32
- case 4: _.label++; return { value: op[1], done: false };
33
- case 5: _.label++; y = op[1]; op = [0]; continue;
34
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
35
- default:
36
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
37
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
38
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
39
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
40
- if (t[2]) _.ops.pop();
41
- _.trys.pop(); continue;
42
- }
43
- op = body.call(thisArg, _);
44
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
45
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46
- }
47
- };
48
- import { AuthenticationTokenProvider } from './AuthenticationTokenProvider';
49
- import sha256 from 'crypto-js/sha256';
50
- import CryptoJS from 'crypto-js';
51
- import { bindEmail, bindPhone, checkLoginStatus, checkPasswordStrength, getUserDepartments, getUserRoles, listUserAuthorizedResources, loginByEmail, loginByPhoneCode, loginByPhonePassword, loginBySubAccount, loginByUsername, refreshToken, registerByEmail, registerByPhoneCode, registerByUsername, removeUdv, resetPassword, resetPasswordByFirstLoginToken, sendEmail, setUdv, setUdvBatch, udv, unbindEmail, unbindPhone, updateEmail, updatePassword, updatePhone, updateUser, user } from '../graphqlapi';
52
- import { GraphqlClient } from '../common/GraphqlClient';
53
- import { PasswordSecurityLevel } from './types';
54
- import { UdfTargetType } from '../../types/graphql.v2';
55
- import { QrCodeAuthenticationClient } from './QrCodeAuthenticationClient';
56
- import { MfaAuthenticationClient } from './MfaAuthenticationClient';
57
- import { HttpClient, NaiveHttpClient } from '../common/HttpClient';
58
- import { convertObjectToKeyValueList, convertUdv, convertUdvToKeyValuePair, encrypt, formatAuthorizedResources, generateRandomString, objectToQueryString, uploadFile } from '../utils';
59
- import jwtDecode from 'jwt-decode';
60
- import { SocialAuthenticationClient } from './SocialAuthenticationClient';
61
- import { PublicKeyManager } from '../common/PublicKeyManager';
62
- import { EnterpriseAuthenticationClient } from './EnterpriseAuthenticationClient';
63
- import { BaseAuthenticationClient } from './BaseAuthenticationClient';
64
- var DEFAULT_OPTIONS = {
65
- appId: undefined,
66
- appHost: undefined,
67
- protocol: 'oidc',
68
- tokenEndPointAuthMethod: 'client_secret_post',
69
- introspectionEndPointAuthMethod: 'client_secret_post',
70
- revocationEndPointAuthMethod: 'client_secret_post',
71
- timeout: 10000,
72
- onError: function (code, message, data) {
73
- throw { code: code, message: message, data: data };
74
- },
75
- requestFrom: 'sdk',
76
- encryptFunction: encrypt,
77
- host: 'https://core.authing.cn',
78
- headers: {
79
- 'userpool-id': 'x-authing-userpool-id',
80
- 'app-id': 'x-authing-app-id',
81
- 'request-from': 'x-authing-request-from',
82
- 'sdk-version': 'x-authing-sdk-version',
83
- lang: 'x-authing-lang'
84
- }
85
- };
86
- /**
87
- * @class AuthenticationClient 认证核心模块
88
- * @description 此模块包含注册登录、重置手机号邮箱、修改账号信息等方法,是以你的终端用户(End User)的身份进行请求,适合在需要验证用户身份的情况下使用。
89
- *
90
- * @example
91
- *
92
- * 使用方法:
93
- *
94
- * \`\`\`javascript
95
- * import { AuthenticationClient } from "authing-js-sdk"
96
- * const authenticationClient = new AuthenticationClient({
97
- * appId: "YOUR_APP_ID",
98
- * })
99
- * authenticationClient.registerByEmail // 使用邮箱注册
100
- * authenticationClient.loginByEmail // 使用邮箱登录
101
- * \`\`\`
102
- *
103
- *
104
- * @name AuthenticationClient
105
- */
106
- var AuthenticationClient = /** @class */ (function () {
107
- function AuthenticationClient(options) {
108
- this.options = Object.assign({}, DEFAULT_OPTIONS, options);
109
- this.baseClient = new BaseAuthenticationClient(this.options);
110
- var graphqlEndpoint = this.baseClient.appHost + "/graphql/v2";
111
- // 子模块初始化顺序: GraphqlClient -> ManagementTokenProvider -> Others
112
- this.graphqlClient = new (this.options.graphqlClient || GraphqlClient)(graphqlEndpoint, this.options);
113
- this.tokenProvider = new (this.options.tokenProvider ||
114
- AuthenticationTokenProvider)(this.options);
115
- this.httpClient = new (this.options.httpClient || HttpClient)(this.options, this.tokenProvider);
116
- this.naiveHttpClient = new NaiveHttpClient(this.options, this.tokenProvider);
117
- this.publicKeyManager = new PublicKeyManager(this.options, this.httpClient);
118
- this.wxqrcode = new QrCodeAuthenticationClient(this.options, this.tokenProvider, this.httpClient, 'WXAPP_AUTH');
119
- this.qrcode = new QrCodeAuthenticationClient(this.options, this.tokenProvider, this.httpClient, 'APP_AUTH');
120
- this.mfa = new MfaAuthenticationClient(this.options, this.tokenProvider, this.httpClient);
121
- this.social = new SocialAuthenticationClient(this.options, this.tokenProvider, this.httpClient);
122
- this.enterprise = new EnterpriseAuthenticationClient(this.options, this.tokenProvider, this.httpClient);
123
- if (this.options.token) {
124
- this.setToken(this.options.token);
125
- }
126
- }
127
- AuthenticationClient.prototype.checkLoggedIn = function () {
128
- var _a;
129
- var user = this.tokenProvider.getUser();
130
- if (user) {
131
- return user.id;
132
- }
133
- var token = this.tokenProvider.getToken();
134
- if (!token) {
135
- throw new Error('请先登录!');
136
- }
137
- var decoded = jwtDecode(token);
138
- var userId = decoded.sub || ((_a = decoded.data) === null || _a === void 0 ? void 0 : _a.id);
139
- if (!userId) {
140
- throw new Error('不合法的 accessToken');
141
- }
142
- return userId;
143
- };
144
- AuthenticationClient.prototype.setCurrentUser = function (user) {
145
- this.tokenProvider.setUser(user);
146
- };
147
- AuthenticationClient.prototype.setToken = function (token) {
148
- this.tokenProvider.setToken(token);
149
- };
150
- /**
151
- * @name registerByEmail
152
- * @name_zh 使用邮箱注册
153
- * @description 使用邮箱注册,此接口不要求用户对邮箱进行验证,用户注册之后 emailVerified 字段会为 false 。如果你希望邮箱未验证的用户不能进行登录,可以使用 pipeline 对此类请求进行拦截。
154
- *
155
- * @param {string} email 邮箱
156
- * @param {string} password 密码
157
- * @param {RegisterProfile} [profile] 用户资料
158
- * @param {Object} [options]
159
- * @param {boolean} [options.forceLogin] 是否走一遍完整的登录的,会触发登录前后的 pipeline 函数以及登录事件 webhook ,同时该用户的累计登录次数会加 1 。默认为 false 。
160
- * @param {boolean} [options.generateToken] 是否为该用户生成 token,不会触发登录后的完整流程,用户的累计登录次数不会加 1。默认为 false 。
161
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
162
- *
163
- * @example
164
- *
165
- * authenticationClient.registerByEmail(
166
- * 'test@example.com',
167
- * 'passw0rd',
168
- * {
169
- * nickname: 'Nick'
170
- * },
171
- * {
172
- * generateToken: true
173
- * }
174
- * )
175
- *
176
- * @example
177
- * authenticationClient.registerByEmail('test@example.com', 'passw0rd')
178
- *
179
- *
180
- * @returns {Promise<User>}
181
- * @memberof AuthenticationClient
182
- */
183
- AuthenticationClient.prototype.registerByEmail = function (email, password, profile, options) {
184
- return __awaiter(this, void 0, void 0, function () {
185
- var _a, forceLogin, _b, generateToken, clientIp, params, context, customData, _c, _d, _e, extraParams, extraContext, user;
186
- return __generator(this, function (_f) {
187
- switch (_f.label) {
188
- case 0:
189
- options = options || {};
190
- profile = profile || {};
191
- _a = options.forceLogin, forceLogin = _a === void 0 ? false : _a, _b = options.generateToken, generateToken = _b === void 0 ? false : _b, clientIp = options.clientIp, params = options.params, context = options.context, customData = options.customData;
192
- _d = (_c = this.options).encryptFunction;
193
- _e = [password];
194
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
195
- case 1: return [4 /*yield*/, _d.apply(_c, _e.concat([_f.sent()]))];
196
- case 2:
197
- password = _f.sent();
198
- extraParams = null;
199
- if (customData) {
200
- extraParams = JSON.stringify(convertObjectToKeyValueList(customData));
201
- }
202
- else if (params) {
203
- extraParams = JSON.stringify(params);
204
- }
205
- extraContext = null;
206
- if (context) {
207
- extraContext = JSON.stringify(context);
208
- }
209
- return [4 /*yield*/, registerByEmail(this.graphqlClient, this.tokenProvider, {
210
- input: {
211
- email: email,
212
- password: password,
213
- profile: profile,
214
- forceLogin: forceLogin,
215
- generateToken: generateToken,
216
- clientIp: clientIp,
217
- params: extraParams,
218
- context: extraContext
219
- }
220
- })];
221
- case 3:
222
- user = (_f.sent()).registerByEmail;
223
- this.setCurrentUser(user);
224
- return [2 /*return*/, user];
225
- }
226
- });
227
- });
228
- };
229
- /**
230
- * @name registerByUsername
231
- * @name_zh 使用用户名注册
232
- * @description 使用用户名注册
233
- *
234
- * @param {string} username 用户名
235
- * @param {string} password 密码
236
- * @param {RegisterProfile} [profile] 用户资料
237
- * @param {Object} [options]
238
- * @param {boolean} [options.forceLogin] 是否走一遍完整的登录的,会触发登录前后的 pipeline 函数以及登录事件 webhook ,同时该用户的累计登录次数会加 1 。默认为 false 。
239
- * @param {boolean} [options.generateToken] 是否为该用户生成 token,不会触发登录后的完整流程,用户的累计登录次数不会加 1。默认为 false 。
240
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
241
- *
242
- *
243
- * @example
244
- *
245
- * authenticationClient.registerByUsername(
246
- * 'bob',
247
- * 'passw0rd',
248
- * {
249
- * nickname: 'Nick'
250
- * },
251
- * {
252
- * generateToken: true
253
- * }
254
- * )
255
- *
256
- * @example
257
- * authenticationClient.registerByUsername('bob', 'passw0rd')
258
- *
259
- *
260
- * @returns {Promise<User>}
261
- * @memberof AuthenticationClient
262
- */
263
- AuthenticationClient.prototype.registerByUsername = function (username, password, profile, options) {
264
- return __awaiter(this, void 0, void 0, function () {
265
- var _a, forceLogin, _b, generateToken, clientIp, params, context, customData, _c, _d, _e, extraParams, extraContext, user;
266
- return __generator(this, function (_f) {
267
- switch (_f.label) {
268
- case 0:
269
- options = options || {};
270
- profile = profile || {};
271
- _a = options.forceLogin, forceLogin = _a === void 0 ? false : _a, _b = options.generateToken, generateToken = _b === void 0 ? false : _b, clientIp = options.clientIp, params = options.params, context = options.context, customData = options.customData;
272
- _d = (_c = this.options).encryptFunction;
273
- _e = [password];
274
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
275
- case 1: return [4 /*yield*/, _d.apply(_c, _e.concat([_f.sent()]))];
276
- case 2:
277
- password = _f.sent();
278
- extraParams = null;
279
- if (customData) {
280
- extraParams = JSON.stringify(convertObjectToKeyValueList(customData));
281
- }
282
- else if (params) {
283
- extraParams = JSON.stringify(params);
284
- }
285
- extraContext = null;
286
- if (context) {
287
- extraContext = JSON.stringify(context);
288
- }
289
- return [4 /*yield*/, registerByUsername(this.graphqlClient, this.tokenProvider, {
290
- input: {
291
- username: username,
292
- password: password,
293
- profile: profile,
294
- forceLogin: forceLogin,
295
- generateToken: generateToken,
296
- clientIp: clientIp,
297
- params: extraParams,
298
- context: extraContext
299
- }
300
- })];
301
- case 3:
302
- user = (_f.sent()).registerByUsername;
303
- this.setCurrentUser(user);
304
- return [2 /*return*/, user];
305
- }
306
- });
307
- });
308
- };
309
- /**
310
- * @name registerByPhoneCode
311
- * @name_zh 使用手机号注册
312
- * @description 使用手机号注册,你可以同时设置该账号的初始密码。发送短信的接口请见 sendSmsCode
313
- *
314
- * @param {string} phone 手机号
315
- * @param {string} code 短信验证码
316
- * @param {string} password 初始密码
317
- * @param {RegisterProfile} [profile] 用户资料
318
- * @param {Object} [options]
319
- * @param {boolean} [options.forceLogin] 是否走一遍完整的登录的,会触发登录前后的 pipeline 函数以及登录事件 webhook ,同时该用户的累计登录次数会加 1 。默认为 false 。
320
- * @param {boolean} [options.generateToken] 是否为该用户生成 token,不会触发登录后的完整流程,用户的累计登录次数不会加 1。默认为 false 。
321
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
322
- *
323
- * @example
324
- *
325
- * authenticationClient.registerByPhoneCode(
326
- * '176xxxx7041',
327
- * '1234',
328
- * 'passw0rd',
329
- * {
330
- * nickname: 'Nick'
331
- * },
332
- * {
333
- * generateToken: true
334
- * }
335
- * )
336
- *
337
- * @example
338
- * authenticationClient.registerByPhoneCode('176xxxx7041', '1234')
339
- *
340
- *
341
- * @returns {Promise<User>}
342
- * @memberof AuthenticationClient
343
- */
344
- AuthenticationClient.prototype.registerByPhoneCode = function (phone, code, password, profile, options) {
345
- return __awaiter(this, void 0, void 0, function () {
346
- var _a, forceLogin, _b, generateToken, clientIp, params, context, customData, _c, _d, _e, extraParams, extraContext, user;
347
- return __generator(this, function (_f) {
348
- switch (_f.label) {
349
- case 0:
350
- options = options || {};
351
- profile = profile || {};
352
- _a = options.forceLogin, forceLogin = _a === void 0 ? false : _a, _b = options.generateToken, generateToken = _b === void 0 ? false : _b, clientIp = options.clientIp, params = options.params, context = options.context, customData = options.customData;
353
- if (!password) return [3 /*break*/, 3];
354
- _d = (_c = this.options).encryptFunction;
355
- _e = [password];
356
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
357
- case 1: return [4 /*yield*/, _d.apply(_c, _e.concat([_f.sent()]))];
358
- case 2:
359
- password = _f.sent();
360
- _f.label = 3;
361
- case 3:
362
- extraParams = null;
363
- if (customData) {
364
- extraParams = JSON.stringify(convertObjectToKeyValueList(customData));
365
- }
366
- else if (params) {
367
- extraParams = JSON.stringify(params);
368
- }
369
- extraContext = null;
370
- if (context) {
371
- extraContext = JSON.stringify(context);
372
- }
373
- return [4 /*yield*/, registerByPhoneCode(this.graphqlClient, this.tokenProvider, {
374
- input: {
375
- phone: phone,
376
- code: code,
377
- password: password,
378
- profile: profile,
379
- forceLogin: forceLogin,
380
- generateToken: generateToken,
381
- clientIp: clientIp,
382
- params: extraParams,
383
- context: extraContext
384
- }
385
- })];
386
- case 4:
387
- user = (_f.sent()).registerByPhoneCode;
388
- this.setCurrentUser(user);
389
- return [2 /*return*/, user];
390
- }
391
- });
392
- });
393
- };
394
- /**
395
- * @name checkPasswordStrength
396
- * @name_zh 检查密码强度
397
- * @description 检查密码强度,详情请见: https://docs.authing.co/v2/guides/security/config-password.html
398
- *
399
- * @param {string} password
400
- * @example
401
- * authenticationClient.checkPasswordStrength('weak')
402
- *
403
- * @example
404
- * authenticationClient.checkPasswordStrength('strongPassw0rd!')
405
- *
406
- * @returns {Promise<CheckPasswordStrengthResult>}
407
- * @memberof AuthenticationClient
408
- */
409
- AuthenticationClient.prototype.checkPasswordStrength = function (password) {
410
- return __awaiter(this, void 0, void 0, function () {
411
- var result;
412
- return __generator(this, function (_a) {
413
- switch (_a.label) {
414
- case 0: return [4 /*yield*/, checkPasswordStrength(this.graphqlClient, this.tokenProvider, { password: password })];
415
- case 1:
416
- result = (_a.sent()).checkPasswordStrength;
417
- return [2 /*return*/, result];
418
- }
419
- });
420
- });
421
- };
422
- /**
423
- * @name sendSmsCode
424
- * @name_zh 发送短信验证码
425
- * @description 发送短信验证码, 短信验证码的有效时间为 60 s。
426
- *
427
- * @param {string} phone
428
- * @example
429
- * authenticationClient.sendSmsCode('176xxxx6754')
430
- *
431
- * @returns {Promise<CommonMessage>}
432
- * @memberof AuthenticationClient
433
- */
434
- AuthenticationClient.prototype.sendSmsCode = function (phone) {
435
- return __awaiter(this, void 0, void 0, function () {
436
- var api, data;
437
- return __generator(this, function (_a) {
438
- switch (_a.label) {
439
- case 0:
440
- api = this.baseClient.appHost + "/api/v2/sms/send";
441
- return [4 /*yield*/, this.httpClient.request({
442
- method: 'POST',
443
- url: api,
444
- data: { phone: phone }
445
- })];
446
- case 1:
447
- data = _a.sent();
448
- return [2 /*return*/, data];
449
- }
450
- });
451
- });
452
- };
453
- /**
454
- * @name loginByEmail
455
- * @name_zh 使用邮箱登录
456
- * @description 使用邮箱登录,该接口默认不会限制未验证的邮箱进行登录,如果你希望邮箱未验证的用户不能进行登录,可以使用 pipeline 对此类请求进行拦截。
457
- *
458
- * 如果你的用户池配置了登录失败检测,当同一 IP 下登录多次失败的时候会要求用户输入图形验证码(code 为 2000)。
459
- *
460
- * @param {string} email 邮箱
461
- * @param {string} password 密码
462
- * @param {Object} [options]
463
- * @param {boolean} [options.autoRegister] 是否自动注册。如果检测到用户不存在,会根据登录账密自动创建一个账号。
464
- * @param {string} [options.captchaCode] 图形验证码
465
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
466
- *
467
- * @example
468
- *
469
- * authenticationClient.loginByEmail(
470
- * 'test@example.com',
471
- * 'passw0rd',
472
- * {
473
- * autoRegister: true,
474
- * captchaCode: 'xj72'
475
- * }
476
- * )
477
- *
478
- * @example
479
- * authenticationClient.loginByEmail('test@example.com', 'passw0rd')
480
- *
481
- *
482
- * @returns {Promise<User>}
483
- * @memberof AuthenticationClient
484
- */
485
- AuthenticationClient.prototype.loginByEmail = function (email, password, options) {
486
- return __awaiter(this, void 0, void 0, function () {
487
- var _a, autoRegister, captchaCode, clientIp, params, context, customData, _b, _c, _d, extraParams, extraContext, user;
488
- return __generator(this, function (_e) {
489
- switch (_e.label) {
490
- case 0:
491
- options = options || {};
492
- _a = options.autoRegister, autoRegister = _a === void 0 ? false : _a, captchaCode = options.captchaCode, clientIp = options.clientIp, params = options.params, context = options.context, customData = options.customData;
493
- _c = (_b = this.options).encryptFunction;
494
- _d = [password];
495
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
496
- case 1: return [4 /*yield*/, _c.apply(_b, _d.concat([_e.sent()]))];
497
- case 2:
498
- password = _e.sent();
499
- extraParams = null;
500
- if (customData) {
501
- extraParams = JSON.stringify(convertObjectToKeyValueList(customData));
502
- }
503
- else if (params) {
504
- extraParams = JSON.stringify(params);
505
- }
506
- extraContext = null;
507
- if (context) {
508
- extraContext = JSON.stringify(context);
509
- }
510
- return [4 /*yield*/, loginByEmail(this.graphqlClient, this.tokenProvider, {
511
- input: {
512
- email: email,
513
- password: password,
514
- autoRegister: autoRegister,
515
- captchaCode: captchaCode,
516
- clientIp: clientIp,
517
- params: extraParams,
518
- context: extraContext
519
- }
520
- })];
521
- case 3:
522
- user = (_e.sent()).loginByEmail;
523
- this.setCurrentUser(user);
524
- return [2 /*return*/, user];
525
- }
526
- });
527
- });
528
- };
529
- /**
530
- * @name loginByUsername
531
- * @name_zh 使用用户名登录
532
- * @description 使用用户名登录。
533
- *
534
- * 如果你的用户池配置了登录失败检测,当同一 IP 下登录多次失败的时候会要求用户输入图形验证码(code 为 2000)。
535
- *
536
- * @param {string} username 用户名
537
- * @param {string} password 密码
538
- * @param {Object} [options]
539
- * @param {boolean} [options.autoRegister] 是否自动注册。如果检测到用户不存在,会根据登录账密自动创建一个账号。
540
- * @param {string} [options.captchaCode] 图形验证码
541
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
542
- *
543
- *
544
- * @example
545
- *
546
- * authenticationClient.loginByEmail(
547
- * 'test@example.com',
548
- * 'passw0rd',
549
- * {
550
- * autoRegister: true,
551
- * captchaCode: 'xj72'
552
- * }
553
- * )
554
- *
555
- * @example
556
- * authenticationClient.loginByEmail('test@example.com', 'passw0rd')
557
- *
558
- *
559
- * @returns {Promise<User>}
560
- * @memberof AuthenticationClient
561
- */
562
- AuthenticationClient.prototype.loginByUsername = function (username, password, options) {
563
- return __awaiter(this, void 0, void 0, function () {
564
- var _a, autoRegister, captchaCode, clientIp, params, context, customData, _b, _c, _d, extraParams, extraContext, user;
565
- return __generator(this, function (_e) {
566
- switch (_e.label) {
567
- case 0:
568
- options = options || {};
569
- _a = options.autoRegister, autoRegister = _a === void 0 ? false : _a, captchaCode = options.captchaCode, clientIp = options.clientIp, params = options.params, context = options.context, customData = options.customData;
570
- _c = (_b = this.options).encryptFunction;
571
- _d = [password];
572
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
573
- case 1: return [4 /*yield*/, _c.apply(_b, _d.concat([_e.sent()]))];
574
- case 2:
575
- password = _e.sent();
576
- extraParams = null;
577
- if (customData) {
578
- extraParams = JSON.stringify(convertObjectToKeyValueList(customData));
579
- }
580
- else if (params) {
581
- extraParams = JSON.stringify(params);
582
- }
583
- extraContext = null;
584
- if (context) {
585
- extraContext = JSON.stringify(context);
586
- }
587
- return [4 /*yield*/, loginByUsername(this.graphqlClient, this.tokenProvider, {
588
- input: {
589
- username: username,
590
- password: password,
591
- autoRegister: autoRegister,
592
- captchaCode: captchaCode,
593
- clientIp: clientIp,
594
- params: extraParams,
595
- context: extraContext
596
- }
597
- })];
598
- case 3:
599
- user = (_e.sent()).loginByUsername;
600
- this.setCurrentUser(user);
601
- return [2 /*return*/, user];
602
- }
603
- });
604
- });
605
- };
606
- /**
607
- * @name loginByPhoneCode
608
- * @name_zh 使用手机号验证码登录
609
- * @description 使用手机号验证码登录。
610
- *
611
- *
612
- * @param {string} phone 手机号
613
- * @param {string} code 短信验证码
614
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
615
- *
616
- * @example
617
- *
618
- * authenticationClient.loginByPhoneCode(
619
- * '176xxxx7041',
620
- * '1234',
621
- * )
622
- *
623
- *
624
- * @returns {Promise<User>}
625
- * @memberof AuthenticationClient
626
- */
627
- AuthenticationClient.prototype.loginByPhoneCode = function (phone, code, options) {
628
- return __awaiter(this, void 0, void 0, function () {
629
- var clientIp, params, context, customData, extraParams, extraContext, user;
630
- return __generator(this, function (_a) {
631
- switch (_a.label) {
632
- case 0:
633
- options = options || {};
634
- clientIp = options.clientIp, params = options.params, context = options.context, customData = options.customData;
635
- extraParams = null;
636
- if (customData) {
637
- extraParams = JSON.stringify(convertObjectToKeyValueList(customData));
638
- }
639
- else if (params) {
640
- extraParams = JSON.stringify(params);
641
- }
642
- extraContext = null;
643
- if (context) {
644
- extraContext = JSON.stringify(context);
645
- }
646
- return [4 /*yield*/, loginByPhoneCode(this.graphqlClient, this.tokenProvider, {
647
- input: {
648
- phone: phone,
649
- code: code,
650
- clientIp: clientIp,
651
- params: extraParams,
652
- context: extraContext
653
- }
654
- })];
655
- case 1:
656
- user = (_a.sent()).loginByPhoneCode;
657
- this.setCurrentUser(user);
658
- return [2 /*return*/, user];
659
- }
660
- });
661
- });
662
- };
663
- /**
664
- * @name loginByPhonePassword
665
- * @name_zh 使用手机号密码登录
666
- * @description 使用手机号密码登录。
667
- *
668
- *
669
- * @param {string} phone 手机号
670
- * @param {string} password 密码
671
- * @param {Object} [options]
672
- * @param {string} [options.captchaCode] 图形验证码
673
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
674
- *
675
- * @example
676
- *
677
- * authenticationClient.loginByPhonePassword(
678
- * '176xxxx7041',
679
- * 'passw0rd',
680
- * {
681
- * captchaCode: 'xj72'
682
- * }
683
- * )
684
- *
685
- * @example
686
- * authenticationClient.loginByPhonePassword('176xxxx7041', 'passw0rd')
687
- *
688
- *
689
- * @returns {Promise<User>}
690
- * @memberof AuthenticationClient
691
- */
692
- AuthenticationClient.prototype.loginByPhonePassword = function (phone, password, options) {
693
- return __awaiter(this, void 0, void 0, function () {
694
- var captchaCode, _a, autoRegister, clientIp, params, context, customData, _b, _c, _d, extraParams, extraContext, user;
695
- return __generator(this, function (_e) {
696
- switch (_e.label) {
697
- case 0:
698
- options = options || {};
699
- captchaCode = options.captchaCode, _a = options.autoRegister, autoRegister = _a === void 0 ? false : _a, clientIp = options.clientIp, params = options.params, context = options.context, customData = options.customData;
700
- _c = (_b = this.options).encryptFunction;
701
- _d = [password];
702
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
703
- case 1: return [4 /*yield*/, _c.apply(_b, _d.concat([_e.sent()]))];
704
- case 2:
705
- password = _e.sent();
706
- extraParams = null;
707
- if (customData) {
708
- extraParams = JSON.stringify(convertObjectToKeyValueList(customData));
709
- }
710
- else if (params) {
711
- extraParams = JSON.stringify(params);
712
- }
713
- extraContext = null;
714
- if (context) {
715
- extraContext = JSON.stringify(context);
716
- }
717
- return [4 /*yield*/, loginByPhonePassword(this.graphqlClient, this.tokenProvider, {
718
- input: {
719
- phone: phone,
720
- password: password,
721
- captchaCode: captchaCode,
722
- autoRegister: autoRegister,
723
- clientIp: clientIp,
724
- params: extraParams,
725
- context: extraContext
726
- }
727
- })];
728
- case 3:
729
- user = (_e.sent()).loginByPhonePassword;
730
- this.setCurrentUser(user);
731
- return [2 /*return*/, user];
732
- }
733
- });
734
- });
735
- };
736
- AuthenticationClient.prototype.loginBySubAccount = function (account, password, options) {
737
- return __awaiter(this, void 0, void 0, function () {
738
- var captchaCode, clientIp, _a, _b, _c, user;
739
- return __generator(this, function (_d) {
740
- switch (_d.label) {
741
- case 0:
742
- options = options || {};
743
- captchaCode = options.captchaCode, clientIp = options.clientIp;
744
- _b = (_a = this.options).encryptFunction;
745
- _c = [password];
746
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
747
- case 1: return [4 /*yield*/, _b.apply(_a, _c.concat([_d.sent()]))];
748
- case 2:
749
- password = _d.sent();
750
- return [4 /*yield*/, loginBySubAccount(this.graphqlClient, this.tokenProvider, {
751
- account: account,
752
- password: password,
753
- captchaCode: captchaCode,
754
- clientIp: clientIp
755
- })];
756
- case 3:
757
- user = (_d.sent()).loginBySubAccount;
758
- this.setCurrentUser(user);
759
- return [2 /*return*/, user];
760
- }
761
- });
762
- });
763
- };
764
- /**
765
- * @name checkLoginStatus
766
- * @name_zh 检测 Token 登录状态
767
- * @description 检测 Token 登录状态
768
- *
769
- * @param {string} token 用户的登录凭证 token
770
- *
771
- * @example
772
- *
773
- * authenticationClient.checkLoginStatus('TOKEN')
774
- *
775
- * @returns {Promise<JwtTokenStatus>}
776
- * @memberof AuthenticationClient
777
- */
778
- AuthenticationClient.prototype.checkLoginStatus = function (token) {
779
- return __awaiter(this, void 0, void 0, function () {
780
- var res;
781
- return __generator(this, function (_a) {
782
- switch (_a.label) {
783
- case 0: return [4 /*yield*/, checkLoginStatus(this.graphqlClient, this.tokenProvider, {
784
- token: token
785
- })];
786
- case 1:
787
- res = _a.sent();
788
- return [2 /*return*/, res.checkLoginStatus];
789
- }
790
- });
791
- });
792
- };
793
- /**
794
- * @name sendEmail
795
- * @name_zh 发送邮件
796
- * @description 发送邮件
797
- *
798
- * @param {string} email 邮箱
799
- * @param {EmailScene} scene 发送场景,可选值为 RESET_PASSWORD(发送重置密码邮件,邮件中包含验证码)、VerifyEmail(发送验证邮箱的邮件)、ChangeEmail(发送修改邮箱邮件,邮件中包含验证码)
800
- *
801
- * @example
802
- *
803
- * import { EmailScene } from "authing-js-sdk"
804
- * authenticationClient.sendEmail('test@example.com', EmailScene.RESET_PASSWORD)
805
- *
806
- * @returns {Promise<CommonMessage>}
807
- * @memberof AuthenticationClient
808
- */
809
- AuthenticationClient.prototype.sendEmail = function (email, scene) {
810
- return __awaiter(this, void 0, void 0, function () {
811
- var data;
812
- return __generator(this, function (_a) {
813
- switch (_a.label) {
814
- case 0: return [4 /*yield*/, sendEmail(this.graphqlClient, this.tokenProvider, { email: email, scene: scene })];
815
- case 1:
816
- data = (_a.sent()).sendEmail;
817
- return [2 /*return*/, data];
818
- }
819
- });
820
- });
821
- };
822
- /**
823
- * @name resetPasswordByPhoneCode
824
- * @name_zh 通过短信验证码重置密码
825
- * @description 通过短信验证码重置密码,你需要先调用 sendSmsCode 接口发送重置密码邮件。
826
- *
827
- * @param {string} phone 手机号
828
- * @param {string} code 验证码
829
- * @param {string} newPassword 新的密码
830
- *
831
- * @example
832
- *
833
- * authenticationClient.resetPasswordByPhoneCode('176xxxx7041', '1234', 'passw0rd')
834
- *
835
- * @returns {Promise<CommonMessage>}
836
- * @memberof AuthenticationClient
837
- */
838
- AuthenticationClient.prototype.resetPasswordByPhoneCode = function (phone, code, newPassword) {
839
- return __awaiter(this, void 0, void 0, function () {
840
- var _a, _b, _c, data;
841
- return __generator(this, function (_d) {
842
- switch (_d.label) {
843
- case 0:
844
- _b = (_a = this.options).encryptFunction;
845
- _c = [newPassword];
846
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
847
- case 1: return [4 /*yield*/, _b.apply(_a, _c.concat([_d.sent()]))];
848
- case 2:
849
- newPassword = _d.sent();
850
- return [4 /*yield*/, resetPassword(this.graphqlClient, this.tokenProvider, {
851
- phone: phone,
852
- code: code,
853
- newPassword: newPassword
854
- })];
855
- case 3:
856
- data = (_d.sent()).resetPassword;
857
- return [2 /*return*/, data];
858
- }
859
- });
860
- });
861
- };
862
- /**
863
- * @name resetPasswordByEmailCode
864
- * @name_zh 通过邮件验证码重置密码
865
- * @description 通过邮件验证码重置密码,你需要先调用 sendEmail 接口发送重置密码邮件。
866
- *
867
- * @param {string} phone 手机号
868
- * @param {string} code 验证码
869
- * @param {string} newPassword 新的密码
870
- *
871
- * @example
872
- *
873
- * authenticationClient.resetPasswordByEmailCode('test@example.com', '1234', 'passw0rd')
874
- *
875
- * @returns {Promise<CommonMessage>}
876
- * @memberof AuthenticationClient
877
- */
878
- AuthenticationClient.prototype.resetPasswordByEmailCode = function (email, code, newPassword) {
879
- return __awaiter(this, void 0, void 0, function () {
880
- var _a, _b, _c, data;
881
- return __generator(this, function (_d) {
882
- switch (_d.label) {
883
- case 0:
884
- _b = (_a = this.options).encryptFunction;
885
- _c = [newPassword];
886
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
887
- case 1: return [4 /*yield*/, _b.apply(_a, _c.concat([_d.sent()]))];
888
- case 2:
889
- newPassword = _d.sent();
890
- return [4 /*yield*/, resetPassword(this.graphqlClient, this.tokenProvider, {
891
- email: email,
892
- code: code,
893
- newPassword: newPassword
894
- })];
895
- case 3:
896
- data = (_d.sent()).resetPassword;
897
- return [2 /*return*/, data];
898
- }
899
- });
900
- });
901
- };
902
- AuthenticationClient.prototype.resetPasswordByFirstLoginToken = function (params) {
903
- return __awaiter(this, void 0, void 0, function () {
904
- var token, password, _a, _b, _c, data;
905
- return __generator(this, function (_d) {
906
- switch (_d.label) {
907
- case 0:
908
- token = params.token, password = params.password;
909
- _b = (_a = this.options).encryptFunction;
910
- _c = [password];
911
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
912
- case 1: return [4 /*yield*/, _b.apply(_a, _c.concat([_d.sent()]))];
913
- case 2:
914
- password = _d.sent();
915
- return [4 /*yield*/, resetPasswordByFirstLoginToken(this.graphqlClient, this.tokenProvider, {
916
- token: token,
917
- password: password
918
- })];
919
- case 3:
920
- data = (_d.sent()).resetPasswordByFirstLoginToken;
921
- return [2 /*return*/, data];
922
- }
923
- });
924
- });
925
- };
926
- /**
927
- * @name updateProfile
928
- * @name_zh 修改用户资料
929
- * @description 修改用户资料,此接口不能用于修改手机号、邮箱、密码,如果需要请调用 updatePhone、updateEmail、updatePassword 接口。
930
- *
931
- * @param {UpdateUserInput} updates 修改的用户资料
932
- * @param {string} updates.username 用户名
933
- * @param {string} updates.nickname 昵称
934
- * @param {string} updates.photo 头像
935
- * @param {string} updates.company 公司
936
- * @param {string} updates.browser 浏览器
937
- * @param {string} updates.device 设备
938
- * @param {string} updates.lastIP 最近登录的 IP
939
- * @param {string} updates.name Name
940
- * @param {string} updates.givenName Given Name
941
- * @param {string} updates.familyName Family Name
942
- * @param {string} updates.middleName Middle Name
943
- * @param {string} updates.profile Profile Url
944
- * @param {string} updates.preferredUsername Preferred Name
945
- * @param {string} updates.website 个人网站
946
- * @param {string} updates.gender 性别, F 表示男性、W 表示女性、未知表示 U
947
- * @param {string} updates.birthdate 生日
948
- * @param {string} updates.zoneinfo 时区
949
- * @param {string} updates.locale 语言
950
- * @param {string} updates.address 地址
951
- * @param {string} updates.streetAddress 街道地址
952
- * @param {string} updates.locality
953
- * @param {string} updates.region 地域
954
- * @param {string} updates.postalCode 邮编
955
- * @param {string} updates.city 城市
956
- * @param {string} updates.province 省份
957
- * @param {string} updates.country 国家
958
- *
959
- * @example
960
- *
961
- * authenticationClient.updateProfile({
962
- * nickname: "Nick",
963
- * lastIp: "111.111.111.111"
964
- * })
965
- *
966
- * @returns {Promise<User>}
967
- * @memberof AuthenticationClient
968
- */
969
- AuthenticationClient.prototype.updateProfile = function (updates) {
970
- return __awaiter(this, void 0, void 0, function () {
971
- var userId, updated;
972
- return __generator(this, function (_a) {
973
- switch (_a.label) {
974
- case 0:
975
- userId = this.checkLoggedIn();
976
- if (updates && updates.password) {
977
- delete updates.password;
978
- }
979
- return [4 /*yield*/, updateUser(this.graphqlClient, this.tokenProvider, {
980
- id: userId,
981
- input: updates
982
- })];
983
- case 1:
984
- updated = (_a.sent()).updateUser;
985
- this.setCurrentUser(updated);
986
- return [2 /*return*/, updated];
987
- }
988
- });
989
- });
990
- };
991
- /**
992
- * @name updatePassword
993
- * @name_zh 更新用户密码
994
- * @description 更新用户密码
995
- *
996
- * @param {string} newPassword 新密码
997
- * @param {string} [oldPassword] 旧密码,如果用户没有设置密码,可以不填。
998
- *
999
- * @example
1000
- *
1001
- * authenticationClient.updatePassword('passw0rd') // 由手机号、社会化登录等其他方式注册的,首次没有设置密码,oldPassword 留空。
1002
- *
1003
- * @example
1004
- *
1005
- * authenticationClient.updatePassword('passw0rd', 'oldPassw0rd') // 用户之前设置了密码
1006
- *
1007
- * @returns {Promise<User>}
1008
- * @memberof AuthenticationClient
1009
- */
1010
- AuthenticationClient.prototype.updatePassword = function (newPassword, oldPassword) {
1011
- return __awaiter(this, void 0, void 0, function () {
1012
- var _a, _b, _c, _d, _e, _f, _g, _h, user;
1013
- return __generator(this, function (_j) {
1014
- switch (_j.label) {
1015
- case 0:
1016
- _a = newPassword;
1017
- if (!_a) return [3 /*break*/, 3];
1018
- _c = (_b = this.options).encryptFunction;
1019
- _d = [newPassword];
1020
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
1021
- case 1: return [4 /*yield*/, _c.apply(_b, _d.concat([_j.sent()]))];
1022
- case 2:
1023
- _a = (_j.sent());
1024
- _j.label = 3;
1025
- case 3:
1026
- newPassword = _a;
1027
- _e = oldPassword;
1028
- if (!_e) return [3 /*break*/, 6];
1029
- _g = (_f = this.options).encryptFunction;
1030
- _h = [oldPassword];
1031
- return [4 /*yield*/, this.publicKeyManager.getPublicKey()];
1032
- case 4: return [4 /*yield*/, _g.apply(_f, _h.concat([_j.sent()]))];
1033
- case 5:
1034
- _e = (_j.sent());
1035
- _j.label = 6;
1036
- case 6:
1037
- oldPassword = _e;
1038
- return [4 /*yield*/, updatePassword(this.graphqlClient, this.tokenProvider, {
1039
- newPassword: newPassword,
1040
- oldPassword: oldPassword
1041
- })];
1042
- case 7:
1043
- user = (_j.sent()).updatePassword;
1044
- return [2 /*return*/, user];
1045
- }
1046
- });
1047
- });
1048
- };
1049
- /**
1050
- * @name updatePhone
1051
- * @name_zh 更新用户手机号
1052
- * @description 更新用户手机号。和修改邮箱一样,默认情况下,如果用户当前已经绑定了手机号,需要同时验证原有手机号(目前账号绑定的手机号)和当前邮箱(将要绑定的手机号)。
1053
- * 也就是说,用户 A 当前绑定的手机号为 15888888888,想修改为 15899999999,那么就需要同时验证这两个手机号。
1054
- * 开发者也可以选择不开启 “验证原有手机号“ ,可以在 Authing 控制台 的 设置目录下的安全信息模块进行关闭。
1055
- * 用户首次绑定手机号请使用 bindPhone 接口。
1056
- *
1057
- * @param {string} phone 新手机号
1058
- * @param {string} phoneCode 新手机号的验证码
1059
- * @param {string} [oldPhone] 旧手机号
1060
- * @param {string} [oldPhoneCode] 旧手机号的验证码
1061
- *
1062
- * @example
1063
- *
1064
- * authenticationClient.updatePhone('176xxxx7041', '1234') // 关闭了“验证原有手机号“选项
1065
- *
1066
- * @example
1067
- *
1068
- * authenticationClient.updatePhone('176xxxx7041', '1234', '156xxxx9876', '1234') // 开启了“验证原有手机号“选项
1069
- *
1070
- *
1071
- * @returns {Promise<User>}
1072
- * @memberof AuthenticationClient
1073
- */
1074
- AuthenticationClient.prototype.updatePhone = function (phone, phoneCode, oldPhone, oldPhoneCode) {
1075
- return __awaiter(this, void 0, void 0, function () {
1076
- var user;
1077
- return __generator(this, function (_a) {
1078
- switch (_a.label) {
1079
- case 0: return [4 /*yield*/, updatePhone(this.graphqlClient, this.tokenProvider, {
1080
- phone: phone,
1081
- phoneCode: phoneCode,
1082
- oldPhone: oldPhone,
1083
- oldPhoneCode: oldPhoneCode
1084
- })];
1085
- case 1:
1086
- user = (_a.sent()).updatePhone;
1087
- return [2 /*return*/, user];
1088
- }
1089
- });
1090
- });
1091
- };
1092
- /**
1093
- * @name updateEmail
1094
- * @name_zh 更新用户邮箱
1095
- * @description 如果用户已经绑定了邮箱,默认情况下,需要同时验证原有邮箱(目前账号绑定的邮箱)和当前邮箱(将要绑定的邮箱)。也就是说,用户 A 当前绑定的邮箱为 123456@qq.com,想修改为 1234567@qq.com,那么就需要同时验证这两个邮箱。
1096
- * 开发者也可以选择不开启 “验证原有邮箱“ ,可以在 Authing 控制台 的 设置目录下的安全信息模块进行关闭。
1097
- * 用户首次绑定手机号请使用 bindEmail 接口。
1098
- *
1099
- * @param {string} email 新邮箱
1100
- * @param {string} emailCode 新邮箱的验证码
1101
- * @param {string} [oldEmail] 旧邮箱
1102
- * @param {string} [oldEmailCode] 旧邮箱的验证码
1103
- *
1104
- * @example
1105
- *
1106
- * authenticationClient.updateEmail('test@example.com', '1234') // 关闭了“验证原有邮箱“选项
1107
- *
1108
- * @example
1109
- *
1110
- * authenticationClient.updateEmail('test@example.com', '1234', 'test2@example.com', '1234') // 开启了“验证原有邮箱“选项
1111
- *
1112
- *
1113
- * @returns {Promise<User>}
1114
- * @memberof AuthenticationClient
1115
- */
1116
- AuthenticationClient.prototype.updateEmail = function (email, emailCode, oldEmail, oldEmailCode) {
1117
- return __awaiter(this, void 0, void 0, function () {
1118
- var user;
1119
- return __generator(this, function (_a) {
1120
- switch (_a.label) {
1121
- case 0: return [4 /*yield*/, updateEmail(this.graphqlClient, this.tokenProvider, {
1122
- email: email,
1123
- emailCode: emailCode,
1124
- oldEmail: oldEmail,
1125
- oldEmailCode: oldEmailCode
1126
- })];
1127
- case 1:
1128
- user = (_a.sent()).updateEmail;
1129
- return [2 /*return*/, user];
1130
- }
1131
- });
1132
- });
1133
- };
1134
- /**
1135
- * @name refreshToken
1136
- * @name_zh 刷新当前用户的 token
1137
- * @description 刷新当前用户的 token,调用此接口要求先登录。
1138
- *
1139
- * @example
1140
- *
1141
- * authenticationClient.updateEmail()
1142
- *
1143
- * @returns {Promise<RefreshToken>}
1144
- * @memberof AuthenticationClient
1145
- */
1146
- AuthenticationClient.prototype.refreshToken = function () {
1147
- return __awaiter(this, void 0, void 0, function () {
1148
- var data;
1149
- return __generator(this, function (_a) {
1150
- switch (_a.label) {
1151
- case 0: return [4 /*yield*/, refreshToken(this.graphqlClient, this.tokenProvider, {})];
1152
- case 1:
1153
- data = (_a.sent()).refreshToken;
1154
- this.setToken(data.token);
1155
- return [2 /*return*/, data];
1156
- }
1157
- });
1158
- });
1159
- };
1160
- /**
1161
- * @name linkAccount
1162
- * @name_zh 关联账号
1163
- * @description 将社交账号绑定到主账号(手机号、邮箱账号)。
1164
- *
1165
- * @param {Object} options
1166
- * @param {string} options.primaryUserToken 主账号 Token
1167
- * @param {string} options.secondaryUserToken 社交账号 Token
1168
- *
1169
- * @example
1170
- *
1171
- * authenticationClient.linkAccount({ primaryUserToken: '', secondaryUserToken: '' })
1172
- *
1173
- * @returns {{code: 200, message: "绑定成功"}}
1174
- * @memberof AuthenticationClient
1175
- */
1176
- AuthenticationClient.prototype.linkAccount = function (options) {
1177
- return __awaiter(this, void 0, void 0, function () {
1178
- return __generator(this, function (_a) {
1179
- switch (_a.label) {
1180
- case 0: return [4 /*yield*/, this.httpClient.request({
1181
- method: 'POST',
1182
- url: this.baseClient.appHost + "/api/v2/users/link",
1183
- data: {
1184
- primaryUserToken: options.primaryUserToken,
1185
- secondaryUserToken: options.secondaryUserToken
1186
- }
1187
- })];
1188
- case 1:
1189
- _a.sent();
1190
- return [2 /*return*/, { code: 200, message: '绑定成功' }];
1191
- }
1192
- });
1193
- });
1194
- };
1195
- /**
1196
- * @name unLinkAccount
1197
- * @name_zh 解除账号绑定
1198
- * @description 将社交账号从主账号(手机号、邮箱账号)解绑。
1199
- *
1200
- * @param {Object} options
1201
- * @param {string} options.primaryUserToken 主账号 Token
1202
- * @param {string} options.provider 社交账号的提供商名称
1203
- *
1204
- * @example
1205
- *
1206
- * authenticationClient.unLinkAccount({ primaryUserToken: '', provider: 'wechat:pc' })
1207
- *
1208
- * @returns {{code: 200, message: "解绑成功"}}
1209
- * @memberof AuthenticationClient
1210
- */
1211
- AuthenticationClient.prototype.unLinkAccount = function (options) {
1212
- return __awaiter(this, void 0, void 0, function () {
1213
- return __generator(this, function (_a) {
1214
- switch (_a.label) {
1215
- case 0: return [4 /*yield*/, this.httpClient.request({
1216
- method: 'POST',
1217
- url: this.baseClient.appHost + "/api/v2/users/unlink",
1218
- data: {
1219
- primaryUserToken: options.primaryUserToken,
1220
- provider: options.provider
1221
- }
1222
- })];
1223
- case 1:
1224
- _a.sent();
1225
- return [2 /*return*/, { code: 200, message: '解绑成功' }];
1226
- }
1227
- });
1228
- });
1229
- };
1230
- /**
1231
- * @name bindPhone
1232
- * @name_zh 绑定手机号
1233
- * @description 用户初次绑定手机号,如果需要修改手机号请使用 updatePhone 接口。
1234
- *
1235
- * @param {string} phone
1236
- * @param {string} phoneCode
1237
- *
1238
- * @example
1239
- *
1240
- * authenticationClient.bindPhone('176xxxx7041', '1234')
1241
- *
1242
- * @returns {Promise<User>}
1243
- * @memberof AuthenticationClient
1244
- */
1245
- AuthenticationClient.prototype.bindPhone = function (phone, phoneCode) {
1246
- return __awaiter(this, void 0, void 0, function () {
1247
- var user;
1248
- return __generator(this, function (_a) {
1249
- switch (_a.label) {
1250
- case 0: return [4 /*yield*/, bindPhone(this.graphqlClient, this.tokenProvider, {
1251
- phone: phone,
1252
- phoneCode: phoneCode
1253
- })];
1254
- case 1:
1255
- user = (_a.sent()).bindPhone;
1256
- this.setCurrentUser(user);
1257
- return [2 /*return*/, user];
1258
- }
1259
- });
1260
- });
1261
- };
1262
- /**
1263
- * @name unbindPhone
1264
- * @name_zh 解绑手机号
1265
- * @description 用户解绑手机号
1266
- *
1267
- * @example
1268
- *
1269
- * authenticationClient.unbindPhone()
1270
- *
1271
- * @returns {Promise<User>}
1272
- * @memberof AuthenticationClient
1273
- */
1274
- AuthenticationClient.prototype.unbindPhone = function () {
1275
- return __awaiter(this, void 0, void 0, function () {
1276
- var user;
1277
- return __generator(this, function (_a) {
1278
- switch (_a.label) {
1279
- case 0: return [4 /*yield*/, unbindPhone(this.graphqlClient, this.tokenProvider, {})];
1280
- case 1:
1281
- user = (_a.sent()).unbindPhone;
1282
- this.setCurrentUser(user);
1283
- return [2 /*return*/, user];
1284
- }
1285
- });
1286
- });
1287
- };
1288
- /**
1289
- * @name bindEmail
1290
- * @name_zh 绑定邮箱号
1291
- * @description 用户邮箱号
1292
- *
1293
- * @param {string} email
1294
- * @param {string} emailCode
1295
- *
1296
- * @example
1297
- *
1298
- * authenticationClient.bindEmail('test@example.com', '1234')
1299
- *
1300
- * @returns {Promise<User>}
1301
- * @memberof AuthenticationClient
1302
- */
1303
- AuthenticationClient.prototype.bindEmail = function (email, emailCode) {
1304
- return __awaiter(this, void 0, void 0, function () {
1305
- var user;
1306
- return __generator(this, function (_a) {
1307
- switch (_a.label) {
1308
- case 0: return [4 /*yield*/, bindEmail(this.graphqlClient, this.tokenProvider, {
1309
- email: email,
1310
- emailCode: emailCode
1311
- })];
1312
- case 1:
1313
- user = (_a.sent()).bindEmail;
1314
- this.setCurrentUser(user);
1315
- return [2 /*return*/, user];
1316
- }
1317
- });
1318
- });
1319
- };
1320
- /**
1321
- * @name unbindEmail
1322
- * @name_zh 解绑邮箱号
1323
- * @description 用户解绑邮箱号
1324
- *
1325
- * @example
1326
- *
1327
- * authenticationClient.unbindPhone()
1328
- *
1329
- * @returns {Promise<User>}
1330
- * @memberof AuthenticationClient
1331
- */
1332
- AuthenticationClient.prototype.unbindEmail = function () {
1333
- return __awaiter(this, void 0, void 0, function () {
1334
- var user;
1335
- return __generator(this, function (_a) {
1336
- switch (_a.label) {
1337
- case 0: return [4 /*yield*/, unbindEmail(this.graphqlClient, this.tokenProvider, {})];
1338
- case 1:
1339
- user = (_a.sent()).unbindEmail;
1340
- this.setCurrentUser(user);
1341
- return [2 /*return*/, user];
1342
- }
1343
- });
1344
- });
1345
- };
1346
- /**
1347
- * @name getCurrentUser
1348
- * @name_zh 获取当前登录的用户信息
1349
- * @description 获取当前登录的用户信息
1350
- *
1351
- * @example
1352
- *
1353
- * authenticationClient.getCurrentUser()
1354
- *
1355
- * @returns {Promise<User>}
1356
- * @memberof AuthenticationClient
1357
- */
1358
- AuthenticationClient.prototype.getCurrentUser = function () {
1359
- return __awaiter(this, void 0, void 0, function () {
1360
- var data, _a;
1361
- return __generator(this, function (_b) {
1362
- switch (_b.label) {
1363
- case 0:
1364
- _b.trys.push([0, 2, , 3]);
1365
- return [4 /*yield*/, user(this.graphqlClient, this.tokenProvider, {})];
1366
- case 1:
1367
- data = (_b.sent()).user;
1368
- this.setCurrentUser(data);
1369
- return [2 /*return*/, data];
1370
- case 2:
1371
- _a = _b.sent();
1372
- return [2 /*return*/, null];
1373
- case 3: return [2 /*return*/];
1374
- }
1375
- });
1376
- });
1377
- };
1378
- /**
1379
- * @name logout
1380
- * @name_zh 退出登录
1381
- * @description 退出登录,清空 localStorage 里的 user 和 token
1382
- *
1383
- * @example
1384
- *
1385
- * authenticationClient.logout()
1386
- *
1387
- * @returns {null}
1388
- * @memberof AuthenticationClient
1389
- */
1390
- AuthenticationClient.prototype.logout = function () {
1391
- return __awaiter(this, void 0, void 0, function () {
1392
- return __generator(this, function (_a) {
1393
- switch (_a.label) {
1394
- case 0: return [4 /*yield*/, this.httpClient.request({
1395
- method: 'GET',
1396
- url: this.baseClient.appHost + "/api/v2/logout?app_id=" + this.options.appId,
1397
- withCredentials: true
1398
- })];
1399
- case 1:
1400
- _a.sent();
1401
- this.tokenProvider.clearUser();
1402
- return [2 /*return*/];
1403
- }
1404
- });
1405
- });
1406
- };
1407
- /**
1408
- * @name listUdv
1409
- * @name_zh 获取当前用户的自定义数据列表
1410
- * @description 获取当前用户的自定义数据列表
1411
- * @deprecated use getUdfValue instead
1412
- *
1413
- * @example
1414
- *
1415
- * authenticationClient.listUdv()
1416
- *
1417
- * @returns {Promise<Array<UserDefinedData>>}
1418
- * @memberof AuthenticationClient
1419
- */
1420
- AuthenticationClient.prototype.listUdv = function () {
1421
- return __awaiter(this, void 0, void 0, function () {
1422
- var userId, list;
1423
- return __generator(this, function (_a) {
1424
- switch (_a.label) {
1425
- case 0:
1426
- userId = this.checkLoggedIn();
1427
- return [4 /*yield*/, udv(this.graphqlClient, this.tokenProvider, {
1428
- targetType: UdfTargetType.User,
1429
- targetId: userId
1430
- })];
1431
- case 1:
1432
- list = (_a.sent()).udv;
1433
- return [2 /*return*/, convertUdv(list)];
1434
- }
1435
- });
1436
- });
1437
- };
1438
- /**
1439
- * @name setUdv
1440
- * @name_zh 添加自定义数据
1441
- * @description 添加自定义数据
1442
- *
1443
- * @param {string} key 自定义字段的 key
1444
- * @param {any} value 自定义数据的值,值的类型必须要和用户池定义的自定义字段类型一致。
1445
- *
1446
- * @example
1447
- *
1448
- * authenticationClient.setUdv('school', '清华大学') // 要求用户必须定义了 school 这个字段。
1449
- *
1450
- * @returns {Promise<Array<UserDefinedData>>}
1451
- * @memberof AuthenticationClient
1452
- */
1453
- AuthenticationClient.prototype.setUdv = function (key, value) {
1454
- return __awaiter(this, void 0, void 0, function () {
1455
- var userId, list;
1456
- return __generator(this, function (_a) {
1457
- switch (_a.label) {
1458
- case 0:
1459
- userId = this.checkLoggedIn();
1460
- value = JSON.stringify(value);
1461
- return [4 /*yield*/, setUdv(this.graphqlClient, this.tokenProvider, {
1462
- targetType: UdfTargetType.User,
1463
- targetId: userId,
1464
- key: key,
1465
- value: value
1466
- })];
1467
- case 1:
1468
- list = (_a.sent()).setUdv;
1469
- return [2 /*return*/, convertUdv(list)];
1470
- }
1471
- });
1472
- });
1473
- };
1474
- /**
1475
- * @name removeUdv
1476
- * @name_zh 删除自定义数据
1477
- * @description 删除自定义数据
1478
- *
1479
- * @param key 自定义字段的 key
1480
- *
1481
- * @example
1482
- *
1483
- * authenticationClient.removeUdv('school')
1484
- *
1485
- *
1486
- * @returns {Promise<Array<UserDefinedData>>}
1487
- * @memberof AuthenticationClient
1488
- */
1489
- AuthenticationClient.prototype.removeUdv = function (key) {
1490
- return __awaiter(this, void 0, void 0, function () {
1491
- var userId, list;
1492
- return __generator(this, function (_a) {
1493
- switch (_a.label) {
1494
- case 0:
1495
- userId = this.checkLoggedIn();
1496
- return [4 /*yield*/, removeUdv(this.graphqlClient, this.tokenProvider, {
1497
- targetType: UdfTargetType.User,
1498
- targetId: userId,
1499
- key: key
1500
- })];
1501
- case 1:
1502
- list = (_a.sent()).removeUdv;
1503
- return [2 /*return*/, convertUdv(list)];
1504
- }
1505
- });
1506
- });
1507
- };
1508
- /**
1509
- * @name listOrg
1510
- * @name_zh 获取用户所在组织机构
1511
- * @description 获取用户所在的组织机构立碑,以及他所属的节点在此组织机构内的完整路径。
1512
- *
1513
- * @example
1514
- *
1515
- * const data = await authenticationClient.listOrgs();
1516
- *
1517
- * @returns {Promise<UserOrgList>}
1518
- *
1519
- * @memberof AuthenticationClient
1520
- */
1521
- AuthenticationClient.prototype.listOrgs = function () {
1522
- return __awaiter(this, void 0, void 0, function () {
1523
- return __generator(this, function (_a) {
1524
- switch (_a.label) {
1525
- case 0: return [4 /*yield*/, this.httpClient.request({
1526
- method: 'GET',
1527
- url: this.baseClient.appHost + "/api/v2/users/me/orgs"
1528
- })];
1529
- case 1: return [2 /*return*/, _a.sent()];
1530
- }
1531
- });
1532
- });
1533
- };
1534
- /**
1535
- * @description 获取用户
1536
- *
1537
- */
1538
- AuthenticationClient.prototype.listDepartments = function () {
1539
- return __awaiter(this, void 0, void 0, function () {
1540
- var userId, departments;
1541
- return __generator(this, function (_a) {
1542
- switch (_a.label) {
1543
- case 0:
1544
- userId = this.checkLoggedIn();
1545
- return [4 /*yield*/, getUserDepartments(this.graphqlClient, this.tokenProvider, {
1546
- id: userId
1547
- })];
1548
- case 1:
1549
- departments = (_a.sent()).user.departments;
1550
- return [2 /*return*/, departments];
1551
- }
1552
- });
1553
- });
1554
- };
1555
- /**
1556
- * @name loginByLdap
1557
- * @name_zh 使用 LDAP 用户名登录
1558
- * @description 使用 LDAP 用户名登录。
1559
- *
1560
- * 如果你的用户池配置了登录失败检测,当同一 IP 下登录多次失败的时候会要求用户输入图形验证码(code 为 2000)。
1561
- *
1562
- * @param {string} username 用户名
1563
- * @param {string} password 密码
1564
- * @param {Object} [options]
1565
- * @param {boolean} [options.autoRegister] 是否自动注册。如果检测到用户不存在,会根据登录账密自动创建一个账号。
1566
- * @param {string} [options.captchaCode] 图形验证码
1567
- * @param {string} [options.clientIp] 客户端真实 IP,如果你在服务器端调用此接口,请务必将此参数设置为终端用户的真实 IP。
1568
- *
1569
- *
1570
- * @example
1571
- * const authenticationClient = new AuthenticationClient({
1572
- * appId: '应用 ID'
1573
- * })
1574
- *
1575
- * authenticationClient.loginByLdap(
1576
- * 'admin',
1577
- * 'admin',
1578
- * )
1579
- *
1580
- *
1581
- * @returns {Promise<User>}
1582
- * @memberof AuthenticationClient
1583
- */
1584
- AuthenticationClient.prototype.loginByLdap = function (username, password, options) {
1585
- return __awaiter(this, void 0, void 0, function () {
1586
- var api, user;
1587
- return __generator(this, function (_a) {
1588
- switch (_a.label) {
1589
- case 0:
1590
- options = options || {};
1591
- api = this.baseClient.appHost + "/api/v2/ldap/verify-user";
1592
- return [4 /*yield*/, this.httpClient.request({
1593
- method: 'POST',
1594
- url: api,
1595
- data: {
1596
- username: username,
1597
- password: password
1598
- }
1599
- })];
1600
- case 1:
1601
- user = _a.sent();
1602
- this.setCurrentUser(user);
1603
- return [2 /*return*/, user];
1604
- }
1605
- });
1606
- });
1607
- };
1608
- /**
1609
- * @name loginByAd
1610
- * @name_zh 使用 AD 用户名登录
1611
- * @description 使用 AD 用户名登录。
1612
- *
1613
- * @param {string} username 用户名
1614
- * @param {string} password 密码
1615
- *
1616
- *
1617
- * @example
1618
- * const authenticationClient = new AuthenticationClient({
1619
- * appId: '应用 ID'
1620
- * })
1621
- *
1622
- * authenticationClient.loginByAd(
1623
- * 'admin',
1624
- * 'admin',
1625
- * )
1626
- *
1627
- * @returns {Promise<User>}
1628
- * @memberof AuthenticationClient
1629
- */
1630
- AuthenticationClient.prototype.loginByAd = function (username, password) {
1631
- return __awaiter(this, void 0, void 0, function () {
1632
- var firstLevelDomain, websocketHost, api, user;
1633
- return __generator(this, function (_a) {
1634
- switch (_a.label) {
1635
- case 0:
1636
- firstLevelDomain = new URL(this.baseClient.appHost).hostname
1637
- .split('.')
1638
- .slice(1)
1639
- .join('.');
1640
- websocketHost = this.options.websocketHost || "https://ws." + firstLevelDomain;
1641
- api = websocketHost + "/api/v2/ad/verify-user";
1642
- return [4 /*yield*/, this.httpClient.request({
1643
- method: 'POST',
1644
- url: api,
1645
- data: {
1646
- username: username,
1647
- password: password
1648
- }
1649
- })];
1650
- case 1:
1651
- user = _a.sent();
1652
- this.setCurrentUser(user);
1653
- return [2 /*return*/, user];
1654
- }
1655
- });
1656
- });
1657
- };
1658
- /**
1659
- * @description 上传图片
1660
- */
1661
- AuthenticationClient.prototype.uploadPhoto = function (accept, cb) {
1662
- accept = accept || 'image/*';
1663
- var authing = this;
1664
- uploadFile({
1665
- accept: accept,
1666
- url: this.baseClient.appHost + "/api/v2/upload?folder=avatar"
1667
- })
1668
- .then(function (_a) {
1669
- var url = _a.url;
1670
- return cb(url);
1671
- })
1672
- .catch(function (_a) {
1673
- var code = _a.code, message = _a.message;
1674
- return authing.options.onError(code, message);
1675
- });
1676
- };
1677
- /**
1678
- * @deprecated use uploadAvatar instead
1679
- * @description 更新用户头像
1680
- */
1681
- AuthenticationClient.prototype.updateAvatar = function (options) {
1682
- return __awaiter(this, void 0, void 0, function () {
1683
- return __generator(this, function (_a) {
1684
- switch (_a.label) {
1685
- case 0: return [4 /*yield*/, this.uploadAvatar(options)];
1686
- case 1: return [2 /*return*/, _a.sent()];
1687
- }
1688
- });
1689
- });
1690
- };
1691
- /**
1692
- * @description 一键上传图片并更新用户头像
1693
- *
1694
- * @param {Object} options
1695
- * @param {string} options.accept 支持的图片格式,默认为 'image/*'
1696
- *
1697
- * @example
1698
- * const authenticationClient = new AuthenticationClient({
1699
- * appId: 'APP_ID',
1700
- * appHost: 'https://xxx.authing.cn'
1701
- * })
1702
- *
1703
- * // 会自动打开浏览器文件上传框,并自动完成图片文件上传 CDN、修改用户头像操作。
1704
- * authenticationClient.uploadAvatar()
1705
- *
1706
- * // 只支持 png 格式图片
1707
- * authenticationClient.uploadAvatar({
1708
- * accept: '.png'
1709
- * })
1710
- *
1711
- * @returns
1712
- */
1713
- AuthenticationClient.prototype.uploadAvatar = function (options) {
1714
- return __awaiter(this, void 0, void 0, function () {
1715
- var accept, task, src, user;
1716
- var _this = this;
1717
- return __generator(this, function (_a) {
1718
- switch (_a.label) {
1719
- case 0:
1720
- accept = (options || {}).accept;
1721
- this.checkLoggedIn();
1722
- task = new Promise(function (resolve) {
1723
- _this.uploadPhoto(accept, function (src) {
1724
- resolve(src);
1725
- });
1726
- });
1727
- return [4 /*yield*/, task];
1728
- case 1:
1729
- src = _a.sent();
1730
- return [4 /*yield*/, this.updateProfile({ photo: src })];
1731
- case 2:
1732
- user = _a.sent();
1733
- this.setCurrentUser(user);
1734
- return [2 /*return*/, user];
1735
- }
1736
- });
1737
- });
1738
- };
1739
- /**
1740
- * @description 获取当前用户的所有自定义数据
1741
- *
1742
- */
1743
- AuthenticationClient.prototype.getUdfValue = function () {
1744
- return __awaiter(this, void 0, void 0, function () {
1745
- var userId, list;
1746
- return __generator(this, function (_a) {
1747
- switch (_a.label) {
1748
- case 0:
1749
- userId = this.checkLoggedIn();
1750
- return [4 /*yield*/, udv(this.graphqlClient, this.tokenProvider, {
1751
- targetType: UdfTargetType.User,
1752
- targetId: userId
1753
- })];
1754
- case 1:
1755
- list = (_a.sent()).udv;
1756
- return [2 /*return*/, convertUdvToKeyValuePair(list)];
1757
- }
1758
- });
1759
- });
1760
- };
1761
- /**
1762
- * @description 设置自定义字段值
1763
- *
1764
- */
1765
- AuthenticationClient.prototype.setUdfValue = function (data) {
1766
- return __awaiter(this, void 0, void 0, function () {
1767
- var userId;
1768
- return __generator(this, function (_a) {
1769
- switch (_a.label) {
1770
- case 0:
1771
- if (Object.keys(data).length === 0) {
1772
- throw new Error('empty udf value list');
1773
- }
1774
- userId = this.checkLoggedIn();
1775
- return [4 /*yield*/, setUdvBatch(this.graphqlClient, this.tokenProvider, {
1776
- targetType: UdfTargetType.User,
1777
- targetId: userId,
1778
- udvList: Object.keys(data).map(function (key) { return ({
1779
- key: key,
1780
- value: JSON.stringify(data[key])
1781
- }); })
1782
- })];
1783
- case 1:
1784
- _a.sent();
1785
- return [2 /*return*/];
1786
- }
1787
- });
1788
- });
1789
- };
1790
- /**
1791
- * @description 删除用户自定义数据
1792
- */
1793
- AuthenticationClient.prototype.removeUdfValue = function (key) {
1794
- return __awaiter(this, void 0, void 0, function () {
1795
- var userId;
1796
- return __generator(this, function (_a) {
1797
- switch (_a.label) {
1798
- case 0:
1799
- userId = this.checkLoggedIn();
1800
- return [4 /*yield*/, removeUdv(this.graphqlClient, this.tokenProvider, {
1801
- targetType: UdfTargetType.User,
1802
- targetId: userId,
1803
- key: key
1804
- })];
1805
- case 1:
1806
- _a.sent();
1807
- return [2 /*return*/];
1808
- }
1809
- });
1810
- });
1811
- };
1812
- /**
1813
- * @name getSecurityLevel
1814
- * @name_zh 用户安全等级
1815
- * @description 获取用户的安全等级评分
1816
- *
1817
- * @example
1818
- *
1819
- * const data = await authenticationClient.getSecurityLevel();
1820
- *
1821
- * @returns {Promise<SecurityLevel>}
1822
- *
1823
- * @memberof AuthenticationClient
1824
- */
1825
- AuthenticationClient.prototype.getSecurityLevel = function () {
1826
- return __awaiter(this, void 0, void 0, function () {
1827
- return __generator(this, function (_a) {
1828
- switch (_a.label) {
1829
- case 0: return [4 /*yield*/, this.httpClient.request({
1830
- method: 'GET',
1831
- url: this.baseClient.appHost + "/api/v2/users/me/security-level"
1832
- })];
1833
- case 1: return [2 /*return*/, _a.sent()];
1834
- }
1835
- });
1836
- });
1837
- };
1838
- /**
1839
- * @description 获取用户被授权的所有资源
1840
- *
1841
- * @param userId
1842
- * @param namespace
1843
- */
1844
- AuthenticationClient.prototype.listAuthorizedResources = function (namespace, options) {
1845
- return __awaiter(this, void 0, void 0, function () {
1846
- var userId, resourceType, user, _a, list, totalCount;
1847
- return __generator(this, function (_b) {
1848
- switch (_b.label) {
1849
- case 0:
1850
- userId = this.checkLoggedIn();
1851
- resourceType = (options || {}).resourceType;
1852
- return [4 /*yield*/, listUserAuthorizedResources(this.graphqlClient, this.tokenProvider, {
1853
- id: userId,
1854
- namespace: namespace,
1855
- resourceType: resourceType
1856
- })];
1857
- case 1:
1858
- user = (_b.sent()).user;
1859
- if (!user) {
1860
- throw new Error('用户不存在');
1861
- }
1862
- _a = user.authorizedResources, list = _a.list, totalCount = _a.totalCount;
1863
- list = formatAuthorizedResources(list);
1864
- return [2 /*return*/, {
1865
- list: list,
1866
- totalCount: totalCount
1867
- }];
1868
- }
1869
- });
1870
- });
1871
- };
1872
- /**
1873
- * @name computedPasswordSecurityLevel
1874
- * @name_zh 计算密码安全等级
1875
- * @description 计算密码安全等级
1876
- *
1877
- * @example
1878
- *
1879
- * const data = authenticationClient.computedPasswordSecurityLevel('xxxxxxxx');
1880
- *
1881
- * @returns {PasswordSecurityLevel}
1882
- *
1883
- * @memberof AuthenticationClient
1884
- */
1885
- AuthenticationClient.prototype.computedPasswordSecurityLevel = function (password) {
1886
- if (typeof password !== 'string') {
1887
- throw 'password must be a `string`';
1888
- }
1889
- var highLevel = new RegExp(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{12,}$/g);
1890
- var middleLevel = new RegExp(/^(?=.*[a-zA-Z])(?=.*\d)[^]{8,}$/g);
1891
- if (password.match(highLevel) !== null) {
1892
- return PasswordSecurityLevel.HIGH;
1893
- }
1894
- if (password.match(middleLevel) !== null) {
1895
- return PasswordSecurityLevel.MIDDLE;
1896
- }
1897
- return PasswordSecurityLevel.LOW;
1898
- };
1899
- AuthenticationClient.prototype._generateTokenRequest = function (params) {
1900
- var ret = {};
1901
- // 删掉所有 undefined 的 kv
1902
- Object.keys(params).map(function (key) {
1903
- if (typeof params[key] !== 'undefined') {
1904
- ret[key] = params[key];
1905
- }
1906
- });
1907
- var p = new URLSearchParams(ret);
1908
- return p.toString();
1909
- };
1910
- AuthenticationClient.prototype._generateBasicAuthToken = function (appId, secret) {
1911
- var id = appId || this.options.appId;
1912
- var s = secret || this.options.secret;
1913
- var token = 'Basic ' + Buffer.from(id + ':' + s).toString('base64');
1914
- return token;
1915
- };
1916
- /**
1917
- * @param {string} code 授权码 code
1918
- * @param {string} codeVerifier 校验码 codeVerifier
1919
- */
1920
- AuthenticationClient.prototype._getAccessTokenByCodeWithClientSecretPost = function (code, codeVerifier) {
1921
- return __awaiter(this, void 0, void 0, function () {
1922
- var qstr, api, tokenSet;
1923
- return __generator(this, function (_a) {
1924
- switch (_a.label) {
1925
- case 0:
1926
- qstr = this._generateTokenRequest({
1927
- client_id: this.options.appId,
1928
- client_secret: this.options.secret,
1929
- grant_type: 'authorization_code',
1930
- code: code,
1931
- redirect_uri: this.options.redirectUri,
1932
- code_verifier: codeVerifier
1933
- });
1934
- api = '';
1935
- if (this.options.protocol === 'oidc') {
1936
- api = this.baseClient.appHost + "/oidc/token";
1937
- }
1938
- else if (this.options.protocol === 'oauth') {
1939
- api = this.baseClient.appHost + "/oauth/token";
1940
- }
1941
- return [4 /*yield*/, this.naiveHttpClient.request({
1942
- method: 'POST',
1943
- url: api,
1944
- data: qstr,
1945
- headers: {
1946
- 'Content-Type': 'application/x-www-form-urlencoded'
1947
- }
1948
- })];
1949
- case 1:
1950
- tokenSet = _a.sent();
1951
- return [2 /*return*/, tokenSet];
1952
- }
1953
- });
1954
- });
1955
- };
1956
- /**
1957
- * @param {string} code 授权码 code
1958
- * @param {string} codeVerifier 校验码 codeVerifier
1959
- */
1960
- AuthenticationClient.prototype._getAccessTokenByCodeWithClientSecretBasic = function (code, codeVerifier) {
1961
- return __awaiter(this, void 0, void 0, function () {
1962
- var api, qstr, tokenSet;
1963
- return __generator(this, function (_a) {
1964
- switch (_a.label) {
1965
- case 0:
1966
- api = '';
1967
- if (this.options.protocol === 'oidc') {
1968
- api = this.baseClient.appHost + "/oidc/token";
1969
- }
1970
- else if (this.options.protocol === 'oauth') {
1971
- api = this.baseClient.appHost + "/oauth/token";
1972
- }
1973
- qstr = this._generateTokenRequest({
1974
- grant_type: 'authorization_code',
1975
- code: code,
1976
- redirect_uri: this.options.redirectUri,
1977
- code_verifier: codeVerifier
1978
- });
1979
- return [4 /*yield*/, this.naiveHttpClient.request({
1980
- data: qstr,
1981
- method: 'POST',
1982
- url: api,
1983
- headers: {
1984
- Authorization: this._generateBasicAuthToken()
1985
- }
1986
- })];
1987
- case 1:
1988
- tokenSet = _a.sent();
1989
- return [2 /*return*/, tokenSet];
1990
- }
1991
- });
1992
- });
1993
- };
1994
- /**
1995
- * @param {string} code 授权码 code
1996
- * @param {string} codeVerifier 校验码 codeVerifier
1997
- */
1998
- AuthenticationClient.prototype._getAccessTokenByCodeWithNone = function (code, codeVerifier) {
1999
- return __awaiter(this, void 0, void 0, function () {
2000
- var api, qstr, tokenSet;
2001
- return __generator(this, function (_a) {
2002
- switch (_a.label) {
2003
- case 0:
2004
- api = '';
2005
- if (this.options.protocol === 'oidc') {
2006
- api = this.baseClient.appHost + "/oidc/token";
2007
- }
2008
- else if (this.options.protocol === 'oauth') {
2009
- api = this.baseClient.appHost + "/oauth/token";
2010
- }
2011
- qstr = this._generateTokenRequest({
2012
- client_id: this.options.appId,
2013
- grant_type: 'authorization_code',
2014
- code: code,
2015
- redirect_uri: this.options.redirectUri,
2016
- code_verifier: codeVerifier
2017
- });
2018
- return [4 /*yield*/, this.naiveHttpClient.request({
2019
- method: 'POST',
2020
- url: api,
2021
- data: qstr
2022
- })];
2023
- case 1:
2024
- tokenSet = _a.sent();
2025
- return [2 /*return*/, tokenSet];
2026
- }
2027
- });
2028
- });
2029
- };
2030
- AuthenticationClient.prototype.getAccessTokenByCode = function (code, options) {
2031
- return __awaiter(this, void 0, void 0, function () {
2032
- return __generator(this, function (_a) {
2033
- switch (_a.label) {
2034
- case 0:
2035
- if (!['oauth', 'oidc'].includes(this.options.protocol)) {
2036
- throw new Error('初始化 AuthenticationClient 时传入的 protocol 参数必须为 oauth 或 oidc,请检查参数');
2037
- }
2038
- if (!this.options.secret &&
2039
- this.options.tokenEndPointAuthMethod !== 'none') {
2040
- throw new Error('请在初始化 AuthenticationClient 时传入 appId 和 secret 参数');
2041
- }
2042
- if (!(this.options.tokenEndPointAuthMethod === 'client_secret_post')) return [3 /*break*/, 2];
2043
- return [4 /*yield*/, this._getAccessTokenByCodeWithClientSecretPost(code, options === null || options === void 0 ? void 0 : options.codeVerifier)];
2044
- case 1: return [2 /*return*/, _a.sent()];
2045
- case 2:
2046
- if (!(this.options.tokenEndPointAuthMethod === 'client_secret_basic')) return [3 /*break*/, 4];
2047
- return [4 /*yield*/, this._getAccessTokenByCodeWithClientSecretBasic(code, options === null || options === void 0 ? void 0 : options.codeVerifier)];
2048
- case 3: return [2 /*return*/, _a.sent()];
2049
- case 4:
2050
- if (!(this.options.tokenEndPointAuthMethod === 'none')) return [3 /*break*/, 6];
2051
- return [4 /*yield*/, this._getAccessTokenByCodeWithNone(code, options === null || options === void 0 ? void 0 : options.codeVerifier)];
2052
- case 5: return [2 /*return*/, _a.sent()];
2053
- case 6: return [2 /*return*/];
2054
- }
2055
- });
2056
- });
2057
- };
2058
- AuthenticationClient.prototype.generateCodeChallenge = function () {
2059
- return generateRandomString(43);
2060
- };
2061
- AuthenticationClient.prototype.getCodeChallengeDigest = function (options) {
2062
- if (!options) {
2063
- throw new Error('请提供 options 参数,options.codeChallenge 为一个长度大于等于 43 的字符串,options.method 可选值为 S256、plain');
2064
- }
2065
- if (!options.codeChallenge) {
2066
- throw new Error('请提供 options.codeChallenge,值为一个长度大于等于 43 的字符串');
2067
- }
2068
- var _a = options.method, method = _a === void 0 ? 'S256' : _a;
2069
- if (method === 'S256') {
2070
- // url safe base64
2071
- return sha256(options.codeChallenge)
2072
- .toString(CryptoJS.enc.Base64)
2073
- .replace(/\+/g, '-')
2074
- .replace(/\//g, '_')
2075
- .replace(/=/g, '');
2076
- }
2077
- if (method === 'plain') {
2078
- return options.codeChallenge;
2079
- }
2080
- throw new Error('不支持的 options.method,可选值为 S256、plain');
2081
- };
2082
- AuthenticationClient.prototype.getAccessTokenByClientCredentials = function (scope, options) {
2083
- return __awaiter(this, void 0, void 0, function () {
2084
- var i, s, qstr, api, tokenSet;
2085
- return __generator(this, function (_a) {
2086
- switch (_a.label) {
2087
- case 0:
2088
- if (!scope) {
2089
- throw new Error('请传入 scope 参数,请看文档:https://docs.authing.cn/v2/guides/authorization/m2m-authz.html');
2090
- }
2091
- if (!options) {
2092
- throw new Error('请在调用本方法时传入 { accessKey: string, accessSecret: string },请看文档:https://docs.authing.cn/v2/guides/authorization/m2m-authz.html'
2093
- // '请在初始化 AuthenticationClient 时传入 appId 和 secret 参数或者在调用本方法时传入 { accessKey: string, accessSecret: string },请看文档:https://docs.authing.cn/v2/guides/authorization/m2m-authz.html'
2094
- );
2095
- }
2096
- i = (options === null || options === void 0 ? void 0 : options.accessKey) || this.options.appId;
2097
- s = (options === null || options === void 0 ? void 0 : options.accessSecret) || this.options.secret;
2098
- qstr = this._generateTokenRequest({
2099
- client_id: i,
2100
- client_secret: s,
2101
- grant_type: 'client_credentials',
2102
- scope: scope
2103
- });
2104
- api = '';
2105
- if (this.options.protocol === 'oidc') {
2106
- api = this.baseClient.appHost + "/oidc/token";
2107
- }
2108
- else if (this.options.protocol === 'oauth') {
2109
- api = this.baseClient.appHost + "/oauth/token";
2110
- }
2111
- return [4 /*yield*/, this.naiveHttpClient.request({
2112
- method: 'POST',
2113
- url: api,
2114
- data: qstr,
2115
- headers: {
2116
- 'Content-Type': 'application/x-www-form-urlencoded'
2117
- }
2118
- })];
2119
- case 1:
2120
- tokenSet = _a.sent();
2121
- return [2 /*return*/, tokenSet];
2122
- }
2123
- });
2124
- });
2125
- };
2126
- AuthenticationClient.prototype.getUserInfoByAccessToken = function (accessToken, options) {
2127
- return __awaiter(this, void 0, void 0, function () {
2128
- var api, userInfo, userInfo, userInfo, userInfo, userInfo, userInfo;
2129
- return __generator(this, function (_a) {
2130
- switch (_a.label) {
2131
- case 0:
2132
- if (options) {
2133
- if (options.method && !['POST', 'GET'].includes(options.method)) {
2134
- throw new Error('options.method 参数的可选值为 POST、GET,请检查输入');
2135
- }
2136
- if (options.tokenPlace &&
2137
- !['query', 'header', 'body'].includes(options.tokenPlace)) {
2138
- throw new Error('options.tokenPlace 参数的可选值为 query、header、body,请检查输入');
2139
- }
2140
- if (options.method === 'GET' && options.tokenPlace === 'body') {
2141
- throw new Error('options.method 参数为 GET 时,options.tokenPlace 参数不能为 body');
2142
- }
2143
- options.method = options.method || 'GET';
2144
- options.tokenPlace = options.tokenPlace || 'query';
2145
- }
2146
- api = '';
2147
- if (this.options.protocol === 'oidc') {
2148
- api = this.baseClient.appHost + "/oidc/me";
2149
- }
2150
- else if (this.options.protocol === 'oauth') {
2151
- api = this.baseClient.appHost + "/oauth/me";
2152
- }
2153
- if (!((options === null || options === void 0 ? void 0 : options.method) === 'POST')) return [3 /*break*/, 7];
2154
- if (!((options === null || options === void 0 ? void 0 : options.tokenPlace) === 'header')) return [3 /*break*/, 2];
2155
- return [4 /*yield*/, this.naiveHttpClient.request({
2156
- method: 'POST',
2157
- url: api,
2158
- headers: {
2159
- Authorization: 'Bearer ' + accessToken
2160
- }
2161
- })];
2162
- case 1:
2163
- userInfo = _a.sent();
2164
- return [2 /*return*/, userInfo];
2165
- case 2:
2166
- if (!((options === null || options === void 0 ? void 0 : options.tokenPlace) === 'query')) return [3 /*break*/, 4];
2167
- return [4 /*yield*/, this.naiveHttpClient.request({
2168
- method: 'POST',
2169
- url: api,
2170
- params: {
2171
- access_token: accessToken
2172
- }
2173
- })];
2174
- case 3:
2175
- userInfo = _a.sent();
2176
- return [2 /*return*/, userInfo];
2177
- case 4:
2178
- if (!((options === null || options === void 0 ? void 0 : options.tokenPlace) === 'body')) return [3 /*break*/, 6];
2179
- return [4 /*yield*/, this.naiveHttpClient.request({
2180
- method: 'POST',
2181
- url: api,
2182
- data: objectToQueryString({
2183
- access_token: accessToken
2184
- }).slice(1)
2185
- })];
2186
- case 5:
2187
- userInfo = _a.sent();
2188
- return [2 /*return*/, userInfo];
2189
- case 6: return [3 /*break*/, 14];
2190
- case 7:
2191
- if (!((options === null || options === void 0 ? void 0 : options.method) === 'GET')) return [3 /*break*/, 12];
2192
- if (!((options === null || options === void 0 ? void 0 : options.tokenPlace) === 'header')) return [3 /*break*/, 9];
2193
- return [4 /*yield*/, this.naiveHttpClient.request({
2194
- method: 'GET',
2195
- url: api,
2196
- headers: {
2197
- Authorization: 'Bearer ' + accessToken
2198
- }
2199
- })];
2200
- case 8:
2201
- userInfo = _a.sent();
2202
- return [2 /*return*/, userInfo];
2203
- case 9:
2204
- if (!((options === null || options === void 0 ? void 0 : options.tokenPlace) === 'query')) return [3 /*break*/, 11];
2205
- return [4 /*yield*/, this.naiveHttpClient.request({
2206
- method: 'GET',
2207
- url: api,
2208
- params: {
2209
- access_token: accessToken
2210
- }
2211
- })];
2212
- case 10:
2213
- userInfo = _a.sent();
2214
- return [2 /*return*/, userInfo];
2215
- case 11: return [3 /*break*/, 14];
2216
- case 12: return [4 /*yield*/, this.naiveHttpClient.request({
2217
- method: 'GET',
2218
- url: api,
2219
- params: {
2220
- access_token: accessToken
2221
- }
2222
- })];
2223
- case 13:
2224
- userInfo = _a.sent();
2225
- return [2 /*return*/, userInfo];
2226
- case 14: return [2 /*return*/];
2227
- }
2228
- });
2229
- });
2230
- };
2231
- AuthenticationClient.prototype.buildAuthorizeUrl = function (options) {
2232
- if (!this.baseClient.appHost) {
2233
- throw new Error('请在初始化 AuthenticationClient 时传入应用域名 appHost 参数,形如:https://app1.authing.cn');
2234
- }
2235
- if (this.options.protocol === 'oidc') {
2236
- return this._buildOidcAuthorizeUrl(options);
2237
- }
2238
- if (this.options.protocol === 'oauth') {
2239
- return this._buildOauthAuthorizeUrl(options);
2240
- }
2241
- if (this.options.protocol === 'saml') {
2242
- return this._buildSamlAuthorizeUrl();
2243
- }
2244
- if (this.options.protocol === 'cas') {
2245
- return this._buildCasAuthorizeUrl(options);
2246
- }
2247
- throw new Error('不支持的协议类型,请在初始化 AuthenticationClient 时传入 protocol 参数,可选值为 oidc、oauth、saml、cas');
2248
- };
2249
- AuthenticationClient.prototype._buildOidcAuthorizeUrl = function (options) {
2250
- var map = {
2251
- appId: 'client_id',
2252
- scope: 'scope',
2253
- state: 'state',
2254
- nonce: 'nonce',
2255
- responseMode: 'response_mode',
2256
- responseType: 'response_type',
2257
- redirectUri: 'redirect_uri',
2258
- codeChallenge: 'code_challenge',
2259
- codeChallengeMethod: 'code_challenge_method'
2260
- };
2261
- var res = {
2262
- nonce: Math.random()
2263
- .toString()
2264
- .slice(2),
2265
- state: Math.random()
2266
- .toString()
2267
- .slice(2),
2268
- scope: 'openid profile email phone address',
2269
- client_id: this.options.appId,
2270
- redirect_uri: this.options.redirectUri,
2271
- response_type: 'code'
2272
- };
2273
- Object.keys(map).forEach(function (k) {
2274
- if (options && options[k]) {
2275
- if (k === 'scope' && options.scope.includes('offline_access')) {
2276
- res.prompt = 'consent';
2277
- }
2278
- res[map[k]] = options[k];
2279
- }
2280
- });
2281
- var params = new URLSearchParams(res);
2282
- var authorizeUrl = this.baseClient.appHost + '/oidc/auth?' + params.toString();
2283
- return authorizeUrl;
2284
- };
2285
- AuthenticationClient.prototype._buildOauthAuthorizeUrl = function (options) {
2286
- var map = {
2287
- appId: 'client_id',
2288
- scope: 'scope',
2289
- state: 'state',
2290
- responseType: 'response_type',
2291
- redirectUri: 'redirect_uri'
2292
- };
2293
- var res = {
2294
- state: Math.random()
2295
- .toString()
2296
- .slice(2),
2297
- scope: 'user',
2298
- client_id: this.options.appId,
2299
- redirect_uri: this.options.redirectUri,
2300
- response_type: 'code'
2301
- };
2302
- Object.keys(map).forEach(function (k) {
2303
- if (options && options[k]) {
2304
- res[map[k]] = options[k];
2305
- }
2306
- });
2307
- var params = new URLSearchParams(res);
2308
- var authorizeUrl = this.baseClient.appHost + '/oauth/auth?' + params.toString();
2309
- return authorizeUrl;
2310
- };
2311
- AuthenticationClient.prototype._buildSamlAuthorizeUrl = function () {
2312
- return this.baseClient.appHost + '/api/v2/saml-idp/' + this.options.appId;
2313
- };
2314
- AuthenticationClient.prototype._buildCasAuthorizeUrl = function (options) {
2315
- if (options === null || options === void 0 ? void 0 : options.service) {
2316
- return this.baseClient.appHost + "/cas-idp/" + this.options.appId + "?service=" + (options === null || options === void 0 ? void 0 : options.service);
2317
- }
2318
- return this.baseClient.appHost + "/cas-idp/" + this.options.appId;
2319
- };
2320
- AuthenticationClient.prototype._buildCasLogoutUrl = function (options) {
2321
- if (options === null || options === void 0 ? void 0 : options.redirectUri) {
2322
- return (this.baseClient.appHost + '/cas-idp/logout?url=' + options.redirectUri);
2323
- }
2324
- return this.baseClient.appHost + "/cas-idp/logout";
2325
- };
2326
- AuthenticationClient.prototype._buildOidcLogoutUrl = function (options) {
2327
- if (options && !(options.idToken && options.redirectUri)) {
2328
- throw new Error('必须同时传入 idToken 和 redirectUri 参数,或者同时都不传入');
2329
- }
2330
- if (options === null || options === void 0 ? void 0 : options.redirectUri) {
2331
- return this.baseClient.appHost + "/oidc/session/end?id_token_hint=" + options.idToken + "&post_logout_redirect_uri=" + options.redirectUri;
2332
- }
2333
- return this.baseClient.appHost + "/oidc/session/end";
2334
- };
2335
- AuthenticationClient.prototype._buildEasyLogoutUrl = function (options) {
2336
- if (options === null || options === void 0 ? void 0 : options.redirectUri) {
2337
- return this.baseClient.appHost + "/login/profile/logout?redirect_uri=" + options.redirectUri;
2338
- }
2339
- return this.baseClient.appHost + "/login/profile/logout";
2340
- };
2341
- AuthenticationClient.prototype.buildLogoutUrl = function (options) {
2342
- if (this.options.protocol === 'cas') {
2343
- return this._buildCasLogoutUrl(options);
2344
- }
2345
- if (this.options.protocol === 'oidc' && (options === null || options === void 0 ? void 0 : options.expert)) {
2346
- return this._buildOidcLogoutUrl(options);
2347
- }
2348
- return this._buildEasyLogoutUrl(options);
2349
- };
2350
- AuthenticationClient.prototype._getNewAccessTokenByRefreshTokenWithClientSecretPost = function (refreshToken) {
2351
- return __awaiter(this, void 0, void 0, function () {
2352
- var qstr, api, tokenSet;
2353
- return __generator(this, function (_a) {
2354
- switch (_a.label) {
2355
- case 0:
2356
- qstr = this._generateTokenRequest({
2357
- client_id: this.options.appId,
2358
- client_secret: this.options.secret,
2359
- grant_type: 'refresh_token',
2360
- refresh_token: refreshToken
2361
- });
2362
- api = '';
2363
- if (this.options.protocol === 'oidc') {
2364
- api = this.baseClient.appHost + "/oidc/token";
2365
- }
2366
- else if (this.options.protocol === 'oauth') {
2367
- api = this.baseClient.appHost + "/oauth/token";
2368
- }
2369
- return [4 /*yield*/, this.naiveHttpClient.request({
2370
- method: 'POST',
2371
- url: api,
2372
- data: qstr,
2373
- headers: {
2374
- 'Content-Type': 'application/x-www-form-urlencoded'
2375
- }
2376
- })];
2377
- case 1:
2378
- tokenSet = _a.sent();
2379
- return [2 /*return*/, tokenSet];
2380
- }
2381
- });
2382
- });
2383
- };
2384
- AuthenticationClient.prototype._getNewAccessTokenByRefreshTokenWithClientSecretBasic = function (refreshToken) {
2385
- return __awaiter(this, void 0, void 0, function () {
2386
- var api, qstr, tokenSet;
2387
- return __generator(this, function (_a) {
2388
- switch (_a.label) {
2389
- case 0:
2390
- api = '';
2391
- if (this.options.protocol === 'oidc') {
2392
- api = this.baseClient.appHost + "/oidc/token";
2393
- }
2394
- else if (this.options.protocol === 'oauth') {
2395
- api = this.baseClient.appHost + "/oauth/token";
2396
- }
2397
- qstr = this._generateTokenRequest({
2398
- grant_type: 'refresh_token',
2399
- refresh_token: refreshToken
2400
- });
2401
- return [4 /*yield*/, this.naiveHttpClient.request({
2402
- data: qstr,
2403
- method: 'POST',
2404
- url: api,
2405
- headers: {
2406
- Authorization: this._generateBasicAuthToken()
2407
- }
2408
- })];
2409
- case 1:
2410
- tokenSet = _a.sent();
2411
- return [2 /*return*/, tokenSet];
2412
- }
2413
- });
2414
- });
2415
- };
2416
- AuthenticationClient.prototype._getNewAccessTokenByRefreshTokenWithNone = function (refreshToken) {
2417
- return __awaiter(this, void 0, void 0, function () {
2418
- var api, qstr, tokenSet;
2419
- return __generator(this, function (_a) {
2420
- switch (_a.label) {
2421
- case 0:
2422
- api = '';
2423
- if (this.options.protocol === 'oidc') {
2424
- api = this.baseClient.appHost + "/oidc/token";
2425
- }
2426
- else if (this.options.protocol === 'oauth') {
2427
- api = this.baseClient.appHost + "/oauth/token";
2428
- }
2429
- qstr = this._generateTokenRequest({
2430
- client_id: this.options.appId,
2431
- grant_type: 'refresh_token',
2432
- refresh_token: refreshToken
2433
- });
2434
- return [4 /*yield*/, this.naiveHttpClient.request({
2435
- method: 'POST',
2436
- url: api,
2437
- data: qstr
2438
- })];
2439
- case 1:
2440
- tokenSet = _a.sent();
2441
- return [2 /*return*/, tokenSet];
2442
- }
2443
- });
2444
- });
2445
- };
2446
- AuthenticationClient.prototype.getNewAccessTokenByRefreshToken = function (refreshToken) {
2447
- return __awaiter(this, void 0, void 0, function () {
2448
- return __generator(this, function (_a) {
2449
- switch (_a.label) {
2450
- case 0:
2451
- if (!['oauth', 'oidc'].includes(this.options.protocol)) {
2452
- throw new Error('初始化 AuthenticationClient 时传入的 protocol 参数必须为 oauth 或 oidc,请检查参数');
2453
- }
2454
- if (!this.options.secret &&
2455
- this.options.tokenEndPointAuthMethod !== 'none') {
2456
- throw new Error('请在初始化 AuthenticationClient 时传入 appId 和 secret 参数');
2457
- }
2458
- if (!(this.options.tokenEndPointAuthMethod === 'client_secret_post')) return [3 /*break*/, 2];
2459
- return [4 /*yield*/, this._getNewAccessTokenByRefreshTokenWithClientSecretPost(refreshToken)];
2460
- case 1: return [2 /*return*/, _a.sent()];
2461
- case 2:
2462
- if (!(this.options.tokenEndPointAuthMethod === 'client_secret_basic')) return [3 /*break*/, 4];
2463
- return [4 /*yield*/, this._getNewAccessTokenByRefreshTokenWithClientSecretBasic(refreshToken)];
2464
- case 3: return [2 /*return*/, _a.sent()];
2465
- case 4:
2466
- if (!(this.options.tokenEndPointAuthMethod === 'none')) return [3 /*break*/, 6];
2467
- return [4 /*yield*/, this._getNewAccessTokenByRefreshTokenWithNone(refreshToken)];
2468
- case 5: return [2 /*return*/, _a.sent()];
2469
- case 6: return [2 /*return*/];
2470
- }
2471
- });
2472
- });
2473
- };
2474
- AuthenticationClient.prototype._revokeTokenWithClientSecretPost = function (token) {
2475
- return __awaiter(this, void 0, void 0, function () {
2476
- var qstr, api, tokenSet;
2477
- return __generator(this, function (_a) {
2478
- switch (_a.label) {
2479
- case 0:
2480
- qstr = this._generateTokenRequest({
2481
- client_id: this.options.appId,
2482
- client_secret: this.options.secret,
2483
- token: token
2484
- });
2485
- api = '';
2486
- if (this.options.protocol === 'oidc') {
2487
- api = this.baseClient.appHost + "/oidc/token/revocation";
2488
- }
2489
- else if (this.options.protocol === 'oauth') {
2490
- api = this.baseClient.appHost + "/oauth/token/revocation";
2491
- }
2492
- return [4 /*yield*/, this.naiveHttpClient.request({
2493
- method: 'POST',
2494
- url: api,
2495
- data: qstr,
2496
- headers: {
2497
- 'Content-Type': 'application/x-www-form-urlencoded'
2498
- }
2499
- })];
2500
- case 1:
2501
- tokenSet = _a.sent();
2502
- return [2 /*return*/, tokenSet];
2503
- }
2504
- });
2505
- });
2506
- };
2507
- AuthenticationClient.prototype._revokeTokenWithClientSecretBasic = function (token) {
2508
- return __awaiter(this, void 0, void 0, function () {
2509
- var api, qstr, result;
2510
- return __generator(this, function (_a) {
2511
- switch (_a.label) {
2512
- case 0:
2513
- api = '';
2514
- if (this.options.protocol === 'oidc') {
2515
- api = this.baseClient.appHost + "/oidc/token/revocation";
2516
- }
2517
- else if (this.options.protocol === 'oauth') {
2518
- throw new Error('OAuth 2.0 暂不支持用 client_secret_basic 模式身份验证撤回 Token');
2519
- api = this.baseClient.appHost + "/oauth/token/revocation";
2520
- }
2521
- qstr = this._generateTokenRequest({
2522
- token: token
2523
- });
2524
- return [4 /*yield*/, this.naiveHttpClient.request({
2525
- data: qstr,
2526
- method: 'POST',
2527
- url: api,
2528
- headers: {
2529
- Authorization: this._generateBasicAuthToken()
2530
- }
2531
- })];
2532
- case 1:
2533
- result = _a.sent();
2534
- return [2 /*return*/, result];
2535
- }
2536
- });
2537
- });
2538
- };
2539
- AuthenticationClient.prototype._revokeTokenWithNone = function (token) {
2540
- return __awaiter(this, void 0, void 0, function () {
2541
- var api, qstr, result;
2542
- return __generator(this, function (_a) {
2543
- switch (_a.label) {
2544
- case 0:
2545
- api = '';
2546
- if (this.options.protocol === 'oidc') {
2547
- api = this.baseClient.appHost + "/oidc/token/revocation";
2548
- }
2549
- else if (this.options.protocol === 'oauth') {
2550
- api = this.baseClient.appHost + "/oauth/token/revocation";
2551
- }
2552
- qstr = this._generateTokenRequest({
2553
- client_id: this.options.appId,
2554
- token: token
2555
- });
2556
- return [4 /*yield*/, this.naiveHttpClient.request({
2557
- method: 'POST',
2558
- url: api,
2559
- data: qstr
2560
- })];
2561
- case 1:
2562
- result = _a.sent();
2563
- return [2 /*return*/, result];
2564
- }
2565
- });
2566
- });
2567
- };
2568
- AuthenticationClient.prototype.revokeToken = function (token) {
2569
- return __awaiter(this, void 0, void 0, function () {
2570
- return __generator(this, function (_a) {
2571
- switch (_a.label) {
2572
- case 0:
2573
- if (!['oauth', 'oidc'].includes(this.options.protocol)) {
2574
- throw new Error('初始化 AuthenticationClient 时传入的 protocol 参数必须为 oauth 或 oidc,请检查参数');
2575
- }
2576
- if (!this.options.secret &&
2577
- this.options.revocationEndPointAuthMethod !== 'none') {
2578
- throw new Error('请在初始化 AuthenticationClient 时传入 appId 和 secret 参数');
2579
- }
2580
- if (!(this.options.revocationEndPointAuthMethod === 'client_secret_post')) return [3 /*break*/, 2];
2581
- return [4 /*yield*/, this._revokeTokenWithClientSecretPost(token)];
2582
- case 1:
2583
- _a.sent();
2584
- return [2 /*return*/, true];
2585
- case 2:
2586
- if (!(this.options.revocationEndPointAuthMethod === 'client_secret_basic')) return [3 /*break*/, 4];
2587
- return [4 /*yield*/, this._revokeTokenWithClientSecretBasic(token)];
2588
- case 3:
2589
- _a.sent();
2590
- return [2 /*return*/, true];
2591
- case 4:
2592
- if (!(this.options.revocationEndPointAuthMethod === 'none')) return [3 /*break*/, 6];
2593
- return [4 /*yield*/, this._revokeTokenWithNone(token)];
2594
- case 5:
2595
- _a.sent();
2596
- return [2 /*return*/, true];
2597
- case 6: throw new Error('初始化 AuthenticationClient 时传入的 revocationEndPointAuthMethod 参数可选值为 client_secret_base、client_secret_post、none,请检查参数');
2598
- }
2599
- });
2600
- });
2601
- };
2602
- AuthenticationClient.prototype._introspectTokenWithClientSecretPost = function (token) {
2603
- return __awaiter(this, void 0, void 0, function () {
2604
- var qstr, api, tokenSet;
2605
- return __generator(this, function (_a) {
2606
- switch (_a.label) {
2607
- case 0:
2608
- qstr = this._generateTokenRequest({
2609
- client_id: this.options.appId,
2610
- client_secret: this.options.secret,
2611
- token: token
2612
- });
2613
- api = '';
2614
- if (this.options.protocol === 'oidc') {
2615
- api = this.baseClient.appHost + "/oidc/token/introspection";
2616
- }
2617
- else if (this.options.protocol === 'oauth') {
2618
- api = this.baseClient.appHost + "/oauth/token/introspection";
2619
- }
2620
- return [4 /*yield*/, this.naiveHttpClient.request({
2621
- method: 'POST',
2622
- url: api,
2623
- data: qstr,
2624
- headers: {
2625
- 'Content-Type': 'application/x-www-form-urlencoded'
2626
- }
2627
- })];
2628
- case 1:
2629
- tokenSet = _a.sent();
2630
- return [2 /*return*/, tokenSet];
2631
- }
2632
- });
2633
- });
2634
- };
2635
- AuthenticationClient.prototype._introspectTokenWithClientSecretBasic = function (token) {
2636
- return __awaiter(this, void 0, void 0, function () {
2637
- var api, qstr, result;
2638
- return __generator(this, function (_a) {
2639
- switch (_a.label) {
2640
- case 0:
2641
- api = '';
2642
- if (this.options.protocol === 'oidc') {
2643
- api = this.baseClient.appHost + "/oidc/token/introspection";
2644
- }
2645
- else if (this.options.protocol === 'oauth') {
2646
- api = this.baseClient.appHost + "/oauth/token/introspection";
2647
- }
2648
- qstr = this._generateTokenRequest({
2649
- token: token
2650
- });
2651
- return [4 /*yield*/, this.naiveHttpClient.request({
2652
- data: qstr,
2653
- method: 'POST',
2654
- url: api,
2655
- headers: {
2656
- Authorization: this._generateBasicAuthToken()
2657
- }
2658
- })];
2659
- case 1:
2660
- result = _a.sent();
2661
- return [2 /*return*/, result];
2662
- }
2663
- });
2664
- });
2665
- };
2666
- AuthenticationClient.prototype._introspectTokenWithNone = function (token) {
2667
- return __awaiter(this, void 0, void 0, function () {
2668
- var api, qstr, result;
2669
- return __generator(this, function (_a) {
2670
- switch (_a.label) {
2671
- case 0:
2672
- api = '';
2673
- if (this.options.protocol === 'oidc') {
2674
- api = this.baseClient.appHost + "/oidc/token/introspection";
2675
- }
2676
- else if (this.options.protocol === 'oauth') {
2677
- api = this.baseClient.appHost + "/oauth/token/introspection";
2678
- }
2679
- qstr = this._generateTokenRequest({
2680
- client_id: this.options.appId,
2681
- token: token
2682
- });
2683
- return [4 /*yield*/, this.naiveHttpClient.request({
2684
- method: 'POST',
2685
- url: api,
2686
- data: qstr
2687
- })];
2688
- case 1:
2689
- result = _a.sent();
2690
- return [2 /*return*/, result];
2691
- }
2692
- });
2693
- });
2694
- };
2695
- AuthenticationClient.prototype.introspectToken = function (token) {
2696
- return __awaiter(this, void 0, void 0, function () {
2697
- return __generator(this, function (_a) {
2698
- switch (_a.label) {
2699
- case 0:
2700
- if (!['oauth', 'oidc'].includes(this.options.protocol)) {
2701
- throw new Error('初始化 AuthenticationClient 时传入的 protocol 参数必须为 oauth 或 oidc,请检查参数');
2702
- }
2703
- if (!this.options.secret &&
2704
- this.options.introspectionEndPointAuthMethod !== 'none') {
2705
- throw new Error('请在初始化 AuthenticationClient 时传入 appId 和 secret 参数');
2706
- }
2707
- if (!(this.options.introspectionEndPointAuthMethod === 'client_secret_post')) return [3 /*break*/, 2];
2708
- return [4 /*yield*/, this._introspectTokenWithClientSecretPost(token)];
2709
- case 1: return [2 /*return*/, _a.sent()];
2710
- case 2:
2711
- if (!(this.options.introspectionEndPointAuthMethod === 'client_secret_basic')) return [3 /*break*/, 4];
2712
- return [4 /*yield*/, this._introspectTokenWithClientSecretBasic(token)];
2713
- case 3: return [2 /*return*/, _a.sent()];
2714
- case 4:
2715
- if (!(this.options.introspectionEndPointAuthMethod === 'none')) return [3 /*break*/, 6];
2716
- return [4 /*yield*/, this._introspectTokenWithNone(token)];
2717
- case 5: return [2 /*return*/, _a.sent()];
2718
- case 6: throw new Error('初始化 AuthenticationClient 时传入的 introspectionEndPointAuthMethod 参数可选值为 client_secret_base、client_secret_post、none,请检查参数');
2719
- }
2720
- });
2721
- });
2722
- };
2723
- AuthenticationClient.prototype.validateTicketV1 = function (ticket, service) {
2724
- return __awaiter(this, void 0, void 0, function () {
2725
- var api, result, _a, valid, username;
2726
- return __generator(this, function (_b) {
2727
- switch (_b.label) {
2728
- case 0:
2729
- api = this.baseClient.appHost + "/cas-idp/" + this.options.appId + "/validate";
2730
- return [4 /*yield*/, this.naiveHttpClient.request({
2731
- method: 'GET',
2732
- url: api,
2733
- params: {
2734
- service: service,
2735
- ticket: ticket
2736
- }
2737
- })];
2738
- case 1:
2739
- result = _b.sent();
2740
- _a = result.split('\n'), valid = _a[0], username = _a[1];
2741
- return [2 /*return*/, __assign(__assign({ valid: valid === 'yes' }, (username && { username: username })), (valid !== 'yes' && { message: 'ticket 不合法' }))];
2742
- }
2743
- });
2744
- });
2745
- };
2746
- /**
2747
- * 判断 "我" 是否有某个角色
2748
- * @param roleCode 角色 Code
2749
- * @param namespace 权限分组 ID
2750
- */
2751
- AuthenticationClient.prototype.hasRole = function (roleCode, namespace) {
2752
- return __awaiter(this, void 0, void 0, function () {
2753
- var user, roleList, hasRole;
2754
- return __generator(this, function (_a) {
2755
- switch (_a.label) {
2756
- case 0: return [4 /*yield*/, getUserRoles(this.graphqlClient, this.tokenProvider, {
2757
- id: this.checkLoggedIn(),
2758
- namespace: namespace
2759
- })];
2760
- case 1:
2761
- user = (_a.sent()).user;
2762
- if (!user) {
2763
- return [2 /*return*/, false];
2764
- }
2765
- roleList = user.roles;
2766
- if (roleList.totalCount < 1) {
2767
- return [2 /*return*/, false];
2768
- }
2769
- hasRole = false;
2770
- roleList.list.forEach(function (item) {
2771
- if (item.code === roleCode) {
2772
- hasRole = true;
2773
- }
2774
- });
2775
- return [2 /*return*/, hasRole];
2776
- }
2777
- });
2778
- });
2779
- };
2780
- /**
2781
- * @description 获取当前用户能够访问的应用
2782
- */
2783
- AuthenticationClient.prototype.listApplications = function (params) {
2784
- return __awaiter(this, void 0, void 0, function () {
2785
- var _a, _b, page, _c, limit, data;
2786
- return __generator(this, function (_d) {
2787
- switch (_d.label) {
2788
- case 0:
2789
- _a = params || {}, _b = _a.page, page = _b === void 0 ? 1 : _b, _c = _a.limit, limit = _c === void 0 ? 10 : _c;
2790
- return [4 /*yield*/, this.httpClient.request({
2791
- url: this.baseClient.appHost + "/api/v2/users/me/applications/allowed?page=" + page + "&limit=" + limit,
2792
- method: 'GET'
2793
- })];
2794
- case 1:
2795
- data = _d.sent();
2796
- return [2 /*return*/, data];
2797
- }
2798
- });
2799
- });
2800
- };
2801
- /**
2802
- * @description 检验 idToken 或 accessToken
2803
- */
2804
- AuthenticationClient.prototype.validateToken = function (options) {
2805
- return __awaiter(this, void 0, void 0, function () {
2806
- var data, data;
2807
- return __generator(this, function (_a) {
2808
- switch (_a.label) {
2809
- case 0:
2810
- if (!options) {
2811
- throw new Error('请在传入的参数对象中包含 accessToken 或 idToken 字段');
2812
- }
2813
- if (options.accessToken && options.idToken) {
2814
- throw new Error('accessToken 和 idToken 只能传入一个,不能同时传入');
2815
- }
2816
- if (!options.idToken) return [3 /*break*/, 2];
2817
- return [4 /*yield*/, this.naiveHttpClient.request({
2818
- url: this.baseClient.appHost + "/api/v2/oidc/validate_token",
2819
- method: 'GET',
2820
- params: {
2821
- id_token: options.idToken
2822
- }
2823
- })];
2824
- case 1:
2825
- data = _a.sent();
2826
- return [2 /*return*/, data];
2827
- case 2:
2828
- if (!options.accessToken) return [3 /*break*/, 4];
2829
- return [4 /*yield*/, this.naiveHttpClient.request({
2830
- url: this.baseClient.appHost + "/api/v2/oidc/validate_token",
2831
- method: 'GET',
2832
- params: {
2833
- access_token: options.accessToken
2834
- }
2835
- })];
2836
- case 3:
2837
- data = _a.sent();
2838
- return [2 /*return*/, data];
2839
- case 4: return [2 /*return*/];
2840
- }
2841
- });
2842
- });
2843
- };
2844
- /**
2845
- * @description 设置语言
2846
- */
2847
- AuthenticationClient.prototype.setLang = function (lang) {
2848
- this.options.lang = lang;
2849
- };
2850
- return AuthenticationClient;
2851
- }());
2852
- export { AuthenticationClient };
2853
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXV0aGVudGljYXRpb25DbGllbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2F1dGhlbnRpY2F0aW9uL0F1dGhlbnRpY2F0aW9uQ2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7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