authing_ruby 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/authing_ruby.gemspec +4 -2
- data/lib/authing_ruby/common/PublicKeyManager.rb +12 -1
- data/lib/authing_ruby/version.rb +1 -1
- metadata +10 -467
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/CONTRIBUTION.md +0 -23
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/LICENSE +0 -21
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/README.md +0 -303
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build-doc.js +0 -520
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js +0 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js.LICENSE.txt +0 -91
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.js +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.d.ts +0 -1118
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.js +0 -2859
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.js +0 -56
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.js +0 -31
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.js +0 -250
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.js +0 -665
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.js +0 -622
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.js +0 -180
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.d.ts +0 -341
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.js +0 -69
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.d.ts +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.js +0 -127
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.d.ts +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.js +0 -151
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.d.ts +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.js +0 -81
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.d.ts +0 -121
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.js +0 -2002
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.d.ts +0 -236
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.js +0 -863
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.d.ts +0 -65
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.js +0 -195
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.d.ts +0 -216
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.js +0 -533
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.d.ts +0 -188
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.js +0 -404
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.d.ts +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.js +0 -126
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.d.ts +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.js +0 -203
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.d.ts +0 -39
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.js +0 -159
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.d.ts +0 -521
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.js +0 -840
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.d.ts +0 -304
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.js +0 -512
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.d.ts +0 -296
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.js +0 -711
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.d.ts +0 -56
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.js +0 -198
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.d.ts +0 -146
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.js +0 -264
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.d.ts +0 -44
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.js +0 -106
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.d.ts +0 -142
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.js +0 -241
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.d.ts +0 -784
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.js +0 -1251
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.d.ts +0 -114
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.js +0 -259
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.d.ts +0 -992
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.js +0 -96
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.d.ts +0 -30
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.js +0 -126
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.d.ts +0 -31
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.js +0 -67
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.d.ts +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.js +0 -343
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.d.ts +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.js +0 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.d.ts +0 -6241
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.js +0 -251
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.js +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.js +0 -8
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.d.ts +0 -1118
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.js +0 -2853
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.js +0 -28
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.js +0 -247
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.js +0 -662
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.js +0 -619
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.js +0 -177
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.d.ts +0 -341
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.js +0 -66
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.d.ts +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.js +0 -121
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.d.ts +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.js +0 -145
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.d.ts +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.js +0 -78
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.d.ts +0 -121
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.js +0 -1999
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.d.ts +0 -236
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.js +0 -860
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.d.ts +0 -65
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.js +0 -192
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.d.ts +0 -216
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.js +0 -530
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.d.ts +0 -188
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.js +0 -401
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.d.ts +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.js +0 -123
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.d.ts +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.js +0 -197
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.d.ts +0 -39
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.js +0 -153
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.d.ts +0 -521
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.js +0 -818
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.d.ts +0 -304
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.js +0 -509
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.d.ts +0 -296
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.js +0 -708
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.d.ts +0 -56
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.js +0 -195
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.d.ts +0 -146
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.js +0 -261
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.d.ts +0 -44
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.js +0 -103
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.d.ts +0 -142
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.js +0 -238
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.d.ts +0 -784
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.js +0 -1248
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.d.ts +0 -114
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.js +0 -256
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.d.ts +0 -992
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.js +0 -93
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.d.ts +0 -30
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.js +0 -123
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.d.ts +0 -31
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.js +0 -62
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.d.ts +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.js +0 -336
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.d.ts +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.js +0 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.d.ts +0 -6241
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.js +0 -248
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.js +0 -30
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.d.ts +0 -1118
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.js +0 -2869
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.d.ts +0 -13
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.js +0 -66
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.d.ts +0 -6
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.js +0 -41
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.d.ts +0 -92
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.js +0 -260
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.d.ts +0 -303
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.js +0 -675
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.d.ts +0 -232
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.js +0 -632
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.d.ts +0 -104
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.js +0 -190
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.d.ts +0 -341
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.js +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.d.ts +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.js +0 -137
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.d.ts +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.js +0 -161
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.d.ts +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.js +0 -91
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.d.ts +0 -121
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.js +0 -2012
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.d.ts +0 -236
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.js +0 -873
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.d.ts +0 -65
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.js +0 -205
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.d.ts +0 -216
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.js +0 -543
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.d.ts +0 -188
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.js +0 -414
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.d.ts +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.js +0 -136
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.d.ts +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.js +0 -213
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.d.ts +0 -39
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.js +0 -169
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.d.ts +0 -521
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.js +0 -850
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.d.ts +0 -304
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.js +0 -522
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.d.ts +0 -296
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.js +0 -721
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.d.ts +0 -56
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.js +0 -208
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.d.ts +0 -146
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.js +0 -274
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.d.ts +0 -44
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.js +0 -116
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.d.ts +0 -142
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.js +0 -251
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.d.ts +0 -784
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.js +0 -1261
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.d.ts +0 -114
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.js +0 -269
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.d.ts +0 -992
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.js +0 -106
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.d.ts +0 -30
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.js +0 -136
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.d.ts +0 -31
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.js +0 -77
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.d.ts +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.js +0 -353
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.d.ts +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.js +0 -15
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.d.ts +0 -6241
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.js +0 -261
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.js +0 -13
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/CHANGELOG.md +0 -413
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/LICENSE +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/README.md +0 -709
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/UPGRADE_GUIDE.md +0 -162
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.js +0 -1715
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.map +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.js +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.map +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.d.ts +0 -157
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/README.md +0 -37
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/http.js +0 -279
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/xhr.js +0 -180
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/axios.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/Cancel.js +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/CancelToken.js +0 -57
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/isCancel.js +0 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/Axios.js +0 -94
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/InterceptorManager.js +0 -52
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/README.md +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/buildFullPath.js +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/createError.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/dispatchRequest.js +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/enhanceError.js +0 -42
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/mergeConfig.js +0 -73
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/settle.js +0 -25
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/transformData.js +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/defaults.js +0 -97
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/README.md +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/bind.js +0 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/buildURL.js +0 -71
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/cookies.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/spread.js +0 -27
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/utils.js +0 -344
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/package.json +0 -84
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/LICENSE +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/README.md +0 -155
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/http.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/https.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/index.js +0 -322
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/package.json +0 -60
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/package.json +0 -129
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tests/index.html +0 -21
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.brower.json +0 -45
- 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 +0 -41
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/CHANGELOG.md +0 -685
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/LICENSE +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/README.md +0 -800
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/UPGRADE_GUIDE.md +0 -162
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.js +0 -1756
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.map +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.js +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.map +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.d.ts +0 -161
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/README.md +0 -37
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/http.js +0 -303
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/xhr.js +0 -179
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/axios.js +0 -56
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/Cancel.js +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/CancelToken.js +0 -57
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/isCancel.js +0 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/Axios.js +0 -95
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/InterceptorManager.js +0 -52
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/README.md +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/buildFullPath.js +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/createError.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/dispatchRequest.js +0 -79
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/enhanceError.js +0 -42
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/mergeConfig.js +0 -87
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/settle.js +0 -25
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/transformData.js +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/defaults.js +0 -98
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/README.md +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/bind.js +0 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/buildURL.js +0 -70
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/cookies.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAxiosError.js +0 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/spread.js +0 -27
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/utils.js +0 -351
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/package.json +0 -86
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/CONTRIBUTING.md +0 -28
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/LICENSE +0 -24
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/README.md +0 -249
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/aes.js +0 -234
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/bower.json +0 -35
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/cipher-core.js +0 -890
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/core.js +0 -797
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/crypto-js.js +0 -6059
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/docs/QuickStartGuide.wiki +0 -470
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-base64.js +0 -136
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-hex.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-latin1.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf16.js +0 -149
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf8.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/evpkdf.js +0 -134
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-hex.js +0 -66
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-openssl.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-md5.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-ripemd160.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha1.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha224.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha256.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha3.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha384.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha512.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac.js +0 -143
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/index.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/lib-typedarrays.js +0 -76
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/md5.js +0 -268
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-cfb.js +0 -80
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr-gladman.js +0 -116
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr.js +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ecb.js +0 -40
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ofb.js +0 -54
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/package.json +0 -38
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-ansix923.js +0 -49
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso10126.js +0 -44
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso97971.js +0 -40
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-nopadding.js +0 -30
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-pkcs7.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-zeropadding.js +0 -47
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pbkdf2.js +0 -145
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit-legacy.js +0 -190
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit.js +0 -192
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rc4.js +0 -139
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/ripemd160.js +0 -267
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha1.js +0 -150
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha224.js +0 -80
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha256.js +0 -199
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha3.js +0 -326
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha384.js +0 -83
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha512.js +0 -326
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/tripledes.js +0 -779
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/x64-core.js +0 -304
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/CHANGELOG.md +0 -395
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/LICENSE +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/Makefile +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/README.md +0 -368
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/karma.conf.js +0 -70
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/node.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/package.json +0 -43
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/browser.js +0 -195
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/debug.js +0 -225
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/index.js +0 -10
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/node.js +0 -186
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/CHANGELOG.md +0 -210
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/LICENSE +0 -23
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/README.md +0 -275
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/config.js +0 -11
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/cli-options.js +0 -13
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/main.js +0 -118
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/package.json +0 -57
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/index.d.ts +0 -59
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/test.ts +0 -19
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tsconfig.json +0 -15
- data/lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/types/tslint.json +0 -6
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/LICENSE +0 -18
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/README.md +0 -148
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/debug.js +0 -14
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/http.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/https.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/index.js +0 -531
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/package.json +0 -59
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/LICENSE.txt +0 -107
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/README.md +0 -192
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.js +0 -249
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js +0 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js.LICENSE.txt +0 -8
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.d.ts +0 -116
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.js +0 -186
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.d.ts +0 -142
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.js +0 -315
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.d.ts +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.js +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.d.ts +0 -51
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.js +0 -565
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.d.ts +0 -5
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.js +0 -88
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.d.ts +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.js +0 -64
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.d.ts +0 -9
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.js +0 -87
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.d.ts +0 -9778
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.js +0 -1962
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.d.ts +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.js +0 -76
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.d.ts +0 -98
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js +0 -1754
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.d.ts +0 -10
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.js +0 -46
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.d.ts +0 -3
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.js +0 -76
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.d.ts +0 -23
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.js +0 -373
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.d.ts +0 -7
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.js +0 -58
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js +0 -1593
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js +0 -69
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/version.json +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/package.json +0 -49
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/Gruntfile.js +0 -78
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/LICENSE +0 -21
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/README.md +0 -55
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/bower.json +0 -20
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.js +0 -125
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.min.js +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/jwt-decode.html +0 -2
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/atob.js +0 -38
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/base64_url_decode.js +0 -33
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/index.js +0 -26
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/package.json +0 -37
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js +0 -16
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test/tests.js +0 -53
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test_harness.html +0 -29
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem.yml +0 -46
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem_dev.yml +0 -1
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/index.js +0 -152
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/license.md +0 -21
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/package.json +0 -37
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/readme.md +0 -51
@@ -1,784 +0,0 @@
|
|
1
|
-
import { GraphqlClient } from './../common/GraphqlClient';
|
2
|
-
import { ManagementTokenProvider } from './ManagementTokenProvider';
|
3
|
-
import { Application, BatchFetchUserTypes, ManagementClientOptions, UserActions } from './types';
|
4
|
-
import { User, PaginatedUsers, CreateUserInput, RefreshToken, CommonMessage, UpdateUserInput, PaginatedGroups, PaginatedRoles, PaginatedAuthorizedResources, ResourceType, QuerySearchUserArgs } from '../../types/graphql.v2';
|
5
|
-
import { HttpClient } from '../common/HttpClient';
|
6
|
-
import { DeepPartial, KeyValuePair } from '../../types/index';
|
7
|
-
import { PublicKeyManager } from '../common/PublicKeyManager';
|
8
|
-
/**
|
9
|
-
* @name UsersManagementClient
|
10
|
-
* @description Authing 用户管理模块。
|
11
|
-
*
|
12
|
-
* 此模块可以进行用户目录增删改查、搜索用户、刷新用户 token、管理用户分组、管理用户角色、管理用户策略授权等操作。
|
13
|
-
*
|
14
|
-
* 该模块发出的所有操作都将以管理员身份进行,所以不需要进行建议短信验证码等操作,如果你希望以普通用户的身份进行操作,请使用 AuthenticationClient 。
|
15
|
-
*
|
16
|
-
* @example
|
17
|
-
*
|
18
|
-
* 请使用以下方式使用该模块:
|
19
|
-
* \`\`\`javascript
|
20
|
-
* import { ManagementClient } from "authing-js-sdk"
|
21
|
-
* const managementClient = new ManagementClient({
|
22
|
-
* userPoolId: "YOUR_USERPOOL_ID",
|
23
|
-
* secret: "YOUR_USERPOOL_SECRET",
|
24
|
-
* })
|
25
|
-
*
|
26
|
-
* managementClient.users.list // 获取用户列表
|
27
|
-
* managementClient.users.create // 创建用户
|
28
|
-
* managementClient.users.listRoles // 获取用户角色列表
|
29
|
-
* managementClient.users.search // 搜索用户
|
30
|
-
* \`\`\`
|
31
|
-
*
|
32
|
-
* @class UsersManagementClient 管理用户
|
33
|
-
*/
|
34
|
-
export declare class UsersManagementClient {
|
35
|
-
options: ManagementClientOptions;
|
36
|
-
graphqlClient: GraphqlClient;
|
37
|
-
httpClient: HttpClient;
|
38
|
-
tokenProvider: ManagementTokenProvider;
|
39
|
-
publickKeyManager: PublicKeyManager;
|
40
|
-
constructor(options: ManagementClientOptions, graphqlClient: GraphqlClient, httpClient: HttpClient, tokenProvider: ManagementTokenProvider, publickKeyManager: PublicKeyManager);
|
41
|
-
/**
|
42
|
-
* @name create
|
43
|
-
* @name_zh 创建用户
|
44
|
-
* @description 此接口将以管理员身份创建用户,不需要进行手机号验证码检验等安全检测。
|
45
|
-
*
|
46
|
-
* @param {CreateUserInput} userInfo 用户资料
|
47
|
-
* @param {string} userInfo.email 邮箱,用户池内唯一
|
48
|
-
* @param {boolean} userInfo.emailVerified 邮箱是否已验证
|
49
|
-
* @param {string} userInfo.phone 手机号
|
50
|
-
* @param {boolean} userInfo.phoneVerified 手机号是否验证
|
51
|
-
* @param {string} userInfo.unionid 以社会化登录的用户该字段为用户在第三方社会化登录服务商中的唯一 ID
|
52
|
-
* @param {string} userInfo.openid 微信登录返回的 openid
|
53
|
-
* @param {string} userInfo.password 密码
|
54
|
-
* @param {string} userInfo.registerSource 注册来源,可以多选
|
55
|
-
* @param {string} userInfo.username 用户名
|
56
|
-
* @param {string} userInfo.nickname 昵称
|
57
|
-
* @param {string} userInfo.photo 头像
|
58
|
-
* @param {string} userInfo.company 公司
|
59
|
-
* @param {string} userInfo.browser 浏览器
|
60
|
-
* @param {number} userInfo.loginsCount 登录次数,当你从原有用户系统迁移到 Authing 时可以设置该字段。
|
61
|
-
* @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")
|
62
|
-
* @param {string} userInfo.lastIP 用户最近一次登录(或其他活动)的 IP
|
63
|
-
* @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")
|
64
|
-
* @param {boolean} userInfo.blocked 账号是否被禁用
|
65
|
-
* @param {boolean} userInfo.isDeleted 标记账号是否被删除
|
66
|
-
* @param {string} userInfo.device 设备
|
67
|
-
* @param {string} userInfo.lastIP 最近登录的 IP
|
68
|
-
* @param {string} userInfo.name Name
|
69
|
-
* @param {string} userInfo.givenName Given Name
|
70
|
-
* @param {string} userInfo.familyName Family Name
|
71
|
-
* @param {string} userInfo.middleName Middle Name
|
72
|
-
* @param {string} userInfo.profile Profile Url
|
73
|
-
* @param {string} userInfo.preferredUsername Preferred Name
|
74
|
-
* @param {string} userInfo.website 个人网站
|
75
|
-
* @param {string} userInfo.gender 性别, F 表示男性、W 表示女性、未知表示 U
|
76
|
-
* @param {string} userInfo.birthdate 生日
|
77
|
-
* @param {string} userInfo.zoneinfo 时区
|
78
|
-
* @param {string} userInfo.locale 语言
|
79
|
-
* @param {string} userInfo.address 地址
|
80
|
-
* @param {string} userInfo.streetAddress 街道地址
|
81
|
-
* @param {string} userInfo.locality
|
82
|
-
* @param {string} userInfo.region 地域
|
83
|
-
* @param {string} userInfo.postalCode 邮编
|
84
|
-
* @param {string} userInfo.city 城市
|
85
|
-
* @param {string} userInfo.province 省份
|
86
|
-
* @param {string} userInfo.country 国家
|
87
|
-
*
|
88
|
-
* @example
|
89
|
-
*
|
90
|
-
* const user = await managementClient.users.create({
|
91
|
-
* username: 'bob',
|
92
|
-
* password: 'passw0rd'
|
93
|
-
* })
|
94
|
-
*
|
95
|
-
* @example
|
96
|
-
*
|
97
|
-
* const user = await managementClient.users.create({
|
98
|
-
* nickname: 'Nick',
|
99
|
-
* phone: '176xxxx7041', // 由于是管理员操作,所以检验手机号验证码, 如果你需要检验,请使用 AuthenticationClient
|
100
|
-
* loginsCount: 2 // 原有用户系统记录的用户登录次数
|
101
|
-
* signedUp: '2020-10-15T17:55:37+08:00' // 原有用户系统记录的用户注册时间
|
102
|
-
* })
|
103
|
-
*
|
104
|
-
* @returns {Promise<User>}
|
105
|
-
* @memberof UsersManagementClient
|
106
|
-
*/
|
107
|
-
create(userInfo: CreateUserInput, options?: {
|
108
|
-
keepPassword?: boolean;
|
109
|
-
resetPasswordOnFirstLogin?: boolean;
|
110
|
-
}): Promise<User>;
|
111
|
-
/**
|
112
|
-
* @name update
|
113
|
-
* @name_zh 修改用户资料
|
114
|
-
* @description 修改用户资料
|
115
|
-
*
|
116
|
-
* @param {string} id 用户 ID
|
117
|
-
* @param {UpdateUserInput} updates 修改的用户资料
|
118
|
-
* @param {string} updates.email 邮箱
|
119
|
-
* @param {boolean} updates.emailVerified 邮箱是否已验证
|
120
|
-
* @param {string} updates.phone 手机号
|
121
|
-
* @param {boolean} updates.phoneVerified 手机号是否验证
|
122
|
-
* @param {string} updates.unionid 以社会化登录的用户该字段为用户在第三方社会化登录服务商中的唯一 ID
|
123
|
-
* @param {string} updates.openid 微信登录返回的 openid
|
124
|
-
* @param {string} updates.password 密码
|
125
|
-
* @param {string} updates.registerSource 注册来源,可以多选
|
126
|
-
* @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")。
|
127
|
-
* 将该字段设置为小于当前时间可以让用户的 token 失效。
|
128
|
-
* @param {string} updates.username 用户名
|
129
|
-
* @param {string} updates.nickname 昵称
|
130
|
-
* @param {string} updates.photo 头像
|
131
|
-
* @param {string} updates.company 公司
|
132
|
-
* @param {string} updates.browser 浏览器
|
133
|
-
* @param {number} updates.loginsCount 登录次数,当你从原有用户系统迁移到 Authing 时可以设置该字段。
|
134
|
-
* @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")
|
135
|
-
* @param {string} updates.lastIP 用户最近一次登录(或其他活动)的 IP
|
136
|
-
* @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")
|
137
|
-
* @param {boolean} updates.blocked 账号是否被禁用
|
138
|
-
* @param {string} updates.device 设备
|
139
|
-
* @param {string} updates.lastIP 最近登录的 IP
|
140
|
-
* @param {string} updates.name Name
|
141
|
-
* @param {string} updates.givenName Given Name
|
142
|
-
* @param {string} updates.familyName Family Name
|
143
|
-
* @param {string} updates.middleName Middle Name
|
144
|
-
* @param {string} updates.profile Profile Url
|
145
|
-
* @param {string} updates.preferredUsername Preferred Name
|
146
|
-
* @param {string} updates.website 个人网站
|
147
|
-
* @param {string} updates.gender 性别, F 表示男性、W 表示女性、未知表示 U
|
148
|
-
* @param {string} updates.birthdate 生日
|
149
|
-
* @param {string} updates.zoneinfo 时区
|
150
|
-
* @param {string} updates.locale 语言
|
151
|
-
* @param {string} updates.address 地址
|
152
|
-
* @param {string} updates.streetAddress 街道地址
|
153
|
-
* @param {string} updates.locality
|
154
|
-
* @param {string} updates.region 地域
|
155
|
-
* @param {string} updates.postalCode 邮编
|
156
|
-
* @param {string} updates.city 城市
|
157
|
-
* @param {string} updates.province 省份
|
158
|
-
* @param {string} updates.country 国家
|
159
|
-
*
|
160
|
-
* @example
|
161
|
-
*
|
162
|
-
* const user = await managementClient.users.update("USERID", {
|
163
|
-
* nickname: "Nick"
|
164
|
-
* })
|
165
|
-
*
|
166
|
-
* @example
|
167
|
-
*
|
168
|
-
* const user = await managementClient.users.update("USERID" ,{
|
169
|
-
* nickname: 'Nick',
|
170
|
-
* phone: '176xxxx7041', // 由于是管理员操作,所以检验手机号验证码, 如果你需要检验,请使用 AuthenticationClient
|
171
|
-
* tokenExpiredAt: '2020-10-15T17:55:37+08:00'
|
172
|
-
* })
|
173
|
-
*
|
174
|
-
* @returns {Promise<User>}
|
175
|
-
* @memberof UsersManagementClient *
|
176
|
-
*/
|
177
|
-
update(id: string, updates: UpdateUserInput): Promise<User>;
|
178
|
-
/**
|
179
|
-
* @name detail
|
180
|
-
* @name_zh 获取用户详情
|
181
|
-
* @description 通过用户 ID 获取用户详情,如果你想通过 token 获取用户详情,请使用 AuthenticationClient SDK 。
|
182
|
-
*
|
183
|
-
* @param {string} userId 用户 ID
|
184
|
-
*
|
185
|
-
* @example
|
186
|
-
*
|
187
|
-
* const user = await managementClient.users.detail('USERID');
|
188
|
-
*
|
189
|
-
* @returns {Promise<User>}
|
190
|
-
* @memberof UsersManagementClient
|
191
|
-
*/
|
192
|
-
detail(userId: string, options?: {
|
193
|
-
withCustomData?: boolean;
|
194
|
-
}): Promise<User>;
|
195
|
-
/**
|
196
|
-
* @name delete
|
197
|
-
* @name_zh 删除用户
|
198
|
-
* @description 删除用户
|
199
|
-
*
|
200
|
-
* @param {string} userId 用户 ID
|
201
|
-
*
|
202
|
-
* @example
|
203
|
-
*
|
204
|
-
* const user = await managementClient.users.delete('USERID');
|
205
|
-
*
|
206
|
-
* @returns {Promise<CommonMessage>}
|
207
|
-
* @memberof UsersManagementClient
|
208
|
-
*/
|
209
|
-
delete(userId: string): Promise<CommonMessage>;
|
210
|
-
/**
|
211
|
-
* @name deleteMany
|
212
|
-
* @name_zh 批量删除用户
|
213
|
-
* @description 批量删除用户
|
214
|
-
*
|
215
|
-
* @param {string[]} userIds 用户 ID 列表
|
216
|
-
*
|
217
|
-
* @example
|
218
|
-
*
|
219
|
-
* const user = await managementClient.users.deleteMany(['USERID']);
|
220
|
-
*
|
221
|
-
* @returns {Promise<CommonMessage>}
|
222
|
-
* @memberof UsersManagementClient
|
223
|
-
*/
|
224
|
-
deleteMany(userIds: string[]): Promise<CommonMessage>;
|
225
|
-
/**
|
226
|
-
* @name batch
|
227
|
-
* @name_zh 批量获取用户
|
228
|
-
* @description 通过 ID、username、email、phone、email、externalId 批量获取用户详情
|
229
|
-
*
|
230
|
-
* @param {string[]} identifiers 需要查询的数据列表,如 用户 ID 列表
|
231
|
-
* @param {string} [type] 列表类型,可选值为 'id' ,'username' ,'phone' ,'email', 'externalId',默认为 'id'
|
232
|
-
*
|
233
|
-
* @example
|
234
|
-
*
|
235
|
-
* const users = await managementClient.users.batch(['USERID'], options);
|
236
|
-
*
|
237
|
-
* @returns {Promise<CommonMessage>}
|
238
|
-
* @memberof UsersManagementClient
|
239
|
-
*/
|
240
|
-
batch(ids: string[], options?: {
|
241
|
-
queryField: BatchFetchUserTypes;
|
242
|
-
withCustomData?: boolean;
|
243
|
-
}): Promise<User[]>;
|
244
|
-
/**
|
245
|
-
* @name list
|
246
|
-
* @name_zh 获取用户列表
|
247
|
-
* @description 获取用户池用户列表
|
248
|
-
*
|
249
|
-
* @param {number} [page=1] 页码数, 从 1 开始
|
250
|
-
* @param {number} [limit=10] 每页包含的用户数
|
251
|
-
*
|
252
|
-
* @example
|
253
|
-
*
|
254
|
-
* const user = await managementClient.users.list();
|
255
|
-
*
|
256
|
-
* @returns
|
257
|
-
* @memberof UsersManagementClient
|
258
|
-
*/
|
259
|
-
list(page?: number, limit?: number, options?: {
|
260
|
-
withCustomData?: boolean;
|
261
|
-
}): Promise<{
|
262
|
-
totalCount: number;
|
263
|
-
list: {
|
264
|
-
id: string;
|
265
|
-
arn: string;
|
266
|
-
userPoolId: string;
|
267
|
-
status?: import("../../types/graphql.v2").UserStatus;
|
268
|
-
username?: string;
|
269
|
-
email?: string;
|
270
|
-
emailVerified?: boolean;
|
271
|
-
phone?: string;
|
272
|
-
phoneVerified?: boolean;
|
273
|
-
unionid?: string;
|
274
|
-
openid?: string;
|
275
|
-
nickname?: string;
|
276
|
-
registerSource?: string[];
|
277
|
-
photo?: string;
|
278
|
-
password?: string;
|
279
|
-
oauth?: string;
|
280
|
-
token?: string;
|
281
|
-
tokenExpiredAt?: string;
|
282
|
-
loginsCount?: number;
|
283
|
-
lastLogin?: string;
|
284
|
-
lastIP?: string;
|
285
|
-
signedUp?: string;
|
286
|
-
blocked?: boolean;
|
287
|
-
isDeleted?: boolean;
|
288
|
-
device?: string;
|
289
|
-
browser?: string;
|
290
|
-
company?: string;
|
291
|
-
name?: string;
|
292
|
-
givenName?: string;
|
293
|
-
familyName?: string;
|
294
|
-
middleName?: string;
|
295
|
-
profile?: string;
|
296
|
-
preferredUsername?: string;
|
297
|
-
website?: string;
|
298
|
-
gender?: string;
|
299
|
-
birthdate?: string;
|
300
|
-
zoneinfo?: string;
|
301
|
-
locale?: string;
|
302
|
-
address?: string;
|
303
|
-
formatted?: string;
|
304
|
-
streetAddress?: string;
|
305
|
-
locality?: string;
|
306
|
-
region?: string;
|
307
|
-
postalCode?: string;
|
308
|
-
city?: string;
|
309
|
-
province?: string;
|
310
|
-
country?: string;
|
311
|
-
createdAt?: string;
|
312
|
-
updatedAt?: string;
|
313
|
-
externalId?: string;
|
314
|
-
}[];
|
315
|
-
}>;
|
316
|
-
/**
|
317
|
-
* @name listArchivedUsers
|
318
|
-
* @name_zh 获取已归档用户列表
|
319
|
-
* @description 获取已归档用户列表
|
320
|
-
*
|
321
|
-
* @param {number} [page=1] 页码数, 从 1 开始
|
322
|
-
* @param {number} [limit=10] 每页包含的用户数
|
323
|
-
*
|
324
|
-
* @example
|
325
|
-
*
|
326
|
-
* const user = await managementClient.users.listArchivedUsers();
|
327
|
-
*
|
328
|
-
* @returns
|
329
|
-
* @memberof UsersManagementClient
|
330
|
-
*/
|
331
|
-
listArchivedUsers(page?: number, limit?: number): Promise<{
|
332
|
-
totalCount: number;
|
333
|
-
list: {
|
334
|
-
id: string;
|
335
|
-
arn: string;
|
336
|
-
status?: import("../../types/graphql.v2").UserStatus;
|
337
|
-
userPoolId: string;
|
338
|
-
username?: string;
|
339
|
-
email?: string;
|
340
|
-
emailVerified?: boolean;
|
341
|
-
phone?: string;
|
342
|
-
phoneVerified?: boolean;
|
343
|
-
unionid?: string;
|
344
|
-
openid?: string;
|
345
|
-
nickname?: string;
|
346
|
-
registerSource?: string[];
|
347
|
-
photo?: string;
|
348
|
-
password?: string;
|
349
|
-
oauth?: string;
|
350
|
-
token?: string;
|
351
|
-
tokenExpiredAt?: string;
|
352
|
-
loginsCount?: number;
|
353
|
-
lastLogin?: string;
|
354
|
-
lastIP?: string;
|
355
|
-
signedUp?: string;
|
356
|
-
blocked?: boolean;
|
357
|
-
isDeleted?: boolean;
|
358
|
-
device?: string;
|
359
|
-
browser?: string;
|
360
|
-
company?: string;
|
361
|
-
name?: string;
|
362
|
-
givenName?: string;
|
363
|
-
familyName?: string;
|
364
|
-
middleName?: string;
|
365
|
-
profile?: string;
|
366
|
-
preferredUsername?: string;
|
367
|
-
website?: string;
|
368
|
-
gender?: string;
|
369
|
-
birthdate?: string;
|
370
|
-
zoneinfo?: string;
|
371
|
-
locale?: string;
|
372
|
-
address?: string;
|
373
|
-
formatted?: string;
|
374
|
-
streetAddress?: string;
|
375
|
-
locality?: string;
|
376
|
-
region?: string;
|
377
|
-
postalCode?: string;
|
378
|
-
city?: string;
|
379
|
-
province?: string;
|
380
|
-
country?: string;
|
381
|
-
createdAt?: string;
|
382
|
-
updatedAt?: string;
|
383
|
-
externalId?: string;
|
384
|
-
}[];
|
385
|
-
}>;
|
386
|
-
/**
|
387
|
-
* @name exists
|
388
|
-
* @name_zh 检查用户是否存在
|
389
|
-
* @description 检查用户是否存在,目前可检测的字段有用户名、邮箱、手机号。
|
390
|
-
*
|
391
|
-
*
|
392
|
-
* @param {Object} options
|
393
|
-
* @param {string} [options.username] 用户名,区分大小写。
|
394
|
-
* @param {string} [options.email] 邮箱,邮箱不区分大小写。
|
395
|
-
* @param {string} [options.phone] 手机号
|
396
|
-
*
|
397
|
-
* @example
|
398
|
-
*
|
399
|
-
* const exists = await managementClient.users.exists({
|
400
|
-
* username: "bob"
|
401
|
-
* });
|
402
|
-
*
|
403
|
-
* @returns {Promise<boolean>}
|
404
|
-
* @memberof UsersManagementClient
|
405
|
-
*/
|
406
|
-
exists(options: {
|
407
|
-
username?: string;
|
408
|
-
email?: string;
|
409
|
-
phone?: string;
|
410
|
-
externalId?: string;
|
411
|
-
}): Promise<boolean>;
|
412
|
-
/**
|
413
|
-
* @name find
|
414
|
-
* @name_zh 查找用户
|
415
|
-
* @description 通过用户名、邮箱、手机号查找用户
|
416
|
-
*
|
417
|
-
* @param {Object} options
|
418
|
-
* @param {string} [options.username] 用户名,区分大小写。
|
419
|
-
* @param {string} [options.email] 邮箱,邮箱不区分大小写。
|
420
|
-
* @param {string} [options.phone] 手机号
|
421
|
-
* @param {string} [options.externalId] externalId
|
422
|
-
*
|
423
|
-
* @memberof UsersManagementClient
|
424
|
-
*/
|
425
|
-
find(options: {
|
426
|
-
username?: string;
|
427
|
-
email?: string;
|
428
|
-
phone?: string;
|
429
|
-
externalId?: string;
|
430
|
-
withCustomData?: boolean;
|
431
|
-
}): Promise<{
|
432
|
-
id: string;
|
433
|
-
arn: string;
|
434
|
-
userPoolId: string;
|
435
|
-
status?: import("../../types/graphql.v2").UserStatus;
|
436
|
-
username?: string;
|
437
|
-
email?: string;
|
438
|
-
emailVerified?: boolean;
|
439
|
-
phone?: string;
|
440
|
-
phoneVerified?: boolean;
|
441
|
-
unionid?: string;
|
442
|
-
openid?: string;
|
443
|
-
nickname?: string;
|
444
|
-
registerSource?: string[];
|
445
|
-
photo?: string;
|
446
|
-
password?: string;
|
447
|
-
oauth?: string;
|
448
|
-
token?: string;
|
449
|
-
tokenExpiredAt?: string;
|
450
|
-
loginsCount?: number;
|
451
|
-
lastLogin?: string;
|
452
|
-
lastIP?: string;
|
453
|
-
signedUp?: string;
|
454
|
-
blocked?: boolean;
|
455
|
-
isDeleted?: boolean;
|
456
|
-
device?: string;
|
457
|
-
browser?: string;
|
458
|
-
company?: string;
|
459
|
-
name?: string;
|
460
|
-
givenName?: string;
|
461
|
-
familyName?: string;
|
462
|
-
middleName?: string;
|
463
|
-
profile?: string;
|
464
|
-
preferredUsername?: string;
|
465
|
-
website?: string;
|
466
|
-
gender?: string;
|
467
|
-
birthdate?: string;
|
468
|
-
zoneinfo?: string;
|
469
|
-
locale?: string;
|
470
|
-
address?: string;
|
471
|
-
formatted?: string;
|
472
|
-
streetAddress?: string;
|
473
|
-
locality?: string;
|
474
|
-
region?: string;
|
475
|
-
postalCode?: string;
|
476
|
-
city?: string;
|
477
|
-
province?: string;
|
478
|
-
country?: string;
|
479
|
-
createdAt?: string;
|
480
|
-
updatedAt?: string;
|
481
|
-
externalId?: string;
|
482
|
-
}>;
|
483
|
-
/**
|
484
|
-
* @name search
|
485
|
-
* @name_zh 搜索用户
|
486
|
-
* @description 根据关键字搜索用户
|
487
|
-
*
|
488
|
-
* @param query 搜索内容
|
489
|
-
* @param options 选项
|
490
|
-
* @param {string[]} [options.fields] 搜索用户字段,如果不指定,默认会从 username、nickname、email、phone、company、name、givenName、familyName、middleName、profile、preferredUsername 这些字段进行模糊搜索。
|
491
|
-
* 如果你需要精确查找,请使用 find 方法。
|
492
|
-
* @param {number} [options.page=1]
|
493
|
-
* @param {number} [options.limit=10]
|
494
|
-
* @param {Object} [options.departmentOpts] 限制条件,用户所在的部门
|
495
|
-
* @param {string} [options.departmentOpts.departmentId] 部门 ID
|
496
|
-
* @param {string} [options.departmentOpts.includeChildrenDepartments] 是否包含此部门的子部门
|
497
|
-
*
|
498
|
-
* @example
|
499
|
-
*
|
500
|
-
* const { totalCount, list } = await managementClient.users.search("Bob");
|
501
|
-
*
|
502
|
-
* @returns {Promise<PaginatedUsers>}
|
503
|
-
* @memberof UsersManagementClient
|
504
|
-
*/
|
505
|
-
search(query: string, options?: {
|
506
|
-
fields?: string[];
|
507
|
-
page?: number;
|
508
|
-
limit?: number;
|
509
|
-
departmentOpts?: QuerySearchUserArgs['departmentOpts'];
|
510
|
-
groupOpts?: QuerySearchUserArgs['groupOpts'];
|
511
|
-
roleOpts?: QuerySearchUserArgs['roleOpts'];
|
512
|
-
withCustomData?: boolean;
|
513
|
-
}): Promise<PaginatedUsers>;
|
514
|
-
/**
|
515
|
-
* @name refreshToken
|
516
|
-
* @name_zh 刷新用户 token
|
517
|
-
* @description 刷新用户 token
|
518
|
-
*
|
519
|
-
* @param {string} id 用户 ID
|
520
|
-
*
|
521
|
-
* @example
|
522
|
-
*
|
523
|
-
* const { token } = await managementClient.users.refreshToken("USERID");
|
524
|
-
*
|
525
|
-
* // 检测 token 的最新状态,能够获取到该用户对应的 token
|
526
|
-
*
|
527
|
-
* const data = await managementClient.checkLoginStatus(token, {
|
528
|
-
* fetchUserDetail: true
|
529
|
-
* });
|
530
|
-
*
|
531
|
-
* @returns {Promise<RefreshToken>}
|
532
|
-
* @memberof UsersManagementClient
|
533
|
-
*/
|
534
|
-
refreshToken(id: string): Promise<RefreshToken>;
|
535
|
-
/**
|
536
|
-
* @name listGroups
|
537
|
-
* @name_zh 获取用户分组列表
|
538
|
-
* @description 获取用户的分组列表
|
539
|
-
*
|
540
|
-
* @param {string} userId 用户 ID
|
541
|
-
*
|
542
|
-
* @example
|
543
|
-
*
|
544
|
-
* const { list, totalCount} = await managementClient.users.listGroups("USERID");
|
545
|
-
*
|
546
|
-
* @returns {Promise<DeepPartial<PaginatedGroups>>}
|
547
|
-
* @memberof UsersManagementClient
|
548
|
-
*/
|
549
|
-
listGroups(userId: string): Promise<DeepPartial<PaginatedGroups>>;
|
550
|
-
/**
|
551
|
-
* @name addGroup
|
552
|
-
* @name_zh 加入分组
|
553
|
-
* @description 将用户加入分组
|
554
|
-
*
|
555
|
-
* @param {string} userId 用户 ID
|
556
|
-
* @param {string} group 分组 code
|
557
|
-
*
|
558
|
-
* @example
|
559
|
-
*
|
560
|
-
* const { code, message } = await managementClient.users.addGroup("USERID", "GROUP_CODE");
|
561
|
-
*
|
562
|
-
* @returns {Promise<CommonMessage>}
|
563
|
-
* @memberof UsersManagementClient
|
564
|
-
*/
|
565
|
-
addGroup(userId: string, group: string): Promise<CommonMessage>;
|
566
|
-
/**
|
567
|
-
* @name removeGroup
|
568
|
-
* @name_zh 退出分组
|
569
|
-
* @description 退出分组
|
570
|
-
*
|
571
|
-
* @param {string} userId 用户 ID
|
572
|
-
* @param {string} group 分组 code
|
573
|
-
*
|
574
|
-
* @example
|
575
|
-
*
|
576
|
-
* const { code, message } = await managementClient.users.removeGroup("USERID", "GROUP_CODE");
|
577
|
-
*
|
578
|
-
* @returns {Promise<CommonMessage>}
|
579
|
-
* @memberof UsersManagementClient
|
580
|
-
*/
|
581
|
-
removeGroup(userId: string, group: string): Promise<CommonMessage>;
|
582
|
-
/**
|
583
|
-
* @name listRoles
|
584
|
-
* @name_zh 获取用户角色列表
|
585
|
-
* @description 获取用户的角色列表
|
586
|
-
*
|
587
|
-
* @param {string} userId 用户 ID
|
588
|
-
* @param {string} namespace 权限组命名空间
|
589
|
-
*
|
590
|
-
* @example
|
591
|
-
*
|
592
|
-
* const { list, totalCount} = await managementClient.users.listRoles("USERID");
|
593
|
-
*
|
594
|
-
* @returns {Promise<DeepPartial<PaginatedRoles>>}
|
595
|
-
* @memberof UsersManagementClient
|
596
|
-
*/
|
597
|
-
listRoles(userId: string, namespace?: string): Promise<DeepPartial<PaginatedRoles>>;
|
598
|
-
/**
|
599
|
-
* @name addRoles
|
600
|
-
* @name_zh 添加角色
|
601
|
-
* @description 将用户加入角色
|
602
|
-
*
|
603
|
-
* @param {string} userId 用户 ID
|
604
|
-
* @param {string} roles 角色 code 列表
|
605
|
-
* @param {string} namespace 权限组命名空间
|
606
|
-
*
|
607
|
-
* @example
|
608
|
-
*
|
609
|
-
* const { code, message } = await managementClient.users.addRoles("USERID", ["ROLEA"]);
|
610
|
-
*
|
611
|
-
* @returns {Promise<CommonMessage>}
|
612
|
-
* @memberof UsersManagementClient
|
613
|
-
*/
|
614
|
-
addRoles(userId: string, roles: string[], namespace?: string): Promise<CommonMessage>;
|
615
|
-
/**
|
616
|
-
* @name removeRoles
|
617
|
-
* @name_zh 移除角色
|
618
|
-
* @description 将用户从角色中移除
|
619
|
-
*
|
620
|
-
* @param {string} userId 用户 ID
|
621
|
-
* @param {string} roles 角色 code 列表
|
622
|
-
* @param {string} namespace 权限分组 code
|
623
|
-
*
|
624
|
-
* @example
|
625
|
-
*
|
626
|
-
* const { code, message } = await managementClient.users.removeRoles("USERID", ["ROLEA"]);
|
627
|
-
*
|
628
|
-
* @returns {Promise<CommonMessage>}
|
629
|
-
* @memberof UsersManagementClient
|
630
|
-
*/
|
631
|
-
removeRoles(userId: string, roles: string[], namespace?: string): Promise<CommonMessage>;
|
632
|
-
/**
|
633
|
-
* @name listOrg
|
634
|
-
* @name_zh 获取用户所在组织机构
|
635
|
-
* @description 获取用户所在组织机构,以及他在该组织机构内的的节点路径。
|
636
|
-
*
|
637
|
-
* @param {string} userId 用户 ID
|
638
|
-
*
|
639
|
-
* @example
|
640
|
-
*
|
641
|
-
* const data = await managementClient.users.listOrgs("USERID");
|
642
|
-
*
|
643
|
-
* @returns {Promise<UserOrgList>}
|
644
|
-
*
|
645
|
-
* @memberof UsersManagementClient
|
646
|
-
*/
|
647
|
-
listOrgs(userId: string): Promise<any>;
|
648
|
-
/**
|
649
|
-
* @name listDepartment
|
650
|
-
* @name_zh 获取用户所在部门
|
651
|
-
* @description 获取用户所在部门列表
|
652
|
-
*
|
653
|
-
* @param {string} userId 用户 ID
|
654
|
-
*
|
655
|
-
* @example
|
656
|
-
*
|
657
|
-
* const data = await managementClient.users.listDepartment("USERID");
|
658
|
-
*
|
659
|
-
* @returns {Promise<UserDepartmentList>}
|
660
|
-
*
|
661
|
-
* @memberof UsersManagementClient
|
662
|
-
*/
|
663
|
-
listDepartment(userId: string): Promise<{
|
664
|
-
totalCount: number;
|
665
|
-
list: {
|
666
|
-
isMainDepartment: boolean;
|
667
|
-
joinedAt?: string;
|
668
|
-
department: {
|
669
|
-
id: string;
|
670
|
-
orgId?: string;
|
671
|
-
name: string;
|
672
|
-
nameI18n?: string;
|
673
|
-
description?: string;
|
674
|
-
descriptionI18n?: string;
|
675
|
-
order?: number;
|
676
|
-
code?: string;
|
677
|
-
root?: boolean;
|
678
|
-
depth?: number;
|
679
|
-
path: string[];
|
680
|
-
codePath: string[];
|
681
|
-
namePath: string[];
|
682
|
-
createdAt?: string;
|
683
|
-
updatedAt?: string;
|
684
|
-
children?: string[];
|
685
|
-
};
|
686
|
-
}[];
|
687
|
-
}>;
|
688
|
-
/**
|
689
|
-
* @description 获取用户被授权的所有资源
|
690
|
-
*
|
691
|
-
* @param userId
|
692
|
-
* @param namespace
|
693
|
-
*/
|
694
|
-
listAuthorizedResources(userId: string, namespace: string, options?: {
|
695
|
-
resourceType?: ResourceType;
|
696
|
-
}): Promise<PaginatedAuthorizedResources>;
|
697
|
-
/**
|
698
|
-
* @description 获取某个用户的所有自定义数据
|
699
|
-
* @param userId: 用户 ID
|
700
|
-
*
|
701
|
-
*/
|
702
|
-
getUdfValue(userId: string): Promise<KeyValuePair>;
|
703
|
-
/**
|
704
|
-
* @description 批量获取多个用户的自定义数据
|
705
|
-
*
|
706
|
-
* @param userIds: 用户 ID 列表
|
707
|
-
*/
|
708
|
-
getUdfValueBatch(userIds: string[]): Promise<{
|
709
|
-
[x: string]: KeyValuePair;
|
710
|
-
}>;
|
711
|
-
/**
|
712
|
-
* @description 设置某个用户的自定义数据
|
713
|
-
*
|
714
|
-
* @param userId
|
715
|
-
* @param data
|
716
|
-
*/
|
717
|
-
setUdfValue(userId: string, data: KeyValuePair): Promise<void>;
|
718
|
-
/**
|
719
|
-
* @description 批量设置自定义数据
|
720
|
-
*
|
721
|
-
*/
|
722
|
-
setUdfValueBatch(input: {
|
723
|
-
userId: string;
|
724
|
-
data: KeyValuePair;
|
725
|
-
}[]): Promise<void>;
|
726
|
-
/**
|
727
|
-
* @description 清除用户的自定义数据
|
728
|
-
*
|
729
|
-
*/
|
730
|
-
removeUdfValue(userId: string, key: string): Promise<void>;
|
731
|
-
/**
|
732
|
-
* 判断用户是否有某个角色
|
733
|
-
* @param userId 用户 ID
|
734
|
-
* @param roleCode 角色 Code
|
735
|
-
* @param namespace 权限分组 ID
|
736
|
-
*/
|
737
|
-
hasRole(userId: string, roleCode: string, namespace?: string): Promise<boolean>;
|
738
|
-
/**
|
739
|
-
* @description 强制一批用户下线
|
740
|
-
*/
|
741
|
-
kick(userIds: string[]): Promise<{
|
742
|
-
code: number;
|
743
|
-
message: string;
|
744
|
-
}>;
|
745
|
-
logout(options: {
|
746
|
-
appId?: string;
|
747
|
-
userId: string;
|
748
|
-
}): Promise<{
|
749
|
-
code: number;
|
750
|
-
message: string;
|
751
|
-
}>;
|
752
|
-
/**
|
753
|
-
* @description 查询用户的登录状态
|
754
|
-
*/
|
755
|
-
checkLoginStatus(userId: string, appId?: string, deviceId?: string): Promise<{
|
756
|
-
isLogin: boolean;
|
757
|
-
user?: User;
|
758
|
-
application?: Array<Application>;
|
759
|
-
}>;
|
760
|
-
/**
|
761
|
-
* 审计日志列表
|
762
|
-
* @param options.page 当前页数
|
763
|
-
* @param options.limit 每页显示条数
|
764
|
-
* @param options.clientIp 客户端 IP 地址
|
765
|
-
* @param options.operationName 操作类型
|
766
|
-
* @param options.operatoArn 用户 Arn 通过 searchUser 方法获得
|
767
|
-
* @returns Promise<UserActions>
|
768
|
-
*/
|
769
|
-
listUserActions(options?: {
|
770
|
-
page?: number;
|
771
|
-
limit?: number;
|
772
|
-
clientIp?: string;
|
773
|
-
operationName?: string;
|
774
|
-
operatoArn?: string;
|
775
|
-
}): Promise<UserActions>;
|
776
|
-
/**
|
777
|
-
* @description 发送首次登录验证邮件
|
778
|
-
*
|
779
|
-
*/
|
780
|
-
sendFirstLoginVerifyEmail(options: {
|
781
|
-
appId: string;
|
782
|
-
userId: string;
|
783
|
-
}): Promise<boolean>;
|
784
|
-
}
|