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