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,303 +0,0 @@
1
- import { AuthenticationTokenProvider } from './AuthenticationTokenProvider';
2
- import { AuthenticationClientOptions, IMfaAssociation, IMfaAuthenticators, IMfaConfirmAssociation, IMfaDeleteAssociation, TotpSource } from './types';
3
- import { HttpClient } from '../common/HttpClient';
4
- import { User } from '../..';
5
- import { BaseAuthenticationClient } from './BaseAuthenticationClient';
6
- /**
7
- * @class MfaAuthenticationClient 多因素认证模块
8
- * @description 此模块用于进行绑定 TOTP MFA 认证器、解绑 TOTP MFA 认证器、绑定用户人脸、解绑人脸、用户二次认证。
9
- *
10
- * 请求绑定 TOTP MFA 认证器:
11
- *
12
- * \`\`\`javascript
13
- * import { AuthenticationClient } from "authing-js-sdk"
14
- * const authenticationClient = new AuthenticationClient({
15
- * appId: "YOUR_APP_ID",
16
- * })
17
- * await authenticationClient.mfa.assosicateMfaAuthenticator({authenticatorType: 'totp'})
18
- * \`\`\`
19
- *
20
- * 验证 MFA 二次口令:
21
- *
22
- * \`\`\`javascript
23
- * import { AuthenticationClient } from "authing-js-sdk"
24
- * const authenticationClient = new AuthenticationClient({
25
- * appId: "YOUR_APP_ID",
26
- * })
27
- * await authenticationClient.mfa.verifyTotpMfa({totp: '112233', mfaToken: 'xxx'})
28
- * \`\`\`
29
- *
30
- * @name MfaAuthenticationClient
31
- */
32
- export declare class MfaAuthenticationClient {
33
- options: AuthenticationClientOptions;
34
- tokenProvider: AuthenticationTokenProvider;
35
- httpClient: HttpClient;
36
- baseClient: BaseAuthenticationClient;
37
- constructor(options: AuthenticationClientOptions, tokenProvider: AuthenticationTokenProvider, httpClient: HttpClient);
38
- /**
39
- * @name getMfaAuthenticators
40
- * @name_zh 获取 MFA 认证器
41
- * @description 获取 MFA 认证器
42
- *
43
- * @example
44
- * const authenticationClient = new AuthenticationClient({
45
- * appId: "YOUR_APP_ID",
46
- * })
47
- * const authenticators = await authenticationClient.mfa.getMfaAuthenticators({ type: 'totp' })
48
- *
49
- * @returns {Promise<IMfaAuthenticators>}
50
- * @memberof MfaAuthenticationClient
51
- */
52
- getMfaAuthenticators(options?: {
53
- type: string;
54
- mfaToken?: string;
55
- source?: TotpSource;
56
- }): Promise<IMfaAuthenticators>;
57
- /**
58
- * @name assosicateMfaAuthenticator
59
- * @name_zh 请求 MFA 二维码和密钥信息
60
- * @description 请求 MFA 二维码和密钥信息
61
- *
62
- * @example
63
- * const authenticationClient = new AuthenticationClient({
64
- * appId: "YOUR_APP_ID",
65
- * })
66
- * const authenticators = await authenticationClient.mfa.assosicateMfaAuthenticator({ authenticatorType: 'totp' })
67
- *
68
- * @returns {Promise<IMfaAssociation>}
69
- * @memberof MfaAuthenticationClient
70
- */
71
- assosicateMfaAuthenticator(options?: {
72
- authenticatorType: string;
73
- mfaToken?: string;
74
- source?: TotpSource;
75
- }): Promise<IMfaAssociation>;
76
- /**
77
- * @name deleteMfaAuthenticator
78
- * @name_zh 解绑 MFA
79
- * @description 解绑 MFA
80
- *
81
- * @example
82
- * const authenticationClient = new AuthenticationClient({
83
- * appId: "YOUR_APP_ID",
84
- * })
85
- * const authenticators = await authenticationClient.mfa.deleteMfaAuthenticator()
86
- *
87
- * @returns {Promise<IMfaDeleteAssociation>}
88
- * @memberof MfaAuthenticationClient
89
- */
90
- deleteMfaAuthenticator(): Promise<IMfaDeleteAssociation>;
91
- /**
92
- * @name confirmAssosicateMfaAuthenticator
93
- * @name_zh 确认绑定 MFA
94
- * @description 确认绑定 MFA
95
- *
96
- * @example
97
- * const authenticationClient = new AuthenticationClient({
98
- * appId: "YOUR_APP_ID",
99
- * })
100
- * const authenticators = await authenticationClient.mfa.confirmAssosicateMfaAuthenticator({ authenticatorType: 'totp', totp: '112233' })
101
- *
102
- * @returns {Promise<IMfaConfirmAssociation>}
103
- * @memberof MfaAuthenticationClient
104
- */
105
- confirmAssosicateMfaAuthenticator(options?: {
106
- authenticatorType: string;
107
- totp?: string;
108
- source?: TotpSource;
109
- mfaToken?: string;
110
- }): Promise<IMfaConfirmAssociation>;
111
- /**
112
- * @name verifyTotpMfa
113
- * @name_zh 检验二次验证 MFA 口令
114
- * @description 检验二次验证 MFA 口令
115
- *
116
- * @example
117
- * const authenticationClient = new AuthenticationClient({
118
- * appId: "YOUR_APP_ID",
119
- * })
120
- * const authenticators = await authenticationClient.mfa.verifyTotpMfa({ authenticatorType: 'totp', totp: '112233' })
121
- *
122
- * @returns {Promise<User>}
123
- * @memberof MfaAuthenticationClient
124
- */
125
- verifyTotpMfa(options: {
126
- totp: string;
127
- mfaToken: string;
128
- }): Promise<User>;
129
- /**
130
- * @name verifyAppSmsMfa
131
- * @name_zh 检验二次验证 MFA 短信验证码
132
- * @description 检验二次验证 MFA 短信验证码
133
- *
134
- * @param {object} options
135
- * @param {string} options.phone 用户手机号
136
- * @param {string} options.code 手机验证码
137
- * @param {string} options.token 登录接口返回的 mfaToken
138
- *
139
- * @example
140
- * const authenticationClient = new AuthenticationClient({
141
- * appId: "YOUR_APP_ID",
142
- * })
143
- * const authenticators = await authenticationClient.mfa.verifySmsMfa({ mfaToken: 'xxxxxx', phone: '173xxxxxxxx' })
144
- *
145
- * @returns {Promise<User>}
146
- * @memberof MfaAuthenticationClient
147
- */
148
- verifyAppSmsMfa(options: {
149
- phone: string;
150
- code: string;
151
- mfaToken: string;
152
- }): Promise<User>;
153
- /**
154
- * @name verifyAppEmailMfa
155
- * @name_zh 检验二次验证 MFA 邮箱验证码
156
- * @description 检验二次验证 MFA 邮箱验证码
157
- *
158
- * @param {object} options
159
- * @param {string} options.email 用户邮箱
160
- * @param {string} options.code 邮箱验证码
161
- * @param {string} options.token 登录接口返回的 mfaToken
162
- *
163
- * @example
164
- * const authenticationClient = new AuthenticationClient({
165
- * appId: "YOUR_APP_ID",
166
- * })
167
- * const authenticators = await authenticationClient.mfa.verifyAppEmailMfa({ mfaToken: 'xxxx', email: 'example@authing.com' })
168
- *
169
- * @returns {Promise<User>}
170
- * @memberof MfaAuthenticationClient
171
- */
172
- verifyAppEmailMfa(options: {
173
- email: string;
174
- mfaToken: string;
175
- code: string;
176
- }): Promise<User>;
177
- /**
178
- * @name phoneOrEmailBindable
179
- * @name_zh 检测手机号或邮箱是否已被绑定
180
- * @description 当需要手机或邮箱 MFA 登录,而用户未绑定手机或邮箱时,可先让用户输入手机号或邮箱,用此接口先检测手机或邮箱是否可绑定,再进行 MFA 验证
181
- *
182
- * @param {object} options
183
- * @param {string} [options.mfaToken] 后端返回的 mfaToken
184
- * @param {string} [options.phone] 需要检测的手机号
185
- * @param {string} [options.email] 需要检测的邮箱
186
- *
187
- * @example
188
- *
189
- * authenticationClient.phoneOrEmailBindable({
190
- * phone: '173xxxxxxxx',
191
- * mfaToken: 'xxxxx'
192
- * })
193
- *
194
- * @returns {Promise<boolean>}
195
- * @memberof MfaAuthenticationClient
196
- */
197
- phoneOrEmailBindable({ phone, email, mfaToken }: {
198
- phone?: string;
199
- email?: string;
200
- mfaToken: string;
201
- }): Promise<boolean>;
202
- /**
203
- * @name verifyTotpRecoveryCode
204
- * @name_zh 检验二次验证 MFA 恢复代码
205
- * @description 检验二次验证 MFA 恢复代码
206
- *
207
- * @example
208
- * const authenticationClient = new AuthenticationClient({
209
- * appId: "YOUR_APP_ID",
210
- * })
211
- * const authenticators = await authenticationClient.mfa.verifyTotpRecoveryCode({ authenticatorType: 'totp', totp: '112233' })
212
- *
213
- * @returns {Promise<User>}
214
- * @memberof MfaAuthenticationClient
215
- */
216
- verifyTotpRecoveryCode(options: {
217
- recoveryCode: string;
218
- mfaToken: string;
219
- }): Promise<User>;
220
- /**
221
- * @name associateFaceByUrl
222
- * @name_zh 通过图片 URL 方式绑定人脸
223
- * @description 通过图片 URL 方式绑定人脸
224
- *
225
- * @param {object} options
226
- * @param {string} options.baseFace 基础人脸照片
227
- * @param {string} options.compareFace 用于对比的人脸照片地址
228
- * @param {string} [options.mfaToken] 若是在二次认证时绑定人脸,需要传入 mfaToken
229
- *
230
- * @example
231
- * const authenticationClient = new AuthenticationClient({
232
- * appId: "YOUR_APP_ID",
233
- * })
234
- * const user = await authenticationClient.mfa.associateFace({ photoA: 'http://example.com/photo/imgA.jpg', photoB: 'http://example.com/photo/imgB.jpg', mfaToken: 'xxxxxxxxxxxx' })
235
- *
236
- * @returns {Promise<User>}
237
- * @memberof MfaAuthenticationClient
238
- */
239
- associateFaceByUrl(options: {
240
- baseFace: string;
241
- compareFace: string;
242
- mfaToken?: string;
243
- }): Promise<User>;
244
- /**
245
- * @name associateFaceByLocalFile
246
- * @name_zh 通过上传本地文件的方式绑定人脸
247
- * @description 通过上传本地文件的方式绑定人脸
248
- *
249
- * @param {string} [mfaToken] 若是在二次认证时绑定人脸,需要传入 mfaToken
250
- *
251
- * @example
252
- * const authenticationClient = new AuthenticationClient({
253
- * appId: "YOUR_APP_ID",
254
- * })
255
- * const user = await authenticationClient.mfa.associateFaceByLocalFile('xxxxxxxxxxx')
256
- *
257
- * @returns {Promise<User>}
258
- * @memberof MfaAuthenticationClient
259
- */
260
- associateFaceByLocalFile(mfaToken?: string): Promise<User>;
261
- /**
262
- * @name associateFaceByBlob
263
- * @name_zh 通过传入 Blob 对象绑定人脸
264
- * @description 通过传入 Blob 对象绑定人脸
265
- *
266
- * @param {object} options
267
- * @param {string} options.baseFace 基础人脸数据 Blob 对象
268
- * @param {string} options.compareFace 用于对比的人脸数据 Blob 对象
269
- * @param {string} [options.mfaToken] 若是在二次认证时绑定人脸,需要传入 mfaToken
270
- *
271
- * @example
272
- * const authenticationClient = new AuthenticationClient({
273
- * appId: "YOUR_APP_ID",
274
- * })
275
- * const user = await authenticationClient.mfa.associateFaceByBlob({blobA: Blob, blobB: Blob, mfaToken: 'xxx'})
276
- *
277
- * @returns {Promise<User>}
278
- * @memberof MfaAuthenticationClient
279
- */
280
- associateFaceByBlob(opts: {
281
- mfaToken?: string;
282
- baseFace: Blob;
283
- compareFace: Blob;
284
- }): Promise<User>;
285
- /**
286
- * @name verifyFaceMfa
287
- * @name_zh 检测二次登录人脸验证
288
- * @description 检测二次登录人脸验证
289
- *
290
- * @param {string} photo 人脸照片地址
291
- * @param {string} mfaToken 二次校验时 Authing 返回的 mfaToken
292
- *
293
- * @example
294
- * const authenticationClient = new AuthenticationClient({
295
- * appId: "YOUR_APP_ID",
296
- * })
297
- * const user = await authenticationClient.mfa.verifyFaceMfa('http://example.com/photo/photo.jpg')
298
- *
299
- * @returns {Promise<User>}
300
- * @memberof MfaAuthenticationClient
301
- */
302
- verifyFaceMfa(photo: string, mfaToken: string): Promise<User>;
303
- }
@@ -1,665 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
13
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
- function verb(n) { return function (v) { return step([n, v]); }; }
15
- function step(op) {
16
- if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
18
- 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;
19
- if (y = 0, t) op = [op[0] & 2, t.value];
20
- switch (op[0]) {
21
- case 0: case 1: t = op; break;
22
- case 4: _.label++; return { value: op[1], done: false };
23
- case 5: _.label++; y = op[1]; op = [0]; continue;
24
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
- default:
26
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
- if (t[2]) _.ops.pop();
31
- _.trys.pop(); continue;
32
- }
33
- op = body.call(thisArg, _);
34
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
- }
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.MfaAuthenticationClient = void 0;
40
- var BaseAuthenticationClient_1 = require("./BaseAuthenticationClient");
41
- var utils_1 = require("../utils");
42
- /**
43
- * @class MfaAuthenticationClient 多因素认证模块
44
- * @description 此模块用于进行绑定 TOTP MFA 认证器、解绑 TOTP MFA 认证器、绑定用户人脸、解绑人脸、用户二次认证。
45
- *
46
- * 请求绑定 TOTP MFA 认证器:
47
- *
48
- * \`\`\`javascript
49
- * import { AuthenticationClient } from "authing-js-sdk"
50
- * const authenticationClient = new AuthenticationClient({
51
- * appId: "YOUR_APP_ID",
52
- * })
53
- * await authenticationClient.mfa.assosicateMfaAuthenticator({authenticatorType: 'totp'})
54
- * \`\`\`
55
- *
56
- * 验证 MFA 二次口令:
57
- *
58
- * \`\`\`javascript
59
- * import { AuthenticationClient } from "authing-js-sdk"
60
- * const authenticationClient = new AuthenticationClient({
61
- * appId: "YOUR_APP_ID",
62
- * })
63
- * await authenticationClient.mfa.verifyTotpMfa({totp: '112233', mfaToken: 'xxx'})
64
- * \`\`\`
65
- *
66
- * @name MfaAuthenticationClient
67
- */
68
- var MfaAuthenticationClient = /** @class */ (function () {
69
- function MfaAuthenticationClient(options, tokenProvider, httpClient) {
70
- this.options = options;
71
- this.tokenProvider = tokenProvider;
72
- this.httpClient = httpClient;
73
- this.baseClient = new BaseAuthenticationClient_1.BaseAuthenticationClient(options);
74
- }
75
- /**
76
- * @name getMfaAuthenticators
77
- * @name_zh 获取 MFA 认证器
78
- * @description 获取 MFA 认证器
79
- *
80
- * @example
81
- * const authenticationClient = new AuthenticationClient({
82
- * appId: "YOUR_APP_ID",
83
- * })
84
- * const authenticators = await authenticationClient.mfa.getMfaAuthenticators({ type: 'totp' })
85
- *
86
- * @returns {Promise<IMfaAuthenticators>}
87
- * @memberof MfaAuthenticationClient
88
- */
89
- MfaAuthenticationClient.prototype.getMfaAuthenticators = function (options) {
90
- if (options === void 0) { options = { type: 'totp', source: 'SELF' }; }
91
- return __awaiter(this, void 0, void 0, function () {
92
- var type, mfaToken, source, api, headers, data;
93
- return __generator(this, function (_a) {
94
- switch (_a.label) {
95
- case 0:
96
- type = options.type, mfaToken = options.mfaToken, source = options.source;
97
- api = this.baseClient.appHost + "/api/v2/mfa/authenticator";
98
- headers = {};
99
- if (mfaToken) {
100
- headers.authorization = "Bearer " + mfaToken;
101
- }
102
- return [4 /*yield*/, this.httpClient.request({
103
- method: 'GET',
104
- url: api,
105
- params: {
106
- type: type,
107
- source: source
108
- },
109
- headers: headers
110
- })];
111
- case 1:
112
- data = _a.sent();
113
- return [2 /*return*/, data];
114
- }
115
- });
116
- });
117
- };
118
- /**
119
- * @name assosicateMfaAuthenticator
120
- * @name_zh 请求 MFA 二维码和密钥信息
121
- * @description 请求 MFA 二维码和密钥信息
122
- *
123
- * @example
124
- * const authenticationClient = new AuthenticationClient({
125
- * appId: "YOUR_APP_ID",
126
- * })
127
- * const authenticators = await authenticationClient.mfa.assosicateMfaAuthenticator({ authenticatorType: 'totp' })
128
- *
129
- * @returns {Promise<IMfaAssociation>}
130
- * @memberof MfaAuthenticationClient
131
- */
132
- MfaAuthenticationClient.prototype.assosicateMfaAuthenticator = function (options) {
133
- if (options === void 0) { options = { authenticatorType: 'totp', source: 'SELF' }; }
134
- return __awaiter(this, void 0, void 0, function () {
135
- var authenticatorType, mfaToken, source, headers, api, data;
136
- return __generator(this, function (_a) {
137
- switch (_a.label) {
138
- case 0:
139
- authenticatorType = options.authenticatorType, mfaToken = options.mfaToken, source = options.source;
140
- headers = {};
141
- if (mfaToken) {
142
- headers.authorization = "Bearer " + mfaToken;
143
- }
144
- api = this.baseClient.appHost + "/api/v2/mfa/totp/associate";
145
- return [4 /*yield*/, this.httpClient.request({
146
- method: 'POST',
147
- url: api,
148
- data: {
149
- authenticator_type: authenticatorType,
150
- source: source
151
- },
152
- headers: headers
153
- })];
154
- case 1:
155
- data = _a.sent();
156
- return [2 /*return*/, data];
157
- }
158
- });
159
- });
160
- };
161
- /**
162
- * @name deleteMfaAuthenticator
163
- * @name_zh 解绑 MFA
164
- * @description 解绑 MFA
165
- *
166
- * @example
167
- * const authenticationClient = new AuthenticationClient({
168
- * appId: "YOUR_APP_ID",
169
- * })
170
- * const authenticators = await authenticationClient.mfa.deleteMfaAuthenticator()
171
- *
172
- * @returns {Promise<IMfaDeleteAssociation>}
173
- * @memberof MfaAuthenticationClient
174
- */
175
- MfaAuthenticationClient.prototype.deleteMfaAuthenticator = function () {
176
- return __awaiter(this, void 0, void 0, function () {
177
- var api;
178
- return __generator(this, function (_a) {
179
- switch (_a.label) {
180
- case 0:
181
- api = this.baseClient.appHost + "/api/v2/mfa/totp/associate";
182
- return [4 /*yield*/, this.httpClient.request({
183
- method: 'DELETE',
184
- url: api
185
- })];
186
- case 1:
187
- _a.sent();
188
- return [2 /*return*/, {
189
- code: 200,
190
- message: 'TOTP MFA 解绑成功'
191
- }];
192
- }
193
- });
194
- });
195
- };
196
- /**
197
- * @name confirmAssosicateMfaAuthenticator
198
- * @name_zh 确认绑定 MFA
199
- * @description 确认绑定 MFA
200
- *
201
- * @example
202
- * const authenticationClient = new AuthenticationClient({
203
- * appId: "YOUR_APP_ID",
204
- * })
205
- * const authenticators = await authenticationClient.mfa.confirmAssosicateMfaAuthenticator({ authenticatorType: 'totp', totp: '112233' })
206
- *
207
- * @returns {Promise<IMfaConfirmAssociation>}
208
- * @memberof MfaAuthenticationClient
209
- */
210
- MfaAuthenticationClient.prototype.confirmAssosicateMfaAuthenticator = function (options) {
211
- if (options === void 0) { options = { authenticatorType: 'totp', source: 'SELF' }; }
212
- return __awaiter(this, void 0, void 0, function () {
213
- var api, authenticatorType, totp, source, mfaToken, headers;
214
- return __generator(this, function (_a) {
215
- switch (_a.label) {
216
- case 0:
217
- api = this.baseClient.appHost + "/api/v2/mfa/totp/associate/confirm";
218
- authenticatorType = options.authenticatorType, totp = options.totp, source = options.source, mfaToken = options.mfaToken;
219
- headers = {};
220
- if (mfaToken) {
221
- headers.authorization = "Bearer " + mfaToken;
222
- }
223
- return [4 /*yield*/, this.httpClient.request({
224
- method: 'POST',
225
- url: api,
226
- data: {
227
- authenticator_type: authenticatorType,
228
- totp: totp,
229
- source: source
230
- }
231
- })];
232
- case 1:
233
- _a.sent();
234
- return [2 /*return*/, { code: 200, message: 'TOTP MFA 绑定成功' }];
235
- }
236
- });
237
- });
238
- };
239
- /**
240
- * @name verifyTotpMfa
241
- * @name_zh 检验二次验证 MFA 口令
242
- * @description 检验二次验证 MFA 口令
243
- *
244
- * @example
245
- * const authenticationClient = new AuthenticationClient({
246
- * appId: "YOUR_APP_ID",
247
- * })
248
- * const authenticators = await authenticationClient.mfa.verifyTotpMfa({ authenticatorType: 'totp', totp: '112233' })
249
- *
250
- * @returns {Promise<User>}
251
- * @memberof MfaAuthenticationClient
252
- */
253
- MfaAuthenticationClient.prototype.verifyTotpMfa = function (options) {
254
- return __awaiter(this, void 0, void 0, function () {
255
- var api, data;
256
- return __generator(this, function (_a) {
257
- switch (_a.label) {
258
- case 0:
259
- api = this.baseClient.appHost + "/api/v2/mfa/totp/verify";
260
- return [4 /*yield*/, this.httpClient.request({
261
- method: 'POST',
262
- url: api,
263
- data: {
264
- totp: options.totp
265
- },
266
- headers: {
267
- authorization: 'Bearer ' + options.mfaToken
268
- }
269
- })];
270
- case 1:
271
- data = _a.sent();
272
- return [2 /*return*/, data];
273
- }
274
- });
275
- });
276
- };
277
- /**
278
- * @name verifyAppSmsMfa
279
- * @name_zh 检验二次验证 MFA 短信验证码
280
- * @description 检验二次验证 MFA 短信验证码
281
- *
282
- * @param {object} options
283
- * @param {string} options.phone 用户手机号
284
- * @param {string} options.code 手机验证码
285
- * @param {string} options.token 登录接口返回的 mfaToken
286
- *
287
- * @example
288
- * const authenticationClient = new AuthenticationClient({
289
- * appId: "YOUR_APP_ID",
290
- * })
291
- * const authenticators = await authenticationClient.mfa.verifySmsMfa({ mfaToken: 'xxxxxx', phone: '173xxxxxxxx' })
292
- *
293
- * @returns {Promise<User>}
294
- * @memberof MfaAuthenticationClient
295
- */
296
- MfaAuthenticationClient.prototype.verifyAppSmsMfa = function (options) {
297
- return __awaiter(this, void 0, void 0, function () {
298
- var api, data;
299
- return __generator(this, function (_a) {
300
- switch (_a.label) {
301
- case 0:
302
- api = this.baseClient.appHost + "/api/v2/applications/mfa/sms/verify";
303
- return [4 /*yield*/, this.httpClient.request({
304
- method: 'POST',
305
- url: api,
306
- data: {
307
- phone: options.phone,
308
- code: options.code
309
- },
310
- headers: {
311
- authorization: 'Bearer ' + options.mfaToken
312
- }
313
- })];
314
- case 1:
315
- data = _a.sent();
316
- return [2 /*return*/, data];
317
- }
318
- });
319
- });
320
- };
321
- /**
322
- * @name verifyAppEmailMfa
323
- * @name_zh 检验二次验证 MFA 邮箱验证码
324
- * @description 检验二次验证 MFA 邮箱验证码
325
- *
326
- * @param {object} options
327
- * @param {string} options.email 用户邮箱
328
- * @param {string} options.code 邮箱验证码
329
- * @param {string} options.token 登录接口返回的 mfaToken
330
- *
331
- * @example
332
- * const authenticationClient = new AuthenticationClient({
333
- * appId: "YOUR_APP_ID",
334
- * })
335
- * const authenticators = await authenticationClient.mfa.verifyAppEmailMfa({ mfaToken: 'xxxx', email: 'example@authing.com' })
336
- *
337
- * @returns {Promise<User>}
338
- * @memberof MfaAuthenticationClient
339
- */
340
- MfaAuthenticationClient.prototype.verifyAppEmailMfa = function (options) {
341
- return __awaiter(this, void 0, void 0, function () {
342
- var api, data;
343
- return __generator(this, function (_a) {
344
- switch (_a.label) {
345
- case 0:
346
- api = this.baseClient.appHost + "/api/v2/applications/mfa/email/verify";
347
- return [4 /*yield*/, this.httpClient.request({
348
- method: 'POST',
349
- url: api,
350
- data: {
351
- email: options.email,
352
- code: options.code
353
- },
354
- headers: {
355
- authorization: 'Bearer ' + options.mfaToken
356
- }
357
- })];
358
- case 1:
359
- data = _a.sent();
360
- return [2 /*return*/, data];
361
- }
362
- });
363
- });
364
- };
365
- /**
366
- * @name phoneOrEmailBindable
367
- * @name_zh 检测手机号或邮箱是否已被绑定
368
- * @description 当需要手机或邮箱 MFA 登录,而用户未绑定手机或邮箱时,可先让用户输入手机号或邮箱,用此接口先检测手机或邮箱是否可绑定,再进行 MFA 验证
369
- *
370
- * @param {object} options
371
- * @param {string} [options.mfaToken] 后端返回的 mfaToken
372
- * @param {string} [options.phone] 需要检测的手机号
373
- * @param {string} [options.email] 需要检测的邮箱
374
- *
375
- * @example
376
- *
377
- * authenticationClient.phoneOrEmailBindable({
378
- * phone: '173xxxxxxxx',
379
- * mfaToken: 'xxxxx'
380
- * })
381
- *
382
- * @returns {Promise<boolean>}
383
- * @memberof MfaAuthenticationClient
384
- */
385
- MfaAuthenticationClient.prototype.phoneOrEmailBindable = function (_a) {
386
- var phone = _a.phone, email = _a.email, mfaToken = _a.mfaToken;
387
- return __awaiter(this, void 0, void 0, function () {
388
- var api;
389
- return __generator(this, function (_b) {
390
- switch (_b.label) {
391
- case 0:
392
- api = this.baseClient.appHost + "/api/v2/applications/mfa/check";
393
- return [4 /*yield*/, this.httpClient.request({
394
- method: 'POST',
395
- url: api,
396
- data: {
397
- email: email,
398
- phone: phone
399
- },
400
- headers: {
401
- authorization: 'Bearer ' + mfaToken
402
- }
403
- })];
404
- case 1: return [2 /*return*/, _b.sent()];
405
- }
406
- });
407
- });
408
- };
409
- /**
410
- * @name verifyTotpRecoveryCode
411
- * @name_zh 检验二次验证 MFA 恢复代码
412
- * @description 检验二次验证 MFA 恢复代码
413
- *
414
- * @example
415
- * const authenticationClient = new AuthenticationClient({
416
- * appId: "YOUR_APP_ID",
417
- * })
418
- * const authenticators = await authenticationClient.mfa.verifyTotpRecoveryCode({ authenticatorType: 'totp', totp: '112233' })
419
- *
420
- * @returns {Promise<User>}
421
- * @memberof MfaAuthenticationClient
422
- */
423
- MfaAuthenticationClient.prototype.verifyTotpRecoveryCode = function (options) {
424
- return __awaiter(this, void 0, void 0, function () {
425
- var api, data;
426
- return __generator(this, function (_a) {
427
- switch (_a.label) {
428
- case 0:
429
- api = this.baseClient.appHost + "/api/v2/mfa/totp/recovery";
430
- return [4 /*yield*/, this.httpClient.request({
431
- method: 'POST',
432
- url: api,
433
- data: {
434
- recoveryCode: options.recoveryCode
435
- },
436
- headers: {
437
- authorization: 'Bearer ' + options.mfaToken
438
- }
439
- })];
440
- case 1:
441
- data = _a.sent();
442
- return [2 /*return*/, data];
443
- }
444
- });
445
- });
446
- };
447
- /**
448
- * @name associateFaceByUrl
449
- * @name_zh 通过图片 URL 方式绑定人脸
450
- * @description 通过图片 URL 方式绑定人脸
451
- *
452
- * @param {object} options
453
- * @param {string} options.baseFace 基础人脸照片
454
- * @param {string} options.compareFace 用于对比的人脸照片地址
455
- * @param {string} [options.mfaToken] 若是在二次认证时绑定人脸,需要传入 mfaToken
456
- *
457
- * @example
458
- * const authenticationClient = new AuthenticationClient({
459
- * appId: "YOUR_APP_ID",
460
- * })
461
- * const user = await authenticationClient.mfa.associateFace({ photoA: 'http://example.com/photo/imgA.jpg', photoB: 'http://example.com/photo/imgB.jpg', mfaToken: 'xxxxxxxxxxxx' })
462
- *
463
- * @returns {Promise<User>}
464
- * @memberof MfaAuthenticationClient
465
- */
466
- MfaAuthenticationClient.prototype.associateFaceByUrl = function (options) {
467
- return __awaiter(this, void 0, void 0, function () {
468
- var baseFace, compareFace, mfaToken, headers, api, data;
469
- return __generator(this, function (_a) {
470
- switch (_a.label) {
471
- case 0:
472
- baseFace = options.baseFace, compareFace = options.compareFace, mfaToken = options.mfaToken;
473
- headers = {};
474
- if (mfaToken) {
475
- headers.authorization = "Bearer " + mfaToken;
476
- }
477
- api = this.baseClient.appHost + "/api/v2/mfa/face/associate";
478
- return [4 /*yield*/, this.httpClient.request({
479
- method: 'POST',
480
- url: api,
481
- data: {
482
- photoA: baseFace,
483
- photoB: compareFace,
484
- isExternal: true
485
- },
486
- headers: headers
487
- })];
488
- case 1:
489
- data = _a.sent();
490
- return [2 /*return*/, data];
491
- }
492
- });
493
- });
494
- };
495
- /**
496
- * @name associateFaceByLocalFile
497
- * @name_zh 通过上传本地文件的方式绑定人脸
498
- * @description 通过上传本地文件的方式绑定人脸
499
- *
500
- * @param {string} [mfaToken] 若是在二次认证时绑定人脸,需要传入 mfaToken
501
- *
502
- * @example
503
- * const authenticationClient = new AuthenticationClient({
504
- * appId: "YOUR_APP_ID",
505
- * })
506
- * const user = await authenticationClient.mfa.associateFaceByLocalFile('xxxxxxxxxxx')
507
- *
508
- * @returns {Promise<User>}
509
- * @memberof MfaAuthenticationClient
510
- */
511
- MfaAuthenticationClient.prototype.associateFaceByLocalFile = function (mfaToken) {
512
- return __awaiter(this, void 0, void 0, function () {
513
- var headers, uploadedKey, key, e_1, data;
514
- return __generator(this, function (_a) {
515
- switch (_a.label) {
516
- case 0:
517
- headers = {};
518
- if (mfaToken) {
519
- headers.authorization = "Bearer " + mfaToken;
520
- }
521
- _a.label = 1;
522
- case 1:
523
- _a.trys.push([1, 3, , 4]);
524
- return [4 /*yield*/, utils_1.uploadFile({
525
- // 阿里云支持这些
526
- accept: '.jpeg,.jpg,.png,.bmp',
527
- url: this.baseClient.appHost + "/api/v2/upload?folder=face-photo&private=true"
528
- })];
529
- case 2:
530
- key = (_a.sent()).key;
531
- uploadedKey = key;
532
- return [3 /*break*/, 4];
533
- case 3:
534
- e_1 = _a.sent();
535
- this.options.onError(e_1.code, e_1.message);
536
- return [3 /*break*/, 4];
537
- case 4: return [4 /*yield*/, this.httpClient.request({
538
- method: 'POST',
539
- url: this.baseClient.appHost + "/api/v2/mfa/face/associate",
540
- data: {
541
- photoA: uploadedKey,
542
- photoB: uploadedKey
543
- },
544
- headers: headers
545
- })];
546
- case 5:
547
- data = _a.sent();
548
- return [2 /*return*/, data];
549
- }
550
- });
551
- });
552
- };
553
- /**
554
- * @name associateFaceByBlob
555
- * @name_zh 通过传入 Blob 对象绑定人脸
556
- * @description 通过传入 Blob 对象绑定人脸
557
- *
558
- * @param {object} options
559
- * @param {string} options.baseFace 基础人脸数据 Blob 对象
560
- * @param {string} options.compareFace 用于对比的人脸数据 Blob 对象
561
- * @param {string} [options.mfaToken] 若是在二次认证时绑定人脸,需要传入 mfaToken
562
- *
563
- * @example
564
- * const authenticationClient = new AuthenticationClient({
565
- * appId: "YOUR_APP_ID",
566
- * })
567
- * const user = await authenticationClient.mfa.associateFaceByBlob({blobA: Blob, blobB: Blob, mfaToken: 'xxx'})
568
- *
569
- * @returns {Promise<User>}
570
- * @memberof MfaAuthenticationClient
571
- */
572
- MfaAuthenticationClient.prototype.associateFaceByBlob = function (opts) {
573
- return __awaiter(this, void 0, void 0, function () {
574
- var baseFace, compareFace, mfaToken, headers, photoA, photoB, uploadUrl, keyA, keyB, e_2, data;
575
- return __generator(this, function (_a) {
576
- switch (_a.label) {
577
- case 0:
578
- baseFace = opts.baseFace, compareFace = opts.compareFace, mfaToken = opts.mfaToken;
579
- headers = {};
580
- if (mfaToken) {
581
- headers.authorization = "Bearer " + mfaToken;
582
- }
583
- uploadUrl = this.baseClient.appHost + "/api/v2/upload?folder=face-photo&private=true";
584
- _a.label = 1;
585
- case 1:
586
- _a.trys.push([1, 6, , 7]);
587
- return [4 /*yield*/, utils_1.xhrUpload(baseFace, uploadUrl)];
588
- case 2:
589
- keyA = (_a.sent()).key;
590
- photoA = keyA;
591
- if (!compareFace) return [3 /*break*/, 4];
592
- return [4 /*yield*/, utils_1.xhrUpload(compareFace, uploadUrl)];
593
- case 3:
594
- keyB = (_a.sent()).key;
595
- photoB = keyB;
596
- return [3 /*break*/, 5];
597
- case 4:
598
- photoB = keyA;
599
- _a.label = 5;
600
- case 5: return [3 /*break*/, 7];
601
- case 6:
602
- e_2 = _a.sent();
603
- this.options.onError(e_2.code, e_2.message);
604
- return [3 /*break*/, 7];
605
- case 7: return [4 /*yield*/, this.httpClient.request({
606
- method: 'POST',
607
- url: this.baseClient.appHost + "/api/v2/mfa/face/associate",
608
- data: {
609
- photoA: photoA,
610
- photoB: photoB
611
- },
612
- headers: headers
613
- })];
614
- case 8:
615
- data = _a.sent();
616
- return [2 /*return*/, data];
617
- }
618
- });
619
- });
620
- };
621
- /**
622
- * @name verifyFaceMfa
623
- * @name_zh 检测二次登录人脸验证
624
- * @description 检测二次登录人脸验证
625
- *
626
- * @param {string} photo 人脸照片地址
627
- * @param {string} mfaToken 二次校验时 Authing 返回的 mfaToken
628
- *
629
- * @example
630
- * const authenticationClient = new AuthenticationClient({
631
- * appId: "YOUR_APP_ID",
632
- * })
633
- * const user = await authenticationClient.mfa.verifyFaceMfa('http://example.com/photo/photo.jpg')
634
- *
635
- * @returns {Promise<User>}
636
- * @memberof MfaAuthenticationClient
637
- */
638
- MfaAuthenticationClient.prototype.verifyFaceMfa = function (photo, mfaToken) {
639
- return __awaiter(this, void 0, void 0, function () {
640
- var api, data;
641
- return __generator(this, function (_a) {
642
- switch (_a.label) {
643
- case 0:
644
- api = this.baseClient.appHost + "/api/v2/mfa/face/verify";
645
- return [4 /*yield*/, this.httpClient.request({
646
- method: 'POST',
647
- url: api,
648
- data: {
649
- photo: photo
650
- },
651
- headers: {
652
- authorization: "Bearer " + mfaToken
653
- }
654
- })];
655
- case 1:
656
- data = _a.sent();
657
- return [2 /*return*/, data];
658
- }
659
- });
660
- });
661
- };
662
- return MfaAuthenticationClient;
663
- }());
664
- exports.MfaAuthenticationClient = MfaAuthenticationClient;
665
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTWZhQXV0aGVudGljYXRpb25DbGllbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2F1dGhlbnRpY2F0aW9uL01mYUF1dGhlbnRpY2F0aW9uQ2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQVdBLHVFQUFzRTtBQUV0RSxrQ0FBaUQ7QUFFakQ7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0F5Qkc7QUFDSDtJQU1FLGlDQUNFLE9BQW9DLEVBQ3BDLGFBQTBDLEVBQzFDLFVBQXNCO1FBRXRCLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO1FBQ3ZCLElBQUksQ0FBQyxhQUFhLEdBQUcsYUFBYSxDQUFDO1FBQ25DLElBQUksQ0FBQyxVQUFVLEdBQ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