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,296 +0,0 @@
|
|
1
|
-
import { GraphqlClient } from './../common/GraphqlClient';
|
2
|
-
import { ManagementTokenProvider } from './ManagementTokenProvider';
|
3
|
-
import { ManagementClientOptions } from './types';
|
4
|
-
import { CommonMessage, PaginatedAuthorizedResources, PaginatedPolicyAssignments, PaginatedRoles, PaginatedUsers, ResourceType, Role } from '../../types/graphql.v2';
|
5
|
-
import { DeepPartial, KeyValuePair } from '../../types/index';
|
6
|
-
/**
|
7
|
-
* @class RolesManagementClient 管理角色
|
8
|
-
* @description 此模块用于管理 Authing 角色,可以进行角色的增删改查、角色添加/删除用户、角色添加/删除策略 等操作。
|
9
|
-
*
|
10
|
-
* @example
|
11
|
-
*
|
12
|
-
* 请使用以下方式使用该模块,而不要直接初始化该模块:
|
13
|
-
* \`\`\`javascript
|
14
|
-
* import { ManagementClient } from "authing-js-sdk"
|
15
|
-
* const managementClient = new ManagementClient({
|
16
|
-
* userPoolId: "YOUR_USERPOOL_ID",
|
17
|
-
* secret: "YOUR_USERPOOL_SECRET",
|
18
|
-
* })
|
19
|
-
* managementClient.roles.list // 获取角色列表
|
20
|
-
* managementClient.roles.create // 创建角色
|
21
|
-
* managementClient.roles.listUsers // 获取角色用户列表
|
22
|
-
* \`\`\`
|
23
|
-
*
|
24
|
-
* @name RolesManagementClient
|
25
|
-
*/
|
26
|
-
export declare class RolesManagementClient {
|
27
|
-
options: ManagementClientOptions;
|
28
|
-
graphqlClient: GraphqlClient;
|
29
|
-
tokenProvider: ManagementTokenProvider;
|
30
|
-
constructor(options: ManagementClientOptions, graphqlClient: GraphqlClient, tokenProvider: ManagementTokenProvider);
|
31
|
-
/**
|
32
|
-
* @name create
|
33
|
-
* @name_zh 创建角色
|
34
|
-
* @description 创建角色
|
35
|
-
*
|
36
|
-
* @param {string} code 角色唯一标志符
|
37
|
-
* @param {string} [options.description] 描述
|
38
|
-
* @param {string} [options.namespace] 该角色所在的 namespace,默认为 default
|
39
|
-
*
|
40
|
-
* @example
|
41
|
-
* managementClient.roles.create('rolea', 'RoleA')
|
42
|
-
*
|
43
|
-
* @returns {Promise<DeepPartial<Role>>}
|
44
|
-
* @memberof RolesManagementClient
|
45
|
-
*/
|
46
|
-
create(code: string, description?: string, namespace?: string): Promise<DeepPartial<Role>>;
|
47
|
-
/**
|
48
|
-
* @name delete
|
49
|
-
* @name_zh 删除角色
|
50
|
-
* @description 删除角色
|
51
|
-
*
|
52
|
-
* @param {string} code 角色唯一标志符
|
53
|
-
* @param {string} [namespace] 角色所属的 Namespace code,默认值为 'default'
|
54
|
-
*
|
55
|
-
* @example
|
56
|
-
* managementClient.roles.delete('rolea')
|
57
|
-
*
|
58
|
-
* @returns {Promise<CommonMessage>}
|
59
|
-
* @memberof RolesManagementClient
|
60
|
-
*/
|
61
|
-
delete(code: string, namespace?: string): Promise<CommonMessage>;
|
62
|
-
/**
|
63
|
-
* @name deleteMany
|
64
|
-
* @name_zh 批量删除角色
|
65
|
-
* @description 批量删除角色
|
66
|
-
*
|
67
|
-
* @param {string[]} codeList 角色唯一标志符列表
|
68
|
-
* @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
|
69
|
-
*
|
70
|
-
* @example
|
71
|
-
* managementClient.roles.delete(['rolea'])
|
72
|
-
*
|
73
|
-
* @returns {Promise<CommonMessage>}
|
74
|
-
* @memberof RolesManagementClient
|
75
|
-
*/
|
76
|
-
deleteMany(codeList: string[], namespace?: string): Promise<CommonMessage>;
|
77
|
-
/**
|
78
|
-
* @name update
|
79
|
-
* @name_zh 修改角色
|
80
|
-
* @description 修改角色
|
81
|
-
*
|
82
|
-
* @param {string} code 角色唯一标志符
|
83
|
-
* @param {Object} options
|
84
|
-
* @param {string} options.description 描述信息
|
85
|
-
* @param {string} options.newCode 新的唯一标志符
|
86
|
-
* @param {string} options.namespace 角色所属的 Namespace,默认值为 'default'
|
87
|
-
*
|
88
|
-
* @example
|
89
|
-
* managementClient.roles.update('rolea', {newCode: 'newcode'})
|
90
|
-
*
|
91
|
-
*
|
92
|
-
* @returns {Promise<DeepPartial<Role>>}
|
93
|
-
* @memberof RolesManagementClient
|
94
|
-
*/
|
95
|
-
update(code: string, options: {
|
96
|
-
description?: string;
|
97
|
-
newCode?: string;
|
98
|
-
namespace?: string;
|
99
|
-
}): Promise<DeepPartial<Role>>;
|
100
|
-
/**
|
101
|
-
* @deprecated 已过时, 不建议使用
|
102
|
-
*/
|
103
|
-
detail(code: string, namespace?: string): Promise<DeepPartial<Role>>;
|
104
|
-
/**
|
105
|
-
*
|
106
|
-
* @name findByCode
|
107
|
-
* @name_zh 获取角色详情
|
108
|
-
* @description 获取角色详情
|
109
|
-
*
|
110
|
-
* @param {string} code 角色唯一标志符
|
111
|
-
* @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
|
112
|
-
*
|
113
|
-
* @example`
|
114
|
-
* managementClient.roles.detail('manager')
|
115
|
-
*
|
116
|
-
* @returns {Promise<DeepPartial<Role>>} 角色详情
|
117
|
-
* @memberof RolesManagementClient
|
118
|
-
*/
|
119
|
-
findByCode(code: string, namespace?: string): Promise<DeepPartial<Role>>;
|
120
|
-
/**
|
121
|
-
* @name list
|
122
|
-
* @name_zh 获取角色列表
|
123
|
-
* @description 获取角色列表
|
124
|
-
*
|
125
|
-
* @param {Object} [options]
|
126
|
-
* @param {number} [options.page=1] 页码数
|
127
|
-
* @param {number} [options.limit=10] 每页个数
|
128
|
-
* @param {string} [options.namespace] 角色所属的 Namespace,默认值为 'default'
|
129
|
-
*
|
130
|
-
* @example
|
131
|
-
* managementClient.roles.list(2, 10)
|
132
|
-
*
|
133
|
-
* @returns {Promise<DeepPartial<PaginatedRoles>>}
|
134
|
-
* @memberof RolesManagementClient
|
135
|
-
*/
|
136
|
-
list(options?: {
|
137
|
-
page?: number;
|
138
|
-
limit?: number;
|
139
|
-
namespace?: string;
|
140
|
-
}): Promise<DeepPartial<PaginatedRoles>>;
|
141
|
-
/**
|
142
|
-
* @name listUsers
|
143
|
-
* @name_zh 获取角色用户列表
|
144
|
-
* @description 获取角色用户列表
|
145
|
-
*
|
146
|
-
* @param {string} code 角色唯一标志符
|
147
|
-
* * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
|
148
|
-
*
|
149
|
-
* @example
|
150
|
-
* managementClient.roles.listUsers(code)
|
151
|
-
*
|
152
|
-
* @returns {Promise<DeepPartial<PaginatedUsers>>}
|
153
|
-
* @memberof RolesManagementClient
|
154
|
-
*/
|
155
|
-
listUsers(code: string, options?: {
|
156
|
-
namespace?: string;
|
157
|
-
withCustomData?: boolean;
|
158
|
-
page?: number;
|
159
|
-
limit?: number;
|
160
|
-
}): Promise<DeepPartial<PaginatedUsers>>;
|
161
|
-
/**
|
162
|
-
* @name addUsers
|
163
|
-
* @name_zh 添加用户
|
164
|
-
* @description 添加用户
|
165
|
-
*
|
166
|
-
* @param {string} code 角色唯一标志符
|
167
|
-
* @param {string[]} userIds 用户 ID 列表
|
168
|
-
* @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
|
169
|
-
*
|
170
|
-
* @example
|
171
|
-
* managementClient.roles.addUsers(code, ['USERID1', 'USERID2'])
|
172
|
-
*
|
173
|
-
* @returns {Promise<CommonMessage>}
|
174
|
-
* @memberof RolesManagementClient
|
175
|
-
*/
|
176
|
-
addUsers(code: string, userIds: string[], namespace?: string): Promise<CommonMessage>;
|
177
|
-
/**
|
178
|
-
* @name removeUsers
|
179
|
-
* @name_zh 移除用户
|
180
|
-
*
|
181
|
-
* @description 移除用户
|
182
|
-
*
|
183
|
-
* @param {string} code 角色唯一标志符
|
184
|
-
* @param {string[]} userIds 用户 ID 列表
|
185
|
-
* @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
|
186
|
-
*
|
187
|
-
* @example
|
188
|
-
* managementClient.roles.removeUsers(code, ['USERID1', 'USERID2'])
|
189
|
-
*
|
190
|
-
* @returns {Promise<CommonMessage>}
|
191
|
-
* @memberof RolesManagementClient
|
192
|
-
*/
|
193
|
-
removeUsers(code: string, userIds: string[], namespace?: string): Promise<CommonMessage>;
|
194
|
-
/**
|
195
|
-
* @name listPolicies
|
196
|
-
* @name_zh 获取角色策略列表
|
197
|
-
*
|
198
|
-
* @description 获取角色策略列表
|
199
|
-
*
|
200
|
-
* @param {string} code 角色唯一标志符
|
201
|
-
* @param {number} [page=1] 页码数
|
202
|
-
* @param {number} [limit=10] 页码个数
|
203
|
-
* @example
|
204
|
-
* managementClient.roles.listPolicies('codea', 1, 10)
|
205
|
-
*
|
206
|
-
* @returns {Promise<PaginatedPolicyAssignments>}
|
207
|
-
* @memberof RolesManagementClient
|
208
|
-
*/
|
209
|
-
listPolicies(code: string, page?: number, limit?: number): Promise<PaginatedPolicyAssignments>;
|
210
|
-
/**
|
211
|
-
* @name addPolicies
|
212
|
-
* @name_zh 授权策略
|
213
|
-
*
|
214
|
-
* @description 给角色授权策略策略
|
215
|
-
*
|
216
|
-
* @param {string} code 角色唯一标志符
|
217
|
-
* @param {string[]} policies 策略列表
|
218
|
-
* @example
|
219
|
-
* managementClient.roles.addPolicies('rolea', ['PolicyA', 'PolicyB'])
|
220
|
-
*
|
221
|
-
* @returns {Promise<CommonMessage>}
|
222
|
-
* @memberof RolesManagementClient
|
223
|
-
*/
|
224
|
-
addPolicies(code: string, policies: string[]): Promise<CommonMessage>;
|
225
|
-
/**
|
226
|
-
* @name removePolicies
|
227
|
-
* @name_zh 角色移除策略
|
228
|
-
*
|
229
|
-
* @description 角色移除策略
|
230
|
-
*
|
231
|
-
* @param {string} code 角色唯一标志符
|
232
|
-
* @param {string[]} policies 策略列表
|
233
|
-
* @example
|
234
|
-
* managementClient.roles.removePolicies('rolea', ['PolicyA', 'PolicyB'])
|
235
|
-
*
|
236
|
-
* @returns {Promise<CommonMessage>}
|
237
|
-
* @memberof RolesManagementClient
|
238
|
-
*/
|
239
|
-
removePolicies(code: string, policies: string[]): Promise<CommonMessage>;
|
240
|
-
/**
|
241
|
-
* @description 获取角色被授权的所有资源
|
242
|
-
*
|
243
|
-
* @param code: 角色 code
|
244
|
-
* @param namespace: 角色权限组 namespace code
|
245
|
-
* @param options.resourceType 资源类型
|
246
|
-
*/
|
247
|
-
listAuthorizedResources(code: string, namespace: string, options?: {
|
248
|
-
resourceType?: ResourceType;
|
249
|
-
}): Promise<PaginatedAuthorizedResources>;
|
250
|
-
/**
|
251
|
-
* 获取某个角色扩展字段列表
|
252
|
-
* @param roleId 角色 ID
|
253
|
-
* @returns Promise<{ [key: string]: any }>
|
254
|
-
*/
|
255
|
-
getUdfValue(roleId: string): Promise<{
|
256
|
-
[key: string]: any;
|
257
|
-
}>;
|
258
|
-
/**
|
259
|
-
* 获取某个角色某个扩展字段
|
260
|
-
* @param roleId 角色 ID
|
261
|
-
* @param udfKey 扩展字段 Key
|
262
|
-
* @returns Promise<{ [key: string]: any }>
|
263
|
-
*/
|
264
|
-
getSpecificUdfValue(roleId: string, udfKey: string): Promise<{
|
265
|
-
[key: string]: any;
|
266
|
-
}>;
|
267
|
-
/**
|
268
|
-
* 获取多个角色扩展字段列表
|
269
|
-
* @param roleId 角色 ID 列表
|
270
|
-
* @returns Promise<{ [x: string]: KeyValuePair }>
|
271
|
-
*/
|
272
|
-
getUdfValueBatch(roleIds: string[]): Promise<{
|
273
|
-
[x: string]: KeyValuePair;
|
274
|
-
}>;
|
275
|
-
/**
|
276
|
-
* 设置某个角色扩展字段列表
|
277
|
-
* @param roleId 角色 ID 列表
|
278
|
-
* @param data 扩展字段
|
279
|
-
*/
|
280
|
-
setUdfValue(roleId: string, data: KeyValuePair): Promise<void>;
|
281
|
-
/**
|
282
|
-
* 设置多个角色扩展字段列表
|
283
|
-
* @param input.roleId 角色 ID 列表
|
284
|
-
* @param input.data 扩展字段
|
285
|
-
*/
|
286
|
-
setUdfValueBatch(input: {
|
287
|
-
roleId: string;
|
288
|
-
data: KeyValuePair;
|
289
|
-
}[]): Promise<void>;
|
290
|
-
/**
|
291
|
-
* 删除用户的扩展字段
|
292
|
-
* @param input.roleId 角色 ID 列表
|
293
|
-
* @param input.key 扩展字段名
|
294
|
-
*/
|
295
|
-
removeUdfValue(roleId: string, key: string): Promise<void>;
|
296
|
-
}
|
@@ -1,711 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
-
});
|
10
|
-
};
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
15
|
-
function step(op) {
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
17
|
-
while (_) try {
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
20
|
-
switch (op[0]) {
|
21
|
-
case 0: case 1: t = op; break;
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
25
|
-
default:
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
30
|
-
if (t[2]) _.ops.pop();
|
31
|
-
_.trys.pop(); continue;
|
32
|
-
}
|
33
|
-
op = body.call(thisArg, _);
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
36
|
-
}
|
37
|
-
};
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
39
|
-
exports.RolesManagementClient = void 0;
|
40
|
-
var graphql_v2_1 = require("../../types/graphql.v2");
|
41
|
-
var graphqlapi_1 = require("../graphqlapi");
|
42
|
-
var utils_1 = require("../utils");
|
43
|
-
/**
|
44
|
-
* @class RolesManagementClient 管理角色
|
45
|
-
* @description 此模块用于管理 Authing 角色,可以进行角色的增删改查、角色添加/删除用户、角色添加/删除策略 等操作。
|
46
|
-
*
|
47
|
-
* @example
|
48
|
-
*
|
49
|
-
* 请使用以下方式使用该模块,而不要直接初始化该模块:
|
50
|
-
* \`\`\`javascript
|
51
|
-
* import { ManagementClient } from "authing-js-sdk"
|
52
|
-
* const managementClient = new ManagementClient({
|
53
|
-
* userPoolId: "YOUR_USERPOOL_ID",
|
54
|
-
* secret: "YOUR_USERPOOL_SECRET",
|
55
|
-
* })
|
56
|
-
* managementClient.roles.list // 获取角色列表
|
57
|
-
* managementClient.roles.create // 创建角色
|
58
|
-
* managementClient.roles.listUsers // 获取角色用户列表
|
59
|
-
* \`\`\`
|
60
|
-
*
|
61
|
-
* @name RolesManagementClient
|
62
|
-
*/
|
63
|
-
var RolesManagementClient = /** @class */ (function () {
|
64
|
-
function RolesManagementClient(options, graphqlClient, tokenProvider) {
|
65
|
-
this.options = options;
|
66
|
-
this.graphqlClient = graphqlClient;
|
67
|
-
this.tokenProvider = tokenProvider;
|
68
|
-
}
|
69
|
-
/**
|
70
|
-
* @name create
|
71
|
-
* @name_zh 创建角色
|
72
|
-
* @description 创建角色
|
73
|
-
*
|
74
|
-
* @param {string} code 角色唯一标志符
|
75
|
-
* @param {string} [options.description] 描述
|
76
|
-
* @param {string} [options.namespace] 该角色所在的 namespace,默认为 default
|
77
|
-
*
|
78
|
-
* @example
|
79
|
-
* managementClient.roles.create('rolea', 'RoleA')
|
80
|
-
*
|
81
|
-
* @returns {Promise<DeepPartial<Role>>}
|
82
|
-
* @memberof RolesManagementClient
|
83
|
-
*/
|
84
|
-
RolesManagementClient.prototype.create = function (code, description, namespace) {
|
85
|
-
return __awaiter(this, void 0, void 0, function () {
|
86
|
-
var res;
|
87
|
-
return __generator(this, function (_a) {
|
88
|
-
switch (_a.label) {
|
89
|
-
case 0: return [4 /*yield*/, graphqlapi_1.addRole(this.graphqlClient, this.tokenProvider, {
|
90
|
-
code: code,
|
91
|
-
description: description,
|
92
|
-
namespace: namespace
|
93
|
-
})];
|
94
|
-
case 1:
|
95
|
-
res = _a.sent();
|
96
|
-
return [2 /*return*/, res.createRole];
|
97
|
-
}
|
98
|
-
});
|
99
|
-
});
|
100
|
-
};
|
101
|
-
/**
|
102
|
-
* @name delete
|
103
|
-
* @name_zh 删除角色
|
104
|
-
* @description 删除角色
|
105
|
-
*
|
106
|
-
* @param {string} code 角色唯一标志符
|
107
|
-
* @param {string} [namespace] 角色所属的 Namespace code,默认值为 'default'
|
108
|
-
*
|
109
|
-
* @example
|
110
|
-
* managementClient.roles.delete('rolea')
|
111
|
-
*
|
112
|
-
* @returns {Promise<CommonMessage>}
|
113
|
-
* @memberof RolesManagementClient
|
114
|
-
*/
|
115
|
-
RolesManagementClient.prototype.delete = function (code, namespace) {
|
116
|
-
return __awaiter(this, void 0, void 0, function () {
|
117
|
-
var data;
|
118
|
-
return __generator(this, function (_a) {
|
119
|
-
switch (_a.label) {
|
120
|
-
case 0: return [4 /*yield*/, graphqlapi_1.deleteRole(this.graphqlClient, this.tokenProvider, {
|
121
|
-
code: code,
|
122
|
-
namespace: namespace
|
123
|
-
})];
|
124
|
-
case 1:
|
125
|
-
data = (_a.sent()).deleteRole;
|
126
|
-
return [2 /*return*/, data];
|
127
|
-
}
|
128
|
-
});
|
129
|
-
});
|
130
|
-
};
|
131
|
-
/**
|
132
|
-
* @name deleteMany
|
133
|
-
* @name_zh 批量删除角色
|
134
|
-
* @description 批量删除角色
|
135
|
-
*
|
136
|
-
* @param {string[]} codeList 角色唯一标志符列表
|
137
|
-
* @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
|
138
|
-
*
|
139
|
-
* @example
|
140
|
-
* managementClient.roles.delete(['rolea'])
|
141
|
-
*
|
142
|
-
* @returns {Promise<CommonMessage>}
|
143
|
-
* @memberof RolesManagementClient
|
144
|
-
*/
|
145
|
-
RolesManagementClient.prototype.deleteMany = function (codeList, namespace) {
|
146
|
-
return __awaiter(this, void 0, void 0, function () {
|
147
|
-
var data;
|
148
|
-
return __generator(this, function (_a) {
|
149
|
-
switch (_a.label) {
|
150
|
-
case 0: return [4 /*yield*/, graphqlapi_1.deleteRoles(this.graphqlClient, this.tokenProvider, {
|
151
|
-
codeList: codeList,
|
152
|
-
namespace: namespace
|
153
|
-
})];
|
154
|
-
case 1:
|
155
|
-
data = (_a.sent()).deleteRoles;
|
156
|
-
return [2 /*return*/, data];
|
157
|
-
}
|
158
|
-
});
|
159
|
-
});
|
160
|
-
};
|
161
|
-
/**
|
162
|
-
* @name update
|
163
|
-
* @name_zh 修改角色
|
164
|
-
* @description 修改角色
|
165
|
-
*
|
166
|
-
* @param {string} code 角色唯一标志符
|
167
|
-
* @param {Object} options
|
168
|
-
* @param {string} options.description 描述信息
|
169
|
-
* @param {string} options.newCode 新的唯一标志符
|
170
|
-
* @param {string} options.namespace 角色所属的 Namespace,默认值为 'default'
|
171
|
-
*
|
172
|
-
* @example
|
173
|
-
* managementClient.roles.update('rolea', {newCode: 'newcode'})
|
174
|
-
*
|
175
|
-
*
|
176
|
-
* @returns {Promise<DeepPartial<Role>>}
|
177
|
-
* @memberof RolesManagementClient
|
178
|
-
*/
|
179
|
-
RolesManagementClient.prototype.update = function (code, options) {
|
180
|
-
return __awaiter(this, void 0, void 0, function () {
|
181
|
-
var description, newCode, namespace, data;
|
182
|
-
return __generator(this, function (_a) {
|
183
|
-
switch (_a.label) {
|
184
|
-
case 0:
|
185
|
-
description = options.description, newCode = options.newCode, namespace = options.namespace;
|
186
|
-
return [4 /*yield*/, graphqlapi_1.updateRole(this.graphqlClient, this.tokenProvider, {
|
187
|
-
code: code,
|
188
|
-
description: description,
|
189
|
-
newCode: newCode,
|
190
|
-
namespace: namespace
|
191
|
-
})];
|
192
|
-
case 1:
|
193
|
-
data = (_a.sent()).updateRole;
|
194
|
-
return [2 /*return*/, data];
|
195
|
-
}
|
196
|
-
});
|
197
|
-
});
|
198
|
-
};
|
199
|
-
/**
|
200
|
-
* @deprecated 已过时, 不建议使用
|
201
|
-
*/
|
202
|
-
RolesManagementClient.prototype.detail = function (code, namespace) {
|
203
|
-
return __awaiter(this, void 0, void 0, function () {
|
204
|
-
var data;
|
205
|
-
return __generator(this, function (_a) {
|
206
|
-
switch (_a.label) {
|
207
|
-
case 0: return [4 /*yield*/, graphqlapi_1.role(this.graphqlClient, this.tokenProvider, {
|
208
|
-
code: code,
|
209
|
-
namespace: namespace
|
210
|
-
})];
|
211
|
-
case 1:
|
212
|
-
data = (_a.sent()).role;
|
213
|
-
return [2 /*return*/, data];
|
214
|
-
}
|
215
|
-
});
|
216
|
-
});
|
217
|
-
};
|
218
|
-
/**
|
219
|
-
*
|
220
|
-
* @name findByCode
|
221
|
-
* @name_zh 获取角色详情
|
222
|
-
* @description 获取角色详情
|
223
|
-
*
|
224
|
-
* @param {string} code 角色唯一标志符
|
225
|
-
* @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
|
226
|
-
*
|
227
|
-
* @example`
|
228
|
-
* managementClient.roles.detail('manager')
|
229
|
-
*
|
230
|
-
* @returns {Promise<DeepPartial<Role>>} 角色详情
|
231
|
-
* @memberof RolesManagementClient
|
232
|
-
*/
|
233
|
-
RolesManagementClient.prototype.findByCode = function (code, namespace) {
|
234
|
-
return __awaiter(this, void 0, void 0, function () {
|
235
|
-
var data;
|
236
|
-
return __generator(this, function (_a) {
|
237
|
-
switch (_a.label) {
|
238
|
-
case 0: return [4 /*yield*/, this.detail(code, namespace)];
|
239
|
-
case 1:
|
240
|
-
data = _a.sent();
|
241
|
-
return [2 /*return*/, data];
|
242
|
-
}
|
243
|
-
});
|
244
|
-
});
|
245
|
-
};
|
246
|
-
/**
|
247
|
-
* @name list
|
248
|
-
* @name_zh 获取角色列表
|
249
|
-
* @description 获取角色列表
|
250
|
-
*
|
251
|
-
* @param {Object} [options]
|
252
|
-
* @param {number} [options.page=1] 页码数
|
253
|
-
* @param {number} [options.limit=10] 每页个数
|
254
|
-
* @param {string} [options.namespace] 角色所属的 Namespace,默认值为 'default'
|
255
|
-
*
|
256
|
-
* @example
|
257
|
-
* managementClient.roles.list(2, 10)
|
258
|
-
*
|
259
|
-
* @returns {Promise<DeepPartial<PaginatedRoles>>}
|
260
|
-
* @memberof RolesManagementClient
|
261
|
-
*/
|
262
|
-
RolesManagementClient.prototype.list = function (options) {
|
263
|
-
return __awaiter(this, void 0, void 0, function () {
|
264
|
-
var _a, _b, page, _c, limit, namespace, data;
|
265
|
-
return __generator(this, function (_d) {
|
266
|
-
switch (_d.label) {
|
267
|
-
case 0:
|
268
|
-
_a = options || {}, _b = _a.page, page = _b === void 0 ? 1 : _b, _c = _a.limit, limit = _c === void 0 ? 10 : _c, namespace = _a.namespace;
|
269
|
-
return [4 /*yield*/, graphqlapi_1.roles(this.graphqlClient, this.tokenProvider, {
|
270
|
-
page: page,
|
271
|
-
limit: limit,
|
272
|
-
namespace: namespace
|
273
|
-
})];
|
274
|
-
case 1:
|
275
|
-
data = (_d.sent()).roles;
|
276
|
-
return [2 /*return*/, data];
|
277
|
-
}
|
278
|
-
});
|
279
|
-
});
|
280
|
-
};
|
281
|
-
/**
|
282
|
-
* @name listUsers
|
283
|
-
* @name_zh 获取角色用户列表
|
284
|
-
* @description 获取角色用户列表
|
285
|
-
*
|
286
|
-
* @param {string} code 角色唯一标志符
|
287
|
-
* * @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
|
288
|
-
*
|
289
|
-
* @example
|
290
|
-
* managementClient.roles.listUsers(code)
|
291
|
-
*
|
292
|
-
* @returns {Promise<DeepPartial<PaginatedUsers>>}
|
293
|
-
* @memberof RolesManagementClient
|
294
|
-
*/
|
295
|
-
RolesManagementClient.prototype.listUsers = function (code, options) {
|
296
|
-
return __awaiter(this, void 0, void 0, function () {
|
297
|
-
var _a, namespace, _b, withCustomData, _c, page, _d, limit, data, data, _e, totalCount, list;
|
298
|
-
return __generator(this, function (_f) {
|
299
|
-
switch (_f.label) {
|
300
|
-
case 0:
|
301
|
-
_a = options || {}, namespace = _a.namespace, _b = _a.withCustomData, withCustomData = _b === void 0 ? false : _b, _c = _a.page, page = _c === void 0 ? 1 : _c, _d = _a.limit, limit = _d === void 0 ? 10 : _d;
|
302
|
-
if (!!withCustomData) return [3 /*break*/, 2];
|
303
|
-
return [4 /*yield*/, graphqlapi_1.roleWithUsers(this.graphqlClient, this.tokenProvider, {
|
304
|
-
code: code,
|
305
|
-
namespace: namespace,
|
306
|
-
page: page,
|
307
|
-
limit: limit
|
308
|
-
})];
|
309
|
-
case 1:
|
310
|
-
data = (_f.sent()).role;
|
311
|
-
if (!data) {
|
312
|
-
return [2 /*return*/, {
|
313
|
-
totalCount: 0,
|
314
|
-
list: []
|
315
|
-
}];
|
316
|
-
}
|
317
|
-
return [2 /*return*/, data.users];
|
318
|
-
case 2: return [4 /*yield*/, graphqlapi_1.roleWithUsersWithCustomData(this.graphqlClient, this.tokenProvider, {
|
319
|
-
code: code,
|
320
|
-
namespace: namespace,
|
321
|
-
page: page,
|
322
|
-
limit: limit
|
323
|
-
})];
|
324
|
-
case 3:
|
325
|
-
data = (_f.sent()).role;
|
326
|
-
if (!data) {
|
327
|
-
return [2 /*return*/, {
|
328
|
-
totalCount: 0,
|
329
|
-
list: []
|
330
|
-
}];
|
331
|
-
}
|
332
|
-
_e = data.users, totalCount = _e.totalCount, list = _e.list;
|
333
|
-
list = list.map(function (user) {
|
334
|
-
// @ts-ignore
|
335
|
-
user.customData = utils_1.convertUdvToKeyValuePair(user.customData);
|
336
|
-
return user;
|
337
|
-
});
|
338
|
-
return [2 /*return*/, {
|
339
|
-
totalCount: totalCount,
|
340
|
-
list: list
|
341
|
-
}];
|
342
|
-
}
|
343
|
-
});
|
344
|
-
});
|
345
|
-
};
|
346
|
-
/**
|
347
|
-
* @name addUsers
|
348
|
-
* @name_zh 添加用户
|
349
|
-
* @description 添加用户
|
350
|
-
*
|
351
|
-
* @param {string} code 角色唯一标志符
|
352
|
-
* @param {string[]} userIds 用户 ID 列表
|
353
|
-
* @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
|
354
|
-
*
|
355
|
-
* @example
|
356
|
-
* managementClient.roles.addUsers(code, ['USERID1', 'USERID2'])
|
357
|
-
*
|
358
|
-
* @returns {Promise<CommonMessage>}
|
359
|
-
* @memberof RolesManagementClient
|
360
|
-
*/
|
361
|
-
RolesManagementClient.prototype.addUsers = function (code, userIds, namespace) {
|
362
|
-
return __awaiter(this, void 0, void 0, function () {
|
363
|
-
var res;
|
364
|
-
return __generator(this, function (_a) {
|
365
|
-
switch (_a.label) {
|
366
|
-
case 0: return [4 /*yield*/, graphqlapi_1.assignRole(this.graphqlClient, this.tokenProvider, {
|
367
|
-
roleCode: code,
|
368
|
-
userIds: userIds,
|
369
|
-
namespace: namespace
|
370
|
-
})];
|
371
|
-
case 1:
|
372
|
-
res = _a.sent();
|
373
|
-
return [2 /*return*/, res.assignRole];
|
374
|
-
}
|
375
|
-
});
|
376
|
-
});
|
377
|
-
};
|
378
|
-
/**
|
379
|
-
* @name removeUsers
|
380
|
-
* @name_zh 移除用户
|
381
|
-
*
|
382
|
-
* @description 移除用户
|
383
|
-
*
|
384
|
-
* @param {string} code 角色唯一标志符
|
385
|
-
* @param {string[]} userIds 用户 ID 列表
|
386
|
-
* @param {string} [namespace] 角色所属的 Namespace,默认值为 'default'
|
387
|
-
*
|
388
|
-
* @example
|
389
|
-
* managementClient.roles.removeUsers(code, ['USERID1', 'USERID2'])
|
390
|
-
*
|
391
|
-
* @returns {Promise<CommonMessage>}
|
392
|
-
* @memberof RolesManagementClient
|
393
|
-
*/
|
394
|
-
RolesManagementClient.prototype.removeUsers = function (code, userIds, namespace) {
|
395
|
-
return __awaiter(this, void 0, void 0, function () {
|
396
|
-
var res;
|
397
|
-
return __generator(this, function (_a) {
|
398
|
-
switch (_a.label) {
|
399
|
-
case 0: return [4 /*yield*/, graphqlapi_1.revokeRole(this.graphqlClient, this.tokenProvider, {
|
400
|
-
roleCode: code,
|
401
|
-
userIds: userIds,
|
402
|
-
namespace: namespace
|
403
|
-
})];
|
404
|
-
case 1:
|
405
|
-
res = _a.sent();
|
406
|
-
return [2 /*return*/, res.revokeRole];
|
407
|
-
}
|
408
|
-
});
|
409
|
-
});
|
410
|
-
};
|
411
|
-
/**
|
412
|
-
* @name listPolicies
|
413
|
-
* @name_zh 获取角色策略列表
|
414
|
-
*
|
415
|
-
* @description 获取角色策略列表
|
416
|
-
*
|
417
|
-
* @param {string} code 角色唯一标志符
|
418
|
-
* @param {number} [page=1] 页码数
|
419
|
-
* @param {number} [limit=10] 页码个数
|
420
|
-
* @example
|
421
|
-
* managementClient.roles.listPolicies('codea', 1, 10)
|
422
|
-
*
|
423
|
-
* @returns {Promise<PaginatedPolicyAssignments>}
|
424
|
-
* @memberof RolesManagementClient
|
425
|
-
*/
|
426
|
-
RolesManagementClient.prototype.listPolicies = function (code, page, limit) {
|
427
|
-
if (page === void 0) { page = 1; }
|
428
|
-
if (limit === void 0) { limit = 10; }
|
429
|
-
return __awaiter(this, void 0, void 0, function () {
|
430
|
-
var data;
|
431
|
-
return __generator(this, function (_a) {
|
432
|
-
switch (_a.label) {
|
433
|
-
case 0: return [4 /*yield*/, graphqlapi_1.policyAssignments(this.graphqlClient, this.tokenProvider, {
|
434
|
-
targetType: graphql_v2_1.PolicyAssignmentTargetType.Role,
|
435
|
-
targetIdentifier: code,
|
436
|
-
page: page,
|
437
|
-
limit: limit
|
438
|
-
})];
|
439
|
-
case 1:
|
440
|
-
data = (_a.sent()).policyAssignments;
|
441
|
-
return [2 /*return*/, data];
|
442
|
-
}
|
443
|
-
});
|
444
|
-
});
|
445
|
-
};
|
446
|
-
/**
|
447
|
-
* @name addPolicies
|
448
|
-
* @name_zh 授权策略
|
449
|
-
*
|
450
|
-
* @description 给角色授权策略策略
|
451
|
-
*
|
452
|
-
* @param {string} code 角色唯一标志符
|
453
|
-
* @param {string[]} policies 策略列表
|
454
|
-
* @example
|
455
|
-
* managementClient.roles.addPolicies('rolea', ['PolicyA', 'PolicyB'])
|
456
|
-
*
|
457
|
-
* @returns {Promise<CommonMessage>}
|
458
|
-
* @memberof RolesManagementClient
|
459
|
-
*/
|
460
|
-
RolesManagementClient.prototype.addPolicies = function (code, policies) {
|
461
|
-
return __awaiter(this, void 0, void 0, function () {
|
462
|
-
var res;
|
463
|
-
return __generator(this, function (_a) {
|
464
|
-
switch (_a.label) {
|
465
|
-
case 0: return [4 /*yield*/, graphqlapi_1.addPolicyAssignments(this.graphqlClient, this.tokenProvider, {
|
466
|
-
targetType: graphql_v2_1.PolicyAssignmentTargetType.User,
|
467
|
-
targetIdentifiers: [code],
|
468
|
-
policies: policies
|
469
|
-
})];
|
470
|
-
case 1:
|
471
|
-
res = _a.sent();
|
472
|
-
return [2 /*return*/, res.addPolicyAssignments];
|
473
|
-
}
|
474
|
-
});
|
475
|
-
});
|
476
|
-
};
|
477
|
-
/**
|
478
|
-
* @name removePolicies
|
479
|
-
* @name_zh 角色移除策略
|
480
|
-
*
|
481
|
-
* @description 角色移除策略
|
482
|
-
*
|
483
|
-
* @param {string} code 角色唯一标志符
|
484
|
-
* @param {string[]} policies 策略列表
|
485
|
-
* @example
|
486
|
-
* managementClient.roles.removePolicies('rolea', ['PolicyA', 'PolicyB'])
|
487
|
-
*
|
488
|
-
* @returns {Promise<CommonMessage>}
|
489
|
-
* @memberof RolesManagementClient
|
490
|
-
*/
|
491
|
-
RolesManagementClient.prototype.removePolicies = function (code, policies) {
|
492
|
-
return __awaiter(this, void 0, void 0, function () {
|
493
|
-
var res;
|
494
|
-
return __generator(this, function (_a) {
|
495
|
-
switch (_a.label) {
|
496
|
-
case 0: return [4 /*yield*/, graphqlapi_1.removePolicyAssignments(this.graphqlClient, this.tokenProvider, {
|
497
|
-
targetType: graphql_v2_1.PolicyAssignmentTargetType.User,
|
498
|
-
targetIdentifiers: [code],
|
499
|
-
policies: policies
|
500
|
-
})];
|
501
|
-
case 1:
|
502
|
-
res = _a.sent();
|
503
|
-
return [2 /*return*/, res.removePolicyAssignments];
|
504
|
-
}
|
505
|
-
});
|
506
|
-
});
|
507
|
-
};
|
508
|
-
/**
|
509
|
-
* @description 获取角色被授权的所有资源
|
510
|
-
*
|
511
|
-
* @param code: 角色 code
|
512
|
-
* @param namespace: 角色权限组 namespace code
|
513
|
-
* @param options.resourceType 资源类型
|
514
|
-
*/
|
515
|
-
RolesManagementClient.prototype.listAuthorizedResources = function (code, namespace, options) {
|
516
|
-
return __awaiter(this, void 0, void 0, function () {
|
517
|
-
var resourceType, role, _a, list, totalCount;
|
518
|
-
return __generator(this, function (_b) {
|
519
|
-
switch (_b.label) {
|
520
|
-
case 0:
|
521
|
-
resourceType = (options || {}).resourceType;
|
522
|
-
return [4 /*yield*/, graphqlapi_1.listRoleAuthorizedResources(this.graphqlClient, this.tokenProvider, {
|
523
|
-
code: code,
|
524
|
-
namespace: namespace,
|
525
|
-
resourceType: resourceType
|
526
|
-
})];
|
527
|
-
case 1:
|
528
|
-
role = (_b.sent()).role;
|
529
|
-
if (!role) {
|
530
|
-
throw new Error('角色不存在');
|
531
|
-
}
|
532
|
-
_a = role.authorizedResources, list = _a.list, totalCount = _a.totalCount;
|
533
|
-
list = utils_1.formatAuthorizedResources(list);
|
534
|
-
return [2 /*return*/, {
|
535
|
-
list: list,
|
536
|
-
totalCount: totalCount
|
537
|
-
}];
|
538
|
-
}
|
539
|
-
});
|
540
|
-
});
|
541
|
-
};
|
542
|
-
/**
|
543
|
-
* 获取某个角色扩展字段列表
|
544
|
-
* @param roleId 角色 ID
|
545
|
-
* @returns Promise<{ [key: string]: any }>
|
546
|
-
*/
|
547
|
-
RolesManagementClient.prototype.getUdfValue = function (roleId) {
|
548
|
-
return __awaiter(this, void 0, void 0, function () {
|
549
|
-
var list;
|
550
|
-
return __generator(this, function (_a) {
|
551
|
-
switch (_a.label) {
|
552
|
-
case 0: return [4 /*yield*/, graphqlapi_1.udv(this.graphqlClient, this.tokenProvider, {
|
553
|
-
targetType: graphql_v2_1.UdfTargetType.Role,
|
554
|
-
targetId: roleId
|
555
|
-
})];
|
556
|
-
case 1:
|
557
|
-
list = (_a.sent()).udv;
|
558
|
-
return [2 /*return*/, utils_1.convertUdvToKeyValuePair(list)];
|
559
|
-
}
|
560
|
-
});
|
561
|
-
});
|
562
|
-
};
|
563
|
-
/**
|
564
|
-
* 获取某个角色某个扩展字段
|
565
|
-
* @param roleId 角色 ID
|
566
|
-
* @param udfKey 扩展字段 Key
|
567
|
-
* @returns Promise<{ [key: string]: any }>
|
568
|
-
*/
|
569
|
-
RolesManagementClient.prototype.getSpecificUdfValue = function (roleId, udfKey) {
|
570
|
-
return __awaiter(this, void 0, void 0, function () {
|
571
|
-
var list, udfMap, udfValue, key;
|
572
|
-
return __generator(this, function (_a) {
|
573
|
-
switch (_a.label) {
|
574
|
-
case 0: return [4 /*yield*/, graphqlapi_1.udv(this.graphqlClient, this.tokenProvider, {
|
575
|
-
targetType: graphql_v2_1.UdfTargetType.Role,
|
576
|
-
targetId: roleId
|
577
|
-
})];
|
578
|
-
case 1:
|
579
|
-
list = (_a.sent()).udv;
|
580
|
-
udfMap = utils_1.convertUdvToKeyValuePair(list);
|
581
|
-
udfValue = {};
|
582
|
-
for (key in udfMap) {
|
583
|
-
if (udfKey === key) {
|
584
|
-
udfValue[key] = udfMap[key];
|
585
|
-
}
|
586
|
-
}
|
587
|
-
return [2 /*return*/, udfValue];
|
588
|
-
}
|
589
|
-
});
|
590
|
-
});
|
591
|
-
};
|
592
|
-
/**
|
593
|
-
* 获取多个角色扩展字段列表
|
594
|
-
* @param roleId 角色 ID 列表
|
595
|
-
* @returns Promise<{ [x: string]: KeyValuePair }>
|
596
|
-
*/
|
597
|
-
RolesManagementClient.prototype.getUdfValueBatch = function (roleIds) {
|
598
|
-
return __awaiter(this, void 0, void 0, function () {
|
599
|
-
var result, ret, _i, result_1, _a, targetId, data;
|
600
|
-
return __generator(this, function (_b) {
|
601
|
-
switch (_b.label) {
|
602
|
-
case 0:
|
603
|
-
if (roleIds.length === 0) {
|
604
|
-
throw new Error('empty user id list');
|
605
|
-
}
|
606
|
-
return [4 /*yield*/, graphqlapi_1.udfValueBatch(this.graphqlClient, this.tokenProvider, {
|
607
|
-
targetType: graphql_v2_1.UdfTargetType.Role,
|
608
|
-
targetIds: roleIds
|
609
|
-
})];
|
610
|
-
case 1:
|
611
|
-
result = (_b.sent()).udfValueBatch;
|
612
|
-
ret = {};
|
613
|
-
for (_i = 0, result_1 = result; _i < result_1.length; _i++) {
|
614
|
-
_a = result_1[_i], targetId = _a.targetId, data = _a.data;
|
615
|
-
ret[targetId] = utils_1.convertUdvToKeyValuePair(data);
|
616
|
-
}
|
617
|
-
return [2 /*return*/, ret];
|
618
|
-
}
|
619
|
-
});
|
620
|
-
});
|
621
|
-
};
|
622
|
-
/**
|
623
|
-
* 设置某个角色扩展字段列表
|
624
|
-
* @param roleId 角色 ID 列表
|
625
|
-
* @param data 扩展字段
|
626
|
-
*/
|
627
|
-
RolesManagementClient.prototype.setUdfValue = function (roleId, data) {
|
628
|
-
return __awaiter(this, void 0, void 0, function () {
|
629
|
-
return __generator(this, function (_a) {
|
630
|
-
switch (_a.label) {
|
631
|
-
case 0:
|
632
|
-
if (Object.keys(data).length === 0) {
|
633
|
-
throw new Error('empty udf value list');
|
634
|
-
}
|
635
|
-
return [4 /*yield*/, graphqlapi_1.setUdvBatch(this.graphqlClient, this.tokenProvider, {
|
636
|
-
targetType: graphql_v2_1.UdfTargetType.Role,
|
637
|
-
targetId: roleId,
|
638
|
-
udvList: Object.keys(data).map(function (key) { return ({
|
639
|
-
key: key,
|
640
|
-
value: JSON.stringify(data[key])
|
641
|
-
}); })
|
642
|
-
})];
|
643
|
-
case 1:
|
644
|
-
_a.sent();
|
645
|
-
return [2 /*return*/];
|
646
|
-
}
|
647
|
-
});
|
648
|
-
});
|
649
|
-
};
|
650
|
-
/**
|
651
|
-
* 设置多个角色扩展字段列表
|
652
|
-
* @param input.roleId 角色 ID 列表
|
653
|
-
* @param input.data 扩展字段
|
654
|
-
*/
|
655
|
-
RolesManagementClient.prototype.setUdfValueBatch = function (input) {
|
656
|
-
return __awaiter(this, void 0, void 0, function () {
|
657
|
-
var params;
|
658
|
-
return __generator(this, function (_a) {
|
659
|
-
switch (_a.label) {
|
660
|
-
case 0:
|
661
|
-
if (input.length === 0) {
|
662
|
-
throw new Error('empty input list');
|
663
|
-
}
|
664
|
-
params = [];
|
665
|
-
input.forEach(function (_a) {
|
666
|
-
var userId = _a.roleId, data = _a.data;
|
667
|
-
for (var _i = 0, _b = Object.keys(data); _i < _b.length; _i++) {
|
668
|
-
var key = _b[_i];
|
669
|
-
params.push({
|
670
|
-
targetId: userId,
|
671
|
-
key: key,
|
672
|
-
value: JSON.stringify(data[key])
|
673
|
-
});
|
674
|
-
}
|
675
|
-
});
|
676
|
-
return [4 /*yield*/, graphqlapi_1.setUdfValueBatch(this.graphqlClient, this.tokenProvider, {
|
677
|
-
targetType: graphql_v2_1.UdfTargetType.Role,
|
678
|
-
input: params
|
679
|
-
})];
|
680
|
-
case 1:
|
681
|
-
_a.sent();
|
682
|
-
return [2 /*return*/];
|
683
|
-
}
|
684
|
-
});
|
685
|
-
});
|
686
|
-
};
|
687
|
-
/**
|
688
|
-
* 删除用户的扩展字段
|
689
|
-
* @param input.roleId 角色 ID 列表
|
690
|
-
* @param input.key 扩展字段名
|
691
|
-
*/
|
692
|
-
RolesManagementClient.prototype.removeUdfValue = function (roleId, key) {
|
693
|
-
return __awaiter(this, void 0, void 0, function () {
|
694
|
-
return __generator(this, function (_a) {
|
695
|
-
switch (_a.label) {
|
696
|
-
case 0: return [4 /*yield*/, graphqlapi_1.removeUdv(this.graphqlClient, this.tokenProvider, {
|
697
|
-
targetType: graphql_v2_1.UdfTargetType.Role,
|
698
|
-
targetId: roleId,
|
699
|
-
key: key
|
700
|
-
})];
|
701
|
-
case 1:
|
702
|
-
_a.sent();
|
703
|
-
return [2 /*return*/];
|
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