authing_ruby 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/authing_ruby.gemspec +30 -0
- data/lib/authing_ruby/GraphQLAPI.rb +151 -0
- data/lib/authing_ruby/authentication/AuthenticationClient.rb +801 -0
- data/lib/authing_ruby/authentication/AuthenticationTokenProvider.rb +42 -0
- data/lib/authing_ruby/authentication/BaseAuthenticationClient.rb +28 -0
- data/lib/authing_ruby/common/GraphqlClient.rb +39 -0
- data/lib/authing_ruby/common/HttpClient.rb +247 -0
- data/lib/authing_ruby/common/PublicKeyManager.rb +42 -0
- data/lib/authing_ruby/graphql/mutations/bindPhone.gql +53 -0
- data/lib/authing_ruby/graphql/mutations/createUser.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/deleteUser.gql +6 -0
- data/lib/authing_ruby/graphql/mutations/deleteUsers.gql +6 -0
- data/lib/authing_ruby/graphql/mutations/loginByEmail.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/loginByPhoneCode.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/loginByPhonePassword.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/loginByUsername.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/refreshAccessToken.gql +7 -0
- data/lib/authing_ruby/graphql/mutations/registerByEmail.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/registerByPhoneCode.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/registerByUsername.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/resetPassword.gql +6 -0
- data/lib/authing_ruby/graphql/mutations/sendEmail.gql +6 -0
- data/lib/authing_ruby/graphql/mutations/updatePassword.gql +53 -0
- data/lib/authing_ruby/graphql/mutations/updateUser.gql +54 -0
- data/lib/authing_ruby/graphql/queries/accessToken.gql +7 -0
- data/lib/authing_ruby/graphql/queries/checkLoginStatus.gql +14 -0
- data/lib/authing_ruby/graphql/queries/checkPasswordStrength.gql +6 -0
- data/lib/authing_ruby/graphql/queries/findUser.gql +64 -0
- data/lib/authing_ruby/graphql/queries/isUserExists.gql +13 -0
- data/lib/authing_ruby/graphql/queries/user.gql +63 -0
- data/lib/authing_ruby/graphql/queries/users.gql +57 -0
- data/lib/authing_ruby/management/AclManagementClient.rb +47 -0
- data/lib/authing_ruby/management/ApplicationsManagementClient.rb +79 -0
- data/lib/authing_ruby/management/ManagementClient.rb +66 -0
- data/lib/authing_ruby/management/ManagementTokenProvider.rb +92 -0
- data/lib/authing_ruby/management/RolesManagementClient.rb +38 -0
- data/lib/authing_ruby/management/UserpoolManagementClient.rb +15 -0
- data/lib/authing_ruby/management/UsersManagementClient.rb +161 -0
- data/lib/authing_ruby/management/WhitelistManagementClient.rb +1 -0
- data/lib/authing_ruby/test/RSA.rb +18 -0
- data/lib/authing_ruby/test/helper.rb +15 -0
- data/lib/authing_ruby/test/js_sdk_test/1.buildAuthorizeUrl.js +43 -0
- data/lib/authing_ruby/test/js_sdk_test/2.buildAuthorizeUrl_PKCE.js +47 -0
- data/lib/authing_ruby/test/js_sdk_test/README.md +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/CONTRIBUTION.md +23 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/LICENSE +21 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/README.md +303 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js +2 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js.LICENSE.txt +91 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.js +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.d.ts +1078 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.js +2801 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.d.ts +13 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.js +56 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.d.ts +6 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.js +31 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.d.ts +92 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.js +250 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.d.ts +303 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.js +665 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.d.ts +232 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.js +619 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.d.ts +100 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.js +179 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.d.ts +331 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.js +69 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.d.ts +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.js +125 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.d.ts +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.js +149 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.d.ts +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.js +81 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.d.ts +110 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.js +1812 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.d.ts +236 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.js +863 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.d.ts +65 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.js +195 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.d.ts +216 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.js +531 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.d.ts +184 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.js +386 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.d.ts +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.js +126 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.d.ts +74 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.js +190 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.d.ts +39 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.js +159 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.d.ts +488 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.js +772 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.d.ts +304 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.js +512 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.d.ts +291 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.js +676 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.d.ts +56 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.js +198 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.d.ts +146 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.js +264 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.d.ts +44 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.js +106 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.d.ts +142 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.js +241 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.d.ts +753 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.js +1114 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.d.ts +114 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.js +259 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.d.ts +982 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.js +96 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.d.ts +30 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.js +126 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.d.ts +31 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.js +67 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.d.ts +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.js +343 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.d.ts +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.js +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.d.ts +5612 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.js +240 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.js +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.js +8 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.d.ts +1078 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.js +2795 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.d.ts +13 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.d.ts +6 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.js +28 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.d.ts +92 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.js +247 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.d.ts +303 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.js +662 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.d.ts +232 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.js +616 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.d.ts +100 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.js +176 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.d.ts +331 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.js +66 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.d.ts +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.js +119 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.d.ts +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.js +143 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.d.ts +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.js +78 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.d.ts +110 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.js +1809 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.d.ts +236 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.js +860 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.d.ts +65 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.js +192 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.d.ts +216 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.js +528 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.d.ts +184 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.js +383 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.d.ts +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.js +123 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.d.ts +74 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.js +184 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.d.ts +39 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.js +153 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.d.ts +488 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.js +750 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.d.ts +304 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.js +509 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.d.ts +291 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.js +673 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.d.ts +56 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.js +195 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.d.ts +146 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.js +261 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.d.ts +44 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.js +103 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.d.ts +142 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.js +238 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.d.ts +753 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.js +1111 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.d.ts +114 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.js +256 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.d.ts +982 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.js +93 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.d.ts +30 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.js +123 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.d.ts +31 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.js +62 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.d.ts +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.js +336 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.d.ts +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.js +2 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.d.ts +5612 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.js +237 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.js +30 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.d.ts +1078 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.js +2811 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.d.ts +13 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.js +66 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.d.ts +6 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.js +41 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.d.ts +92 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.js +260 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.d.ts +303 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.js +675 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.d.ts +232 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.js +629 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.d.ts +100 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.js +189 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.d.ts +331 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.js +79 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.d.ts +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.js +135 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.d.ts +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.js +159 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.d.ts +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.js +91 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.d.ts +110 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.js +1822 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.d.ts +236 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.js +873 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.d.ts +65 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.js +205 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.d.ts +216 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.js +541 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.d.ts +184 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.js +396 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.d.ts +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.js +136 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.d.ts +74 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.js +200 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.d.ts +39 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.js +169 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.d.ts +488 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.js +782 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.d.ts +304 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.js +522 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.d.ts +291 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.js +686 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.d.ts +56 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.js +208 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.d.ts +146 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.js +274 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.d.ts +44 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.js +116 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.d.ts +142 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.js +251 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.d.ts +753 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.js +1124 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.d.ts +114 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.js +269 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.d.ts +982 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.js +106 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.d.ts +30 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.js +136 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.d.ts +31 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.js +77 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.d.ts +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.js +353 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.d.ts +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.js +15 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.d.ts +5612 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.js +250 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.js +13 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build-doc.js +520 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/CHANGELOG.md +413 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/LICENSE +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/README.md +709 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/UPGRADE_GUIDE.md +162 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.js +1715 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.map +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.js +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.map +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.d.ts +157 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/README.md +37 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/http.js +279 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/xhr.js +180 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/axios.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/Cancel.js +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/CancelToken.js +57 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/isCancel.js +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/Axios.js +94 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/InterceptorManager.js +52 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/README.md +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/buildFullPath.js +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/createError.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/dispatchRequest.js +79 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/enhanceError.js +42 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/mergeConfig.js +73 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/settle.js +25 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/transformData.js +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/defaults.js +97 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/README.md +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/bind.js +11 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/buildURL.js +71 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/combineURLs.js +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/cookies.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/spread.js +27 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/utils.js +344 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/package.json +84 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/LICENSE +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/README.md +155 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/http.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/https.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/index.js +322 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/package.json +60 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/package.json +129 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tests/index.html +21 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.brower.json +45 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.node.json +0 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/webpack.config.js +41 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/CHANGELOG.md +685 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/LICENSE +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/README.md +800 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/UPGRADE_GUIDE.md +162 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.js +1756 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.map +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.js +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.map +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.d.ts +161 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/README.md +37 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/http.js +303 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/xhr.js +179 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/axios.js +56 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/Cancel.js +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/CancelToken.js +57 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/isCancel.js +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/Axios.js +95 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/InterceptorManager.js +52 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/README.md +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/buildFullPath.js +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/createError.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/dispatchRequest.js +79 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/enhanceError.js +42 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/mergeConfig.js +87 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/settle.js +25 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/transformData.js +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/defaults.js +98 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/README.md +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/bind.js +11 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/buildURL.js +70 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/combineURLs.js +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/cookies.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAxiosError.js +11 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/spread.js +27 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/utils.js +351 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/package.json +86 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/CONTRIBUTING.md +28 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/LICENSE +24 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/README.md +249 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/aes.js +234 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/bower.json +35 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/cipher-core.js +890 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/core.js +797 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/crypto-js.js +6059 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/docs/QuickStartGuide.wiki +470 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-base64.js +136 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-hex.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-latin1.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf16.js +149 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf8.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/evpkdf.js +134 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-hex.js +66 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-openssl.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-md5.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-ripemd160.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha1.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha224.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha256.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha3.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha384.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha512.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac.js +143 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/index.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/lib-typedarrays.js +76 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/md5.js +268 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-cfb.js +80 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr-gladman.js +116 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr.js +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ecb.js +40 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ofb.js +54 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/package.json +38 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-ansix923.js +49 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso10126.js +44 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso97971.js +40 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-nopadding.js +30 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-pkcs7.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-zeropadding.js +47 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pbkdf2.js +145 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit-legacy.js +190 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit.js +192 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rc4.js +139 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/ripemd160.js +267 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha1.js +150 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha224.js +80 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha256.js +199 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha3.js +326 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha384.js +83 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha512.js +326 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/tripledes.js +779 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/x64-core.js +304 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/CHANGELOG.md +395 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/LICENSE +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/Makefile +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/README.md +368 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/karma.conf.js +70 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/node.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/package.json +43 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/browser.js +195 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/debug.js +225 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/index.js +10 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/node.js +186 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/LICENSE +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/README.md +148 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/debug.js +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/http.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/https.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/index.js +535 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/package.json +59 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/LICENSE.txt +107 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/README.md +192 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.js +249 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js +2 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js.LICENSE.txt +8 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.d.ts +116 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.js +186 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.d.ts +142 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.js +315 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.d.ts +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.js +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.d.ts +51 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.js +565 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.d.ts +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.js +88 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.d.ts +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.js +64 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.d.ts +9 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.js +87 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.d.ts +9778 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.js +1962 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.d.ts +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.js +76 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.d.ts +98 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js +1754 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.d.ts +10 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.js +46 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.d.ts +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.js +76 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.d.ts +23 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.js +373 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.js +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js +1593 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js +69 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/version.json +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/package.json +49 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/Gruntfile.js +78 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/LICENSE +21 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/README.md +55 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/bower.json +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.js +125 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.min.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/jwt-decode.html +2 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/atob.js +38 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/base64_url_decode.js +33 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/index.js +26 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/package.json +37 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js +16 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test/tests.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test_harness.html +29 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem.yml +46 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem_dev.yml +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/index.js +152 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/license.md +21 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/package.json +37 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/readme.md +51 -0
- data/lib/authing_ruby/test/js_sdk_test/package-lock.json +177 -0
- data/lib/authing_ruby/test/js_sdk_test/package.json +15 -0
- data/lib/authing_ruby/test/mini_test/TestApplicationsManagementClient.rb +85 -0
- data/lib/authing_ruby/test/mini_test/TestAuthenticationClient.rb +232 -0
- data/lib/authing_ruby/test/mini_test/TestAuthenticationClientProtocal.rb +238 -0
- data/lib/authing_ruby/test/mini_test/TestHttpClient.rb +53 -0
- data/lib/authing_ruby/test/mini_test/TestManagementClient.rb +193 -0
- data/lib/authing_ruby/test/mini_test/TestManagementTokenProvider.rb +49 -0
- data/lib/authing_ruby/test/mini_test/TestNaiveHttpClient.rb +33 -0
- data/lib/authing_ruby/test/mini_test/TestSMSandEmail.rb +101 -0
- data/lib/authing_ruby/test/mini_test/TestUtils.rb +35 -0
- data/lib/authing_ruby/utils/utils.rb +40 -0
- data/lib/authing_ruby/version.rb +6 -0
- data/lib/authing_ruby.rb +14 -0
- metadata +694 -0
@@ -0,0 +1,1111 @@
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
8
|
+
});
|
9
|
+
};
|
10
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
12
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
13
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
14
|
+
function step(op) {
|
15
|
+
if (f) throw new TypeError("Generator is already executing.");
|
16
|
+
while (_) try {
|
17
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
18
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
19
|
+
switch (op[0]) {
|
20
|
+
case 0: case 1: t = op; break;
|
21
|
+
case 4: _.label++; return { value: op[1], done: false };
|
22
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
23
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
24
|
+
default:
|
25
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
26
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
27
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
28
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
29
|
+
if (t[2]) _.ops.pop();
|
30
|
+
_.trys.pop(); continue;
|
31
|
+
}
|
32
|
+
op = body.call(thisArg, _);
|
33
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
34
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
35
|
+
}
|
36
|
+
};
|
37
|
+
import { objectToQueryString } from '../utils';
|
38
|
+
import { deleteUser, deleteUsers, user, users, getUserGroups, updateUser, searchUser, createUser, refreshToken, getUserRoles, assignRole, revokeRole, isUserExists, addUserToGroup, removeUserFromGroup, archivedUsers, findUser, getUserDepartments, listUserAuthorizedResources, udv, udfValueBatch, setUdvBatch, removeUdv, setUdfValueBatch } from '../graphqlapi';
|
39
|
+
import { UdfTargetType } from '../../types/graphql.v2';
|
40
|
+
import { convertUdvToKeyValuePair, formatAuthorizedResources } from '../utils';
|
41
|
+
/**
|
42
|
+
* @name UsersManagementClient
|
43
|
+
* @description Authing 用户管理模块。
|
44
|
+
*
|
45
|
+
* 此模块可以进行用户目录增删改查、搜索用户、刷新用户 token、管理用户分组、管理用户角色、管理用户策略授权等操作。
|
46
|
+
*
|
47
|
+
* 该模块发出的所有操作都将以管理员身份进行,所以不需要进行建议短信验证码等操作,如果你希望以普通用户的身份进行操作,请使用 AuthenticationClient 。
|
48
|
+
*
|
49
|
+
* @example
|
50
|
+
*
|
51
|
+
* 请使用以下方式使用该模块:
|
52
|
+
* \`\`\`javascript
|
53
|
+
* import { ManagementClient } from "authing-js-sdk"
|
54
|
+
* const managementClient = new ManagementClient({
|
55
|
+
* userPoolId: "YOUR_USERPOOL_ID",
|
56
|
+
* secret: "YOUR_USERPOOL_SECRET",
|
57
|
+
* })
|
58
|
+
*
|
59
|
+
* managementClient.users.list // 获取用户列表
|
60
|
+
* managementClient.users.create // 创建用户
|
61
|
+
* managementClient.users.listRoles // 获取用户角色列表
|
62
|
+
* managementClient.users.search // 搜索用户
|
63
|
+
* \`\`\`
|
64
|
+
*
|
65
|
+
* @class UsersManagementClient 管理用户
|
66
|
+
*/
|
67
|
+
var UsersManagementClient = /** @class */ (function () {
|
68
|
+
function UsersManagementClient(options, graphqlClient, httpClient, tokenProvider, publickKeyManager) {
|
69
|
+
this.options = options;
|
70
|
+
this.graphqlClient = graphqlClient;
|
71
|
+
this.tokenProvider = tokenProvider;
|
72
|
+
this.httpClient = httpClient;
|
73
|
+
this.publickKeyManager = publickKeyManager;
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* @name create
|
77
|
+
* @name_zh 创建用户
|
78
|
+
* @description 此接口将以管理员身份创建用户,不需要进行手机号验证码检验等安全检测。
|
79
|
+
*
|
80
|
+
* @param {CreateUserInput} userInfo 用户资料
|
81
|
+
* @param {string} userInfo.email 邮箱,用户池内唯一
|
82
|
+
* @param {boolean} userInfo.emailVerified 邮箱是否已验证
|
83
|
+
* @param {string} userInfo.phone 手机号
|
84
|
+
* @param {boolean} userInfo.phoneVerified 手机号是否验证
|
85
|
+
* @param {string} userInfo.unionid 以社会化登录的用户该字段为用户在第三方社会化登录服务商中的唯一 ID
|
86
|
+
* @param {string} userInfo.openid 微信登录返回的 openid
|
87
|
+
* @param {string} userInfo.password 密码
|
88
|
+
* @param {string} userInfo.registerSource 注册来源,可以多选
|
89
|
+
* @param {string} userInfo.username 用户名
|
90
|
+
* @param {string} userInfo.nickname 昵称
|
91
|
+
* @param {string} userInfo.photo 头像
|
92
|
+
* @param {string} userInfo.company 公司
|
93
|
+
* @param {string} userInfo.browser 浏览器
|
94
|
+
* @param {number} userInfo.loginsCount 登录次数,当你从原有用户系统迁移到 Authing 时可以设置该字段。
|
95
|
+
* @param {string} userInfo.lastLogin 上次登录时间, 符合 ISO8601 格式的时间字符串。(如 "2017-06-07T14:34:08.700Z", "2017-06-07T14:34:08.700 or "2017-06-07T14:34:08+04:00")
|
96
|
+
* @param {string} userInfo.lastIP 用户最近一次登录(或其他活动)的 IP
|
97
|
+
* @param {string} userInfo.signedUp 注册时间,符合 ISO8601 格式的时间字符串。(如 "2017-06-07T14:34:08.700Z", "2017-06-07T14:34:08.700 or "2017-06-07T14:34:08+04:00")
|
98
|
+
* @param {boolean} userInfo.blocked 账号是否被禁用
|
99
|
+
* @param {boolean} userInfo.isDeleted 标记账号是否被删除
|
100
|
+
* @param {string} userInfo.device 设备
|
101
|
+
* @param {string} userInfo.lastIP 最近登录的 IP
|
102
|
+
* @param {string} userInfo.name Name
|
103
|
+
* @param {string} userInfo.givenName Given Name
|
104
|
+
* @param {string} userInfo.familyName Family Name
|
105
|
+
* @param {string} userInfo.middleName Middle Name
|
106
|
+
* @param {string} userInfo.profile Profile Url
|
107
|
+
* @param {string} userInfo.preferredUsername Preferred Name
|
108
|
+
* @param {string} userInfo.website 个人网站
|
109
|
+
* @param {string} userInfo.gender 性别, F 表示男性、W 表示女性、未知表示 U
|
110
|
+
* @param {string} userInfo.birthdate 生日
|
111
|
+
* @param {string} userInfo.zoneinfo 时区
|
112
|
+
* @param {string} userInfo.locale 语言
|
113
|
+
* @param {string} userInfo.address 地址
|
114
|
+
* @param {string} userInfo.streetAddress 街道地址
|
115
|
+
* @param {string} userInfo.locality
|
116
|
+
* @param {string} userInfo.region 地域
|
117
|
+
* @param {string} userInfo.postalCode 邮编
|
118
|
+
* @param {string} userInfo.city 城市
|
119
|
+
* @param {string} userInfo.province 省份
|
120
|
+
* @param {string} userInfo.country 国家
|
121
|
+
*
|
122
|
+
* @example
|
123
|
+
*
|
124
|
+
* const user = await managementClient.users.create({
|
125
|
+
* username: 'bob',
|
126
|
+
* password: 'passw0rd'
|
127
|
+
* })
|
128
|
+
*
|
129
|
+
* @example
|
130
|
+
*
|
131
|
+
* const user = await managementClient.users.create({
|
132
|
+
* nickname: 'Nick',
|
133
|
+
* phone: '176xxxx7041', // 由于是管理员操作,所以检验手机号验证码, 如果你需要检验,请使用 AuthenticationClient
|
134
|
+
* loginsCount: 2 // 原有用户系统记录的用户登录次数
|
135
|
+
* signedUp: '2020-10-15T17:55:37+08:00' // 原有用户系统记录的用户注册时间
|
136
|
+
* })
|
137
|
+
*
|
138
|
+
* @returns {Promise<User>}
|
139
|
+
* @memberof UsersManagementClient
|
140
|
+
*/
|
141
|
+
UsersManagementClient.prototype.create = function (userInfo, options) {
|
142
|
+
return __awaiter(this, void 0, void 0, function () {
|
143
|
+
var _a, keepPassword, _b, _c, _d, _e, user;
|
144
|
+
return __generator(this, function (_f) {
|
145
|
+
switch (_f.label) {
|
146
|
+
case 0:
|
147
|
+
_a = (options || {}).keepPassword, keepPassword = _a === void 0 ? false : _a;
|
148
|
+
if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.password)) return [3 /*break*/, 3];
|
149
|
+
_b = userInfo;
|
150
|
+
_d = (_c = this.options).encryptFunction;
|
151
|
+
_e = [userInfo.password];
|
152
|
+
return [4 /*yield*/, this.publickKeyManager.getPublicKey()];
|
153
|
+
case 1: return [4 /*yield*/, _d.apply(_c, _e.concat([_f.sent()]))];
|
154
|
+
case 2:
|
155
|
+
_b.password = _f.sent();
|
156
|
+
_f.label = 3;
|
157
|
+
case 3: return [4 /*yield*/, createUser(this.graphqlClient, this.tokenProvider, {
|
158
|
+
userInfo: userInfo,
|
159
|
+
keepPassword: keepPassword
|
160
|
+
})];
|
161
|
+
case 4:
|
162
|
+
user = (_f.sent()).createUser;
|
163
|
+
return [2 /*return*/, user];
|
164
|
+
}
|
165
|
+
});
|
166
|
+
});
|
167
|
+
};
|
168
|
+
/**
|
169
|
+
* @name update
|
170
|
+
* @name_zh 修改用户资料
|
171
|
+
* @description 修改用户资料
|
172
|
+
*
|
173
|
+
* @param {string} id 用户 ID
|
174
|
+
* @param {UpdateUserInput} updates 修改的用户资料
|
175
|
+
* @param {string} updates.email 邮箱
|
176
|
+
* @param {boolean} updates.emailVerified 邮箱是否已验证
|
177
|
+
* @param {string} updates.phone 手机号
|
178
|
+
* @param {boolean} updates.phoneVerified 手机号是否验证
|
179
|
+
* @param {string} updates.unionid 以社会化登录的用户该字段为用户在第三方社会化登录服务商中的唯一 ID
|
180
|
+
* @param {string} updates.openid 微信登录返回的 openid
|
181
|
+
* @param {string} updates.password 密码
|
182
|
+
* @param {string} updates.registerSource 注册来源,可以多选
|
183
|
+
* @param {string} updates.tokenExpiredAt token 过期时间,符合 ISO8601 格式的时间字符串。(如 "2017-06-07T14:34:08.700Z", "2017-06-07T14:34:08.700 or "2017-06-07T14:34:08+04:00")。
|
184
|
+
* 将该字段设置为小于当前时间可以让用户的 token 失效。
|
185
|
+
* @param {string} updates.username 用户名
|
186
|
+
* @param {string} updates.nickname 昵称
|
187
|
+
* @param {string} updates.photo 头像
|
188
|
+
* @param {string} updates.company 公司
|
189
|
+
* @param {string} updates.browser 浏览器
|
190
|
+
* @param {number} updates.loginsCount 登录次数,当你从原有用户系统迁移到 Authing 时可以设置该字段。
|
191
|
+
* @param {string} updates.lastLogin 上次登录时间, 符合 ISO8601 格式的时间字符串。(如 "2017-06-07T14:34:08.700Z", "2017-06-07T14:34:08.700 or "2017-06-07T14:34:08+04:00")
|
192
|
+
* @param {string} updates.lastIP 用户最近一次登录(或其他活动)的 IP
|
193
|
+
* @param {string} updates.signedUp 注册时间,符合 ISO8601 格式的时间字符串。(如 "2017-06-07T14:34:08.700Z", "2017-06-07T14:34:08.700 or "2017-06-07T14:34:08+04:00")
|
194
|
+
* @param {boolean} updates.blocked 账号是否被禁用
|
195
|
+
* @param {string} updates.device 设备
|
196
|
+
* @param {string} updates.lastIP 最近登录的 IP
|
197
|
+
* @param {string} updates.name Name
|
198
|
+
* @param {string} updates.givenName Given Name
|
199
|
+
* @param {string} updates.familyName Family Name
|
200
|
+
* @param {string} updates.middleName Middle Name
|
201
|
+
* @param {string} updates.profile Profile Url
|
202
|
+
* @param {string} updates.preferredUsername Preferred Name
|
203
|
+
* @param {string} updates.website 个人网站
|
204
|
+
* @param {string} updates.gender 性别, F 表示男性、W 表示女性、未知表示 U
|
205
|
+
* @param {string} updates.birthdate 生日
|
206
|
+
* @param {string} updates.zoneinfo 时区
|
207
|
+
* @param {string} updates.locale 语言
|
208
|
+
* @param {string} updates.address 地址
|
209
|
+
* @param {string} updates.streetAddress 街道地址
|
210
|
+
* @param {string} updates.locality
|
211
|
+
* @param {string} updates.region 地域
|
212
|
+
* @param {string} updates.postalCode 邮编
|
213
|
+
* @param {string} updates.city 城市
|
214
|
+
* @param {string} updates.province 省份
|
215
|
+
* @param {string} updates.country 国家
|
216
|
+
*
|
217
|
+
* @example
|
218
|
+
*
|
219
|
+
* const user = await managementClient.users.update("USERID", {
|
220
|
+
* nickname: "Nick"
|
221
|
+
* })
|
222
|
+
*
|
223
|
+
* @example
|
224
|
+
*
|
225
|
+
* const user = await managementClient.users.update("USERID" ,{
|
226
|
+
* nickname: 'Nick',
|
227
|
+
* phone: '176xxxx7041', // 由于是管理员操作,所以检验手机号验证码, 如果你需要检验,请使用 AuthenticationClient
|
228
|
+
* tokenExpiredAt: '2020-10-15T17:55:37+08:00'
|
229
|
+
* })
|
230
|
+
*
|
231
|
+
* @returns {Promise<User>}
|
232
|
+
* @memberof UsersManagementClient *
|
233
|
+
*/
|
234
|
+
UsersManagementClient.prototype.update = function (id, updates) {
|
235
|
+
return __awaiter(this, void 0, void 0, function () {
|
236
|
+
var _a, _b, _c, _d, user;
|
237
|
+
return __generator(this, function (_e) {
|
238
|
+
switch (_e.label) {
|
239
|
+
case 0:
|
240
|
+
if (!(updates && updates.password)) return [3 /*break*/, 3];
|
241
|
+
_a = updates;
|
242
|
+
_c = (_b = this.options).encryptFunction;
|
243
|
+
_d = [updates.password];
|
244
|
+
return [4 /*yield*/, this.publickKeyManager.getPublicKey()];
|
245
|
+
case 1: return [4 /*yield*/, _c.apply(_b, _d.concat([_e.sent()]))];
|
246
|
+
case 2:
|
247
|
+
_a.password = _e.sent();
|
248
|
+
_e.label = 3;
|
249
|
+
case 3: return [4 /*yield*/, updateUser(this.graphqlClient, this.tokenProvider, {
|
250
|
+
id: id,
|
251
|
+
input: updates
|
252
|
+
})];
|
253
|
+
case 4:
|
254
|
+
user = (_e.sent()).updateUser;
|
255
|
+
return [2 /*return*/, user];
|
256
|
+
}
|
257
|
+
});
|
258
|
+
});
|
259
|
+
};
|
260
|
+
/**
|
261
|
+
* @name detail
|
262
|
+
* @name_zh 获取用户详情
|
263
|
+
* @description 通过用户 ID 获取用户详情,如果你想通过 token 获取用户详情,请使用 AuthenticationClient SDK 。
|
264
|
+
*
|
265
|
+
* @param {string} userId 用户 ID
|
266
|
+
*
|
267
|
+
* @example
|
268
|
+
*
|
269
|
+
* const user = await managementClient.users.detail('USERID');
|
270
|
+
*
|
271
|
+
* @returns {Promise<User>}
|
272
|
+
* @memberof UsersManagementClient
|
273
|
+
*/
|
274
|
+
UsersManagementClient.prototype.detail = function (userId) {
|
275
|
+
return __awaiter(this, void 0, void 0, function () {
|
276
|
+
var data;
|
277
|
+
return __generator(this, function (_a) {
|
278
|
+
switch (_a.label) {
|
279
|
+
case 0: return [4 /*yield*/, user(this.graphqlClient, this.tokenProvider, {
|
280
|
+
id: userId
|
281
|
+
})];
|
282
|
+
case 1:
|
283
|
+
data = (_a.sent()).user;
|
284
|
+
return [2 /*return*/, data];
|
285
|
+
}
|
286
|
+
});
|
287
|
+
});
|
288
|
+
};
|
289
|
+
/**
|
290
|
+
* @name delete
|
291
|
+
* @name_zh 删除用户
|
292
|
+
* @description 删除用户
|
293
|
+
*
|
294
|
+
* @param {string} userId 用户 ID
|
295
|
+
*
|
296
|
+
* @example
|
297
|
+
*
|
298
|
+
* const user = await managementClient.users.delete('USERID');
|
299
|
+
*
|
300
|
+
* @returns {Promise<CommonMessage>}
|
301
|
+
* @memberof UsersManagementClient
|
302
|
+
*/
|
303
|
+
UsersManagementClient.prototype.delete = function (userId) {
|
304
|
+
return __awaiter(this, void 0, void 0, function () {
|
305
|
+
var data;
|
306
|
+
return __generator(this, function (_a) {
|
307
|
+
switch (_a.label) {
|
308
|
+
case 0: return [4 /*yield*/, deleteUser(this.graphqlClient, this.tokenProvider, {
|
309
|
+
id: userId
|
310
|
+
})];
|
311
|
+
case 1:
|
312
|
+
data = (_a.sent()).deleteUser;
|
313
|
+
return [2 /*return*/, data];
|
314
|
+
}
|
315
|
+
});
|
316
|
+
});
|
317
|
+
};
|
318
|
+
/**
|
319
|
+
* @name deleteMany
|
320
|
+
* @name_zh 批量删除用户
|
321
|
+
* @description 批量删除用户
|
322
|
+
*
|
323
|
+
* @param {string[]} userIds 用户 ID 列表
|
324
|
+
*
|
325
|
+
* @example
|
326
|
+
*
|
327
|
+
* const user = await managementClient.users.deleteMany(['USERID']);
|
328
|
+
*
|
329
|
+
* @returns {Promise<CommonMessage>}
|
330
|
+
* @memberof UsersManagementClient
|
331
|
+
*/
|
332
|
+
UsersManagementClient.prototype.deleteMany = function (userIds) {
|
333
|
+
return __awaiter(this, void 0, void 0, function () {
|
334
|
+
var data;
|
335
|
+
return __generator(this, function (_a) {
|
336
|
+
switch (_a.label) {
|
337
|
+
case 0: return [4 /*yield*/, deleteUsers(this.graphqlClient, this.tokenProvider, {
|
338
|
+
ids: userIds
|
339
|
+
})];
|
340
|
+
case 1:
|
341
|
+
data = (_a.sent()).deleteUsers;
|
342
|
+
return [2 /*return*/, data];
|
343
|
+
}
|
344
|
+
});
|
345
|
+
});
|
346
|
+
};
|
347
|
+
/**
|
348
|
+
* @name batch
|
349
|
+
* @name_zh 批量获取用户
|
350
|
+
* @description 通过 ID、username、email、phone、email、externalId 批量获取用户详情
|
351
|
+
*
|
352
|
+
* @param {string[]} identifiers 需要查询的数据列表,如 用户 ID 列表
|
353
|
+
* @param {string} [type] 列表类型,可选值为 'id' ,'username' ,'phone' ,'email', 'externalId',默认为 'id'
|
354
|
+
*
|
355
|
+
* @example
|
356
|
+
*
|
357
|
+
* const users = await managementClient.users.batch(['USERID'], options);
|
358
|
+
*
|
359
|
+
* @returns {Promise<CommonMessage>}
|
360
|
+
* @memberof UsersManagementClient
|
361
|
+
*/
|
362
|
+
UsersManagementClient.prototype.batch = function (ids, options) {
|
363
|
+
return __awaiter(this, void 0, void 0, function () {
|
364
|
+
var _a, queryField, users;
|
365
|
+
return __generator(this, function (_b) {
|
366
|
+
switch (_b.label) {
|
367
|
+
case 0:
|
368
|
+
_a = (options || {}).queryField, queryField = _a === void 0 ? 'id' : _a;
|
369
|
+
return [4 /*yield*/, this.httpClient.request({
|
370
|
+
url: this.options.host + "/api/v2/users/batch",
|
371
|
+
method: 'POST',
|
372
|
+
data: {
|
373
|
+
ids: ids,
|
374
|
+
type: queryField
|
375
|
+
}
|
376
|
+
})];
|
377
|
+
case 1:
|
378
|
+
users = _b.sent();
|
379
|
+
return [2 /*return*/, users];
|
380
|
+
}
|
381
|
+
});
|
382
|
+
});
|
383
|
+
};
|
384
|
+
/**
|
385
|
+
* @name list
|
386
|
+
* @name_zh 获取用户列表
|
387
|
+
* @description 获取用户池用户列表
|
388
|
+
*
|
389
|
+
* @param {number} [page=1] 页码数, 从 1 开始
|
390
|
+
* @param {number} [limit=10] 每页包含的用户数
|
391
|
+
*
|
392
|
+
* @example
|
393
|
+
*
|
394
|
+
* const user = await managementClient.users.list();
|
395
|
+
*
|
396
|
+
* @returns
|
397
|
+
* @memberof UsersManagementClient
|
398
|
+
*/
|
399
|
+
UsersManagementClient.prototype.list = function (page, limit) {
|
400
|
+
if (page === void 0) { page = 1; }
|
401
|
+
if (limit === void 0) { limit = 10; }
|
402
|
+
return __awaiter(this, void 0, void 0, function () {
|
403
|
+
var data;
|
404
|
+
return __generator(this, function (_a) {
|
405
|
+
switch (_a.label) {
|
406
|
+
case 0: return [4 /*yield*/, users(this.graphqlClient, this.tokenProvider, {
|
407
|
+
page: page,
|
408
|
+
limit: limit
|
409
|
+
})];
|
410
|
+
case 1:
|
411
|
+
data = (_a.sent()).users;
|
412
|
+
return [2 /*return*/, data];
|
413
|
+
}
|
414
|
+
});
|
415
|
+
});
|
416
|
+
};
|
417
|
+
/**
|
418
|
+
* @name listArchivedUsers
|
419
|
+
* @name_zh 获取已归档用户列表
|
420
|
+
* @description 获取已归档用户列表
|
421
|
+
*
|
422
|
+
* @param {number} [page=1] 页码数, 从 1 开始
|
423
|
+
* @param {number} [limit=10] 每页包含的用户数
|
424
|
+
*
|
425
|
+
* @example
|
426
|
+
*
|
427
|
+
* const user = await managementClient.users.listArchivedUsers();
|
428
|
+
*
|
429
|
+
* @returns
|
430
|
+
* @memberof UsersManagementClient
|
431
|
+
*/
|
432
|
+
UsersManagementClient.prototype.listArchivedUsers = function (page, limit) {
|
433
|
+
if (page === void 0) { page = 1; }
|
434
|
+
if (limit === void 0) { limit = 10; }
|
435
|
+
return __awaiter(this, void 0, void 0, function () {
|
436
|
+
var data;
|
437
|
+
return __generator(this, function (_a) {
|
438
|
+
switch (_a.label) {
|
439
|
+
case 0: return [4 /*yield*/, archivedUsers(this.graphqlClient, this.tokenProvider, {
|
440
|
+
page: page,
|
441
|
+
limit: limit
|
442
|
+
})];
|
443
|
+
case 1:
|
444
|
+
data = (_a.sent()).archivedUsers;
|
445
|
+
return [2 /*return*/, data];
|
446
|
+
}
|
447
|
+
});
|
448
|
+
});
|
449
|
+
};
|
450
|
+
/**
|
451
|
+
* @name exists
|
452
|
+
* @name_zh 检查用户是否存在
|
453
|
+
* @description 检查用户是否存在,目前可检测的字段有用户名、邮箱、手机号。
|
454
|
+
*
|
455
|
+
*
|
456
|
+
* @param {Object} options
|
457
|
+
* @param {string} [options.username] 用户名,区分大小写。
|
458
|
+
* @param {string} [options.email] 邮箱,邮箱不区分大小写。
|
459
|
+
* @param {string} [options.phone] 手机号
|
460
|
+
*
|
461
|
+
* @example
|
462
|
+
*
|
463
|
+
* const exists = await managementClient.users.exists({
|
464
|
+
* username: "bob"
|
465
|
+
* });
|
466
|
+
*
|
467
|
+
* @returns {Promise<boolean>}
|
468
|
+
* @memberof UsersManagementClient
|
469
|
+
*/
|
470
|
+
UsersManagementClient.prototype.exists = function (options) {
|
471
|
+
return __awaiter(this, void 0, void 0, function () {
|
472
|
+
var username, email, phone, externalId, data;
|
473
|
+
return __generator(this, function (_a) {
|
474
|
+
switch (_a.label) {
|
475
|
+
case 0:
|
476
|
+
username = options.username, email = options.email, phone = options.phone, externalId = options.externalId;
|
477
|
+
return [4 /*yield*/, isUserExists(this.graphqlClient, this.tokenProvider, {
|
478
|
+
username: username,
|
479
|
+
email: email,
|
480
|
+
phone: phone,
|
481
|
+
externalId: externalId
|
482
|
+
})];
|
483
|
+
case 1:
|
484
|
+
data = (_a.sent()).isUserExists;
|
485
|
+
return [2 /*return*/, data];
|
486
|
+
}
|
487
|
+
});
|
488
|
+
});
|
489
|
+
};
|
490
|
+
/**
|
491
|
+
* @name find
|
492
|
+
* @name_zh 查找用户
|
493
|
+
* @description 通过用户名、邮箱、手机号查找用户
|
494
|
+
*
|
495
|
+
* @param {Object} options
|
496
|
+
* @param {string} [options.username] 用户名,区分大小写。
|
497
|
+
* @param {string} [options.email] 邮箱,邮箱不区分大小写。
|
498
|
+
* @param {string} [options.phone] 手机号
|
499
|
+
* @param {string} [options.externalId] externalId
|
500
|
+
*
|
501
|
+
* @memberof UsersManagementClient
|
502
|
+
*/
|
503
|
+
UsersManagementClient.prototype.find = function (options) {
|
504
|
+
return __awaiter(this, void 0, void 0, function () {
|
505
|
+
var username, email, phone, externalId, user;
|
506
|
+
return __generator(this, function (_a) {
|
507
|
+
switch (_a.label) {
|
508
|
+
case 0:
|
509
|
+
username = options.username, email = options.email, phone = options.phone, externalId = options.externalId;
|
510
|
+
return [4 /*yield*/, findUser(this.graphqlClient, this.tokenProvider, {
|
511
|
+
username: username,
|
512
|
+
email: email,
|
513
|
+
phone: phone,
|
514
|
+
externalId: externalId
|
515
|
+
})];
|
516
|
+
case 1:
|
517
|
+
user = (_a.sent()).findUser;
|
518
|
+
return [2 /*return*/, user];
|
519
|
+
}
|
520
|
+
});
|
521
|
+
});
|
522
|
+
};
|
523
|
+
/**
|
524
|
+
* @name search
|
525
|
+
* @name_zh 搜索用户
|
526
|
+
* @description 根据关键字搜索用户
|
527
|
+
*
|
528
|
+
* @param query 搜索内容
|
529
|
+
* @param options 选项
|
530
|
+
* @param {string[]} [options.fields] 搜索用户字段,如果不指定,默认会从 username、nickname、email、phone、company、name、givenName、familyName、middleName、profile、preferredUsername 这些字段进行模糊搜索。
|
531
|
+
* 如果你需要精确查找,请使用 find 方法。
|
532
|
+
* @param {number} [options.page=1]
|
533
|
+
* @param {number} [options.limit=10]
|
534
|
+
* @param {Object} [options.departmentOpts] 限制条件,用户所在的部门
|
535
|
+
* @param {string} [options.departmentOpts.departmentId] 部门 ID
|
536
|
+
* @param {string} [options.departmentOpts.includeChildrenDepartments] 是否包含此部门的子部门
|
537
|
+
*
|
538
|
+
* @example
|
539
|
+
*
|
540
|
+
* const { totalCount, list } = await managementClient.users.search("Bob");
|
541
|
+
*
|
542
|
+
* @returns {Promise<PaginatedUsers>}
|
543
|
+
* @memberof UsersManagementClient
|
544
|
+
*/
|
545
|
+
UsersManagementClient.prototype.search = function (query, options) {
|
546
|
+
return __awaiter(this, void 0, void 0, function () {
|
547
|
+
var fields, _a, page, _b, limit, departmentOpts, groupOpts, roleOpts, data;
|
548
|
+
return __generator(this, function (_c) {
|
549
|
+
switch (_c.label) {
|
550
|
+
case 0:
|
551
|
+
options = options || {};
|
552
|
+
fields = options.fields, _a = options.page, page = _a === void 0 ? 1 : _a, _b = options.limit, limit = _b === void 0 ? 10 : _b, departmentOpts = options.departmentOpts, groupOpts = options.groupOpts, roleOpts = options.roleOpts;
|
553
|
+
return [4 /*yield*/, searchUser(this.graphqlClient, this.tokenProvider, {
|
554
|
+
query: query,
|
555
|
+
fields: fields,
|
556
|
+
page: page,
|
557
|
+
limit: limit,
|
558
|
+
departmentOpts: departmentOpts,
|
559
|
+
groupOpts: groupOpts,
|
560
|
+
roleOpts: roleOpts
|
561
|
+
})];
|
562
|
+
case 1:
|
563
|
+
data = (_c.sent()).searchUser;
|
564
|
+
return [2 /*return*/, data];
|
565
|
+
}
|
566
|
+
});
|
567
|
+
});
|
568
|
+
};
|
569
|
+
/**
|
570
|
+
* @name refreshToken
|
571
|
+
* @name_zh 刷新用户 token
|
572
|
+
* @description 刷新用户 token
|
573
|
+
*
|
574
|
+
* @param {string} id 用户 ID
|
575
|
+
*
|
576
|
+
* @example
|
577
|
+
*
|
578
|
+
* const { token } = await managementClient.users.refreshToken("USERID");
|
579
|
+
*
|
580
|
+
* // 检测 token 的最新状态,能够获取到该用户对应的 token
|
581
|
+
*
|
582
|
+
* const data = await managementClient.checkLoginStatus(token, {
|
583
|
+
* fetchUserDetail: true
|
584
|
+
* });
|
585
|
+
*
|
586
|
+
* @returns {Promise<RefreshToken>}
|
587
|
+
* @memberof UsersManagementClient
|
588
|
+
*/
|
589
|
+
UsersManagementClient.prototype.refreshToken = function (id) {
|
590
|
+
return __awaiter(this, void 0, void 0, function () {
|
591
|
+
var data;
|
592
|
+
return __generator(this, function (_a) {
|
593
|
+
switch (_a.label) {
|
594
|
+
case 0: return [4 /*yield*/, refreshToken(this.graphqlClient, this.tokenProvider, {
|
595
|
+
id: id
|
596
|
+
})];
|
597
|
+
case 1:
|
598
|
+
data = (_a.sent()).refreshToken;
|
599
|
+
return [2 /*return*/, data];
|
600
|
+
}
|
601
|
+
});
|
602
|
+
});
|
603
|
+
};
|
604
|
+
/**
|
605
|
+
* @name listGroups
|
606
|
+
* @name_zh 获取用户分组列表
|
607
|
+
* @description 获取用户的分组列表
|
608
|
+
*
|
609
|
+
* @param {string} userId 用户 ID
|
610
|
+
*
|
611
|
+
* @example
|
612
|
+
*
|
613
|
+
* const { list, totalCount} = await managementClient.users.listGroups("USERID");
|
614
|
+
*
|
615
|
+
* @returns {Promise<DeepPartial<PaginatedGroups>>}
|
616
|
+
* @memberof UsersManagementClient
|
617
|
+
*/
|
618
|
+
UsersManagementClient.prototype.listGroups = function (userId) {
|
619
|
+
return __awaiter(this, void 0, void 0, function () {
|
620
|
+
var user;
|
621
|
+
return __generator(this, function (_a) {
|
622
|
+
switch (_a.label) {
|
623
|
+
case 0: return [4 /*yield*/, getUserGroups(this.graphqlClient, this.tokenProvider, {
|
624
|
+
id: userId
|
625
|
+
})];
|
626
|
+
case 1:
|
627
|
+
user = (_a.sent()).user;
|
628
|
+
return [2 /*return*/, user.groups];
|
629
|
+
}
|
630
|
+
});
|
631
|
+
});
|
632
|
+
};
|
633
|
+
/**
|
634
|
+
* @name addGroup
|
635
|
+
* @name_zh 加入分组
|
636
|
+
* @description 将用户加入分组
|
637
|
+
*
|
638
|
+
* @param {string} userId 用户 ID
|
639
|
+
* @param {string} group 分组 code
|
640
|
+
*
|
641
|
+
* @example
|
642
|
+
*
|
643
|
+
* const { code, message } = await managementClient.users.addGroup("USERID", "GROUP_CODE");
|
644
|
+
*
|
645
|
+
* @returns {Promise<CommonMessage>}
|
646
|
+
* @memberof UsersManagementClient
|
647
|
+
*/
|
648
|
+
UsersManagementClient.prototype.addGroup = function (userId, group) {
|
649
|
+
return __awaiter(this, void 0, void 0, function () {
|
650
|
+
var res;
|
651
|
+
return __generator(this, function (_a) {
|
652
|
+
switch (_a.label) {
|
653
|
+
case 0: return [4 /*yield*/, addUserToGroup(this.graphqlClient, this.tokenProvider, {
|
654
|
+
userIds: [userId],
|
655
|
+
code: group
|
656
|
+
})];
|
657
|
+
case 1:
|
658
|
+
res = _a.sent();
|
659
|
+
return [2 /*return*/, res.addUserToGroup];
|
660
|
+
}
|
661
|
+
});
|
662
|
+
});
|
663
|
+
};
|
664
|
+
/**
|
665
|
+
* @name removeGroup
|
666
|
+
* @name_zh 退出分组
|
667
|
+
* @description 退出分组
|
668
|
+
*
|
669
|
+
* @param {string} userId 用户 ID
|
670
|
+
* @param {string} group 分组 code
|
671
|
+
*
|
672
|
+
* @example
|
673
|
+
*
|
674
|
+
* const { code, message } = await managementClient.users.removeGroup("USERID", "GROUP_CODE");
|
675
|
+
*
|
676
|
+
* @returns {Promise<CommonMessage>}
|
677
|
+
* @memberof UsersManagementClient
|
678
|
+
*/
|
679
|
+
UsersManagementClient.prototype.removeGroup = function (userId, group) {
|
680
|
+
return __awaiter(this, void 0, void 0, function () {
|
681
|
+
var res;
|
682
|
+
return __generator(this, function (_a) {
|
683
|
+
switch (_a.label) {
|
684
|
+
case 0: return [4 /*yield*/, removeUserFromGroup(this.graphqlClient, this.tokenProvider, {
|
685
|
+
code: group,
|
686
|
+
userIds: [userId]
|
687
|
+
})];
|
688
|
+
case 1:
|
689
|
+
res = _a.sent();
|
690
|
+
return [2 /*return*/, res.removeUserFromGroup];
|
691
|
+
}
|
692
|
+
});
|
693
|
+
});
|
694
|
+
};
|
695
|
+
/**
|
696
|
+
* @name listRoles
|
697
|
+
* @name_zh 获取用户角色列表
|
698
|
+
* @description 获取用户的角色列表
|
699
|
+
*
|
700
|
+
* @param {string} userId 用户 ID
|
701
|
+
* @param {string} namespace 权限组命名空间
|
702
|
+
*
|
703
|
+
* @example
|
704
|
+
*
|
705
|
+
* const { list, totalCount} = await managementClient.users.listRoles("USERID");
|
706
|
+
*
|
707
|
+
* @returns {Promise<DeepPartial<PaginatedRoles>>}
|
708
|
+
* @memberof UsersManagementClient
|
709
|
+
*/
|
710
|
+
UsersManagementClient.prototype.listRoles = function (userId, namespace) {
|
711
|
+
return __awaiter(this, void 0, void 0, function () {
|
712
|
+
var user;
|
713
|
+
return __generator(this, function (_a) {
|
714
|
+
switch (_a.label) {
|
715
|
+
case 0: return [4 /*yield*/, getUserRoles(this.graphqlClient, this.tokenProvider, {
|
716
|
+
id: userId,
|
717
|
+
namespace: namespace
|
718
|
+
})];
|
719
|
+
case 1:
|
720
|
+
user = (_a.sent()).user;
|
721
|
+
if (!user) {
|
722
|
+
throw new Error('用户不存在!');
|
723
|
+
}
|
724
|
+
return [2 /*return*/, user.roles];
|
725
|
+
}
|
726
|
+
});
|
727
|
+
});
|
728
|
+
};
|
729
|
+
/**
|
730
|
+
* @name addRoles
|
731
|
+
* @name_zh 添加角色
|
732
|
+
* @description 将用户加入角色
|
733
|
+
*
|
734
|
+
* @param {string} userId 用户 ID
|
735
|
+
* @param {string} roles 角色 code 列表
|
736
|
+
* @param {string} namespace 权限组命名空间
|
737
|
+
*
|
738
|
+
* @example
|
739
|
+
*
|
740
|
+
* const { code, message } = await managementClient.users.addRoles("USERID", ["ROLEA"]);
|
741
|
+
*
|
742
|
+
* @returns {Promise<CommonMessage>}
|
743
|
+
* @memberof UsersManagementClient
|
744
|
+
*/
|
745
|
+
UsersManagementClient.prototype.addRoles = function (userId, roles, namespace) {
|
746
|
+
return __awaiter(this, void 0, void 0, function () {
|
747
|
+
var data;
|
748
|
+
return __generator(this, function (_a) {
|
749
|
+
switch (_a.label) {
|
750
|
+
case 0: return [4 /*yield*/, assignRole(this.graphqlClient, this.tokenProvider, {
|
751
|
+
roleCodes: roles,
|
752
|
+
userIds: [userId],
|
753
|
+
namespace: namespace
|
754
|
+
})];
|
755
|
+
case 1:
|
756
|
+
data = (_a.sent()).assignRole;
|
757
|
+
return [2 /*return*/, data];
|
758
|
+
}
|
759
|
+
});
|
760
|
+
});
|
761
|
+
};
|
762
|
+
/**
|
763
|
+
* @name removeRoles
|
764
|
+
* @name_zh 移除角色
|
765
|
+
* @description 将用户从角色中移除
|
766
|
+
*
|
767
|
+
* @param {string} userId 用户 ID
|
768
|
+
* @param {string} roles 角色 code 列表
|
769
|
+
* @param {string} namespace 权限分组 code
|
770
|
+
*
|
771
|
+
* @example
|
772
|
+
*
|
773
|
+
* const { code, message } = await managementClient.users.removeRoles("USERID", ["ROLEA"]);
|
774
|
+
*
|
775
|
+
* @returns {Promise<CommonMessage>}
|
776
|
+
* @memberof UsersManagementClient
|
777
|
+
*/
|
778
|
+
UsersManagementClient.prototype.removeRoles = function (userId, roles, namespace) {
|
779
|
+
return __awaiter(this, void 0, void 0, function () {
|
780
|
+
var data;
|
781
|
+
return __generator(this, function (_a) {
|
782
|
+
switch (_a.label) {
|
783
|
+
case 0: return [4 /*yield*/, revokeRole(this.graphqlClient, this.tokenProvider, {
|
784
|
+
roleCodes: roles,
|
785
|
+
userIds: [userId],
|
786
|
+
namespace: namespace
|
787
|
+
})];
|
788
|
+
case 1:
|
789
|
+
data = (_a.sent()).revokeRole;
|
790
|
+
return [2 /*return*/, data];
|
791
|
+
}
|
792
|
+
});
|
793
|
+
});
|
794
|
+
};
|
795
|
+
/**
|
796
|
+
* @name listOrg
|
797
|
+
* @name_zh 获取用户所在组织机构
|
798
|
+
* @description 获取用户所在组织机构,以及他在该组织机构内的的节点路径。
|
799
|
+
*
|
800
|
+
* @param {string} userId 用户 ID
|
801
|
+
*
|
802
|
+
* @example
|
803
|
+
*
|
804
|
+
* const data = await managementClient.users.listOrgs("USERID");
|
805
|
+
*
|
806
|
+
* @returns {Promise<UserOrgList>}
|
807
|
+
*
|
808
|
+
* @memberof UsersManagementClient
|
809
|
+
*/
|
810
|
+
UsersManagementClient.prototype.listOrgs = function (userId) {
|
811
|
+
return __awaiter(this, void 0, void 0, function () {
|
812
|
+
return __generator(this, function (_a) {
|
813
|
+
switch (_a.label) {
|
814
|
+
case 0: return [4 /*yield*/, this.httpClient.request({
|
815
|
+
method: 'GET',
|
816
|
+
url: this.options.host + "/api/v2/users/" + userId + "/orgs"
|
817
|
+
})];
|
818
|
+
case 1: return [2 /*return*/, _a.sent()];
|
819
|
+
}
|
820
|
+
});
|
821
|
+
});
|
822
|
+
};
|
823
|
+
/**
|
824
|
+
* @name listDepartment
|
825
|
+
* @name_zh 获取用户所在部门
|
826
|
+
* @description 获取用户所在部门列表
|
827
|
+
*
|
828
|
+
* @param {string} userId 用户 ID
|
829
|
+
*
|
830
|
+
* @example
|
831
|
+
*
|
832
|
+
* const data = await managementClient.users.listDepartment("USERID");
|
833
|
+
*
|
834
|
+
* @returns {Promise<UserDepartmentList>}
|
835
|
+
*
|
836
|
+
* @memberof UsersManagementClient
|
837
|
+
*/
|
838
|
+
UsersManagementClient.prototype.listDepartment = function (userId) {
|
839
|
+
return __awaiter(this, void 0, void 0, function () {
|
840
|
+
var departments;
|
841
|
+
return __generator(this, function (_a) {
|
842
|
+
switch (_a.label) {
|
843
|
+
case 0: return [4 /*yield*/, getUserDepartments(this.graphqlClient, this.tokenProvider, {
|
844
|
+
id: userId
|
845
|
+
})];
|
846
|
+
case 1:
|
847
|
+
departments = (_a.sent()).user.departments;
|
848
|
+
return [2 /*return*/, departments];
|
849
|
+
}
|
850
|
+
});
|
851
|
+
});
|
852
|
+
};
|
853
|
+
/**
|
854
|
+
* @description 获取用户被授权的所有资源
|
855
|
+
*
|
856
|
+
* @param userId
|
857
|
+
* @param namespace
|
858
|
+
*/
|
859
|
+
UsersManagementClient.prototype.listAuthorizedResources = function (userId, namespace, options) {
|
860
|
+
return __awaiter(this, void 0, void 0, function () {
|
861
|
+
var resourceType, user, _a, list, totalCount;
|
862
|
+
return __generator(this, function (_b) {
|
863
|
+
switch (_b.label) {
|
864
|
+
case 0:
|
865
|
+
resourceType = (options || {}).resourceType;
|
866
|
+
return [4 /*yield*/, listUserAuthorizedResources(this.graphqlClient, this.tokenProvider, {
|
867
|
+
id: userId,
|
868
|
+
namespace: namespace,
|
869
|
+
resourceType: resourceType
|
870
|
+
})];
|
871
|
+
case 1:
|
872
|
+
user = (_b.sent()).user;
|
873
|
+
if (!user) {
|
874
|
+
throw new Error('用户不存在');
|
875
|
+
}
|
876
|
+
_a = user.authorizedResources, list = _a.list, totalCount = _a.totalCount;
|
877
|
+
list = formatAuthorizedResources(list);
|
878
|
+
return [2 /*return*/, {
|
879
|
+
list: list,
|
880
|
+
totalCount: totalCount
|
881
|
+
}];
|
882
|
+
}
|
883
|
+
});
|
884
|
+
});
|
885
|
+
};
|
886
|
+
/**
|
887
|
+
* @description 获取某个用户的所有自定义数据
|
888
|
+
* @param userId: 用户 ID
|
889
|
+
*
|
890
|
+
*/
|
891
|
+
UsersManagementClient.prototype.getUdfValue = function (userId) {
|
892
|
+
return __awaiter(this, void 0, void 0, function () {
|
893
|
+
var list;
|
894
|
+
return __generator(this, function (_a) {
|
895
|
+
switch (_a.label) {
|
896
|
+
case 0: return [4 /*yield*/, udv(this.graphqlClient, this.tokenProvider, {
|
897
|
+
targetType: UdfTargetType.User,
|
898
|
+
targetId: userId
|
899
|
+
})];
|
900
|
+
case 1:
|
901
|
+
list = (_a.sent()).udv;
|
902
|
+
return [2 /*return*/, convertUdvToKeyValuePair(list)];
|
903
|
+
}
|
904
|
+
});
|
905
|
+
});
|
906
|
+
};
|
907
|
+
/**
|
908
|
+
* @description 批量获取多个用户的自定义数据
|
909
|
+
*
|
910
|
+
* @param userIds: 用户 ID 列表
|
911
|
+
*/
|
912
|
+
UsersManagementClient.prototype.getUdfValueBatch = function (userIds) {
|
913
|
+
return __awaiter(this, void 0, void 0, function () {
|
914
|
+
var result, ret, _i, result_1, _a, targetId, data;
|
915
|
+
return __generator(this, function (_b) {
|
916
|
+
switch (_b.label) {
|
917
|
+
case 0:
|
918
|
+
if (userIds.length === 0) {
|
919
|
+
throw new Error('empty user id list');
|
920
|
+
}
|
921
|
+
return [4 /*yield*/, udfValueBatch(this.graphqlClient, this.tokenProvider, {
|
922
|
+
targetType: UdfTargetType.User,
|
923
|
+
targetIds: userIds
|
924
|
+
})];
|
925
|
+
case 1:
|
926
|
+
result = (_b.sent()).udfValueBatch;
|
927
|
+
ret = {};
|
928
|
+
for (_i = 0, result_1 = result; _i < result_1.length; _i++) {
|
929
|
+
_a = result_1[_i], targetId = _a.targetId, data = _a.data;
|
930
|
+
ret[targetId] = convertUdvToKeyValuePair(data);
|
931
|
+
}
|
932
|
+
return [2 /*return*/, ret];
|
933
|
+
}
|
934
|
+
});
|
935
|
+
});
|
936
|
+
};
|
937
|
+
/**
|
938
|
+
* @description 设置某个用户的自定义数据
|
939
|
+
*
|
940
|
+
* @param userId
|
941
|
+
* @param data
|
942
|
+
*/
|
943
|
+
UsersManagementClient.prototype.setUdfValue = function (userId, data) {
|
944
|
+
return __awaiter(this, void 0, void 0, function () {
|
945
|
+
return __generator(this, function (_a) {
|
946
|
+
switch (_a.label) {
|
947
|
+
case 0:
|
948
|
+
if (Object.keys(data).length === 0) {
|
949
|
+
throw new Error('empty udf value list');
|
950
|
+
}
|
951
|
+
return [4 /*yield*/, setUdvBatch(this.graphqlClient, this.tokenProvider, {
|
952
|
+
targetType: UdfTargetType.User,
|
953
|
+
targetId: userId,
|
954
|
+
udvList: Object.keys(data).map(function (key) { return ({
|
955
|
+
key: key,
|
956
|
+
value: JSON.stringify(data[key])
|
957
|
+
}); })
|
958
|
+
})];
|
959
|
+
case 1:
|
960
|
+
_a.sent();
|
961
|
+
return [2 /*return*/];
|
962
|
+
}
|
963
|
+
});
|
964
|
+
});
|
965
|
+
};
|
966
|
+
/**
|
967
|
+
* @description 批量设置自定义数据
|
968
|
+
*
|
969
|
+
*/
|
970
|
+
UsersManagementClient.prototype.setUdfValueBatch = function (input) {
|
971
|
+
return __awaiter(this, void 0, void 0, function () {
|
972
|
+
var params;
|
973
|
+
return __generator(this, function (_a) {
|
974
|
+
switch (_a.label) {
|
975
|
+
case 0:
|
976
|
+
if (input.length === 0) {
|
977
|
+
throw new Error('empty input list');
|
978
|
+
}
|
979
|
+
params = [];
|
980
|
+
input.forEach(function (_a) {
|
981
|
+
var userId = _a.userId, data = _a.data;
|
982
|
+
for (var _i = 0, _b = Object.keys(data); _i < _b.length; _i++) {
|
983
|
+
var key = _b[_i];
|
984
|
+
params.push({
|
985
|
+
targetId: userId,
|
986
|
+
key: key,
|
987
|
+
value: JSON.stringify(data[key])
|
988
|
+
});
|
989
|
+
}
|
990
|
+
});
|
991
|
+
return [4 /*yield*/, setUdfValueBatch(this.graphqlClient, this.tokenProvider, {
|
992
|
+
targetType: UdfTargetType.User,
|
993
|
+
input: params
|
994
|
+
})];
|
995
|
+
case 1:
|
996
|
+
_a.sent();
|
997
|
+
return [2 /*return*/];
|
998
|
+
}
|
999
|
+
});
|
1000
|
+
});
|
1001
|
+
};
|
1002
|
+
/**
|
1003
|
+
* @description 清除用户的自定义数据
|
1004
|
+
*
|
1005
|
+
*/
|
1006
|
+
UsersManagementClient.prototype.removeUdfValue = function (userId, key) {
|
1007
|
+
return __awaiter(this, void 0, void 0, function () {
|
1008
|
+
return __generator(this, function (_a) {
|
1009
|
+
switch (_a.label) {
|
1010
|
+
case 0: return [4 /*yield*/, removeUdv(this.graphqlClient, this.tokenProvider, {
|
1011
|
+
targetType: UdfTargetType.User,
|
1012
|
+
targetId: userId,
|
1013
|
+
key: key
|
1014
|
+
})];
|
1015
|
+
case 1:
|
1016
|
+
_a.sent();
|
1017
|
+
return [2 /*return*/];
|
1018
|
+
}
|
1019
|
+
});
|
1020
|
+
});
|
1021
|
+
};
|
1022
|
+
/**
|
1023
|
+
* 判断用户是否有某个角色
|
1024
|
+
* @param userId 用户 ID
|
1025
|
+
* @param roleCode 角色 Code
|
1026
|
+
* @param namespace 权限分组 ID
|
1027
|
+
*/
|
1028
|
+
UsersManagementClient.prototype.hasRole = function (userId, roleCode, namespace) {
|
1029
|
+
return __awaiter(this, void 0, void 0, function () {
|
1030
|
+
var roleList, hasRole;
|
1031
|
+
return __generator(this, function (_a) {
|
1032
|
+
switch (_a.label) {
|
1033
|
+
case 0: return [4 /*yield*/, this.listRoles(userId, namespace)];
|
1034
|
+
case 1:
|
1035
|
+
roleList = _a.sent();
|
1036
|
+
if (roleList.totalCount < 1) {
|
1037
|
+
return [2 /*return*/, false];
|
1038
|
+
}
|
1039
|
+
hasRole = false;
|
1040
|
+
roleList.list.forEach(function (item) {
|
1041
|
+
if (item.code === roleCode) {
|
1042
|
+
hasRole = true;
|
1043
|
+
}
|
1044
|
+
});
|
1045
|
+
return [2 /*return*/, hasRole];
|
1046
|
+
}
|
1047
|
+
});
|
1048
|
+
});
|
1049
|
+
};
|
1050
|
+
/**
|
1051
|
+
* @description 强制一批用户下线
|
1052
|
+
*/
|
1053
|
+
UsersManagementClient.prototype.kick = function (userIds) {
|
1054
|
+
return __awaiter(this, void 0, void 0, function () {
|
1055
|
+
return __generator(this, function (_a) {
|
1056
|
+
switch (_a.label) {
|
1057
|
+
case 0: return [4 /*yield*/, this.httpClient.request({
|
1058
|
+
url: this.options.host + "/api/v2/users/kick",
|
1059
|
+
method: 'POST',
|
1060
|
+
data: {
|
1061
|
+
userIds: userIds
|
1062
|
+
}
|
1063
|
+
})];
|
1064
|
+
case 1:
|
1065
|
+
_a.sent();
|
1066
|
+
return [2 /*return*/, { code: 200, message: '强制下线成功' }];
|
1067
|
+
}
|
1068
|
+
});
|
1069
|
+
});
|
1070
|
+
};
|
1071
|
+
/**
|
1072
|
+
* 审计日志列表
|
1073
|
+
* @param options.page 当前页数
|
1074
|
+
* @param options.limit 每页显示条数
|
1075
|
+
* @param options.clientIp 客户端 IP 地址
|
1076
|
+
* @param options.operationName 操作类型
|
1077
|
+
* @param options.operatoArn 用户 Arn 通过 searchUser 方法获得
|
1078
|
+
* @returns Promise<UserActions>
|
1079
|
+
*/
|
1080
|
+
UsersManagementClient.prototype.listUserActions = function (options) {
|
1081
|
+
var _a, _b;
|
1082
|
+
if (options === void 0) { options = {
|
1083
|
+
page: 1,
|
1084
|
+
limit: 10
|
1085
|
+
}; }
|
1086
|
+
return __awaiter(this, void 0, void 0, function () {
|
1087
|
+
var result;
|
1088
|
+
return __generator(this, function (_c) {
|
1089
|
+
switch (_c.label) {
|
1090
|
+
case 0: return [4 /*yield*/, this.httpClient.request({
|
1091
|
+
method: 'GET',
|
1092
|
+
url: this.options.host + "/api/v2/analysis/user-action" +
|
1093
|
+
objectToQueryString({
|
1094
|
+
page: (_a = options.page) === null || _a === void 0 ? void 0 : _a.toString(),
|
1095
|
+
limit: (_b = options.limit) === null || _b === void 0 ? void 0 : _b.toString(),
|
1096
|
+
clientip: options.clientIp,
|
1097
|
+
operation_name: options.operationName,
|
1098
|
+
operator_arn: options.operatoArn
|
1099
|
+
})
|
1100
|
+
})];
|
1101
|
+
case 1:
|
1102
|
+
result = _c.sent();
|
1103
|
+
return [2 /*return*/, result];
|
1104
|
+
}
|
1105
|
+
});
|
1106
|
+
});
|
1107
|
+
};
|
1108
|
+
return UsersManagementClient;
|
1109
|
+
}());
|
1110
|
+
export { UsersManagementClient };
|
1111
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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