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,114 +0,0 @@
|
|
1
|
-
import { WhiteList, WhitelistType } from '../../types/graphql.v2';
|
2
|
-
import { GraphqlClient } from './../common/GraphqlClient';
|
3
|
-
import { ManagementTokenProvider } from './ManagementTokenProvider';
|
4
|
-
import { ManagementClientOptions } from './types';
|
5
|
-
/**
|
6
|
-
* @name WhitelistManagementClient
|
7
|
-
* @description 为你的用户池配置一个注册白名单,类似于邀请注册规则,开启后,只有白名单里的用户才能进行注册。 Authing 目前支持的白名单方式有手机号、邮箱、用户名。
|
8
|
-
*
|
9
|
-
* 此模块可以用于对注册白名单进行管理。
|
10
|
-
*
|
11
|
-
* @example
|
12
|
-
*
|
13
|
-
* 请使用以下方式使用该模块:
|
14
|
-
* \`\`\`javascript
|
15
|
-
* import { ManagementClient } from "authing-js-sdk"
|
16
|
-
* const managementClient = new ManagementClient({
|
17
|
-
* userPoolId: "YOUR_USERPOOL_ID",
|
18
|
-
* secret: "YOUR_USERPOOL_SECRET",
|
19
|
-
* })
|
20
|
-
* managementClient.whitelist.list // 获取注册白名单记录
|
21
|
-
* managementClient.whitelist.add // 添加白名单记录
|
22
|
-
* managementClient.whitelist.remove // 移除白名单记录
|
23
|
-
* \`\`\`
|
24
|
-
*
|
25
|
-
* @class WhitelistManagementClient 管理注册白名单
|
26
|
-
*/
|
27
|
-
export declare class WhitelistManagementClient {
|
28
|
-
options: ManagementClientOptions;
|
29
|
-
graphqlClient: GraphqlClient;
|
30
|
-
tokenProvider: ManagementTokenProvider;
|
31
|
-
constructor(options: ManagementClientOptions, graphqlClient: GraphqlClient, tokenProvider: ManagementTokenProvider);
|
32
|
-
/**
|
33
|
-
* @name list
|
34
|
-
* @name_zh 获取白名单记录
|
35
|
-
* @description 获取白名单记录
|
36
|
-
*
|
37
|
-
* @param {WhitelistType} type 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
|
38
|
-
*
|
39
|
-
* @example
|
40
|
-
*
|
41
|
-
* import { WhitelistType } from "authing-js-sdk"
|
42
|
-
* const list = await managementClient.whitelist.list(WhitelistType.Email);
|
43
|
-
*
|
44
|
-
* @returns {Promise<WhiteList[]>}
|
45
|
-
* @memberof WhitelistManagementClient
|
46
|
-
*/
|
47
|
-
list(type: WhitelistType): Promise<WhiteList[]>;
|
48
|
-
/**
|
49
|
-
* @name add
|
50
|
-
* @name_zh 添加白名单
|
51
|
-
* @description 添加白名单
|
52
|
-
*
|
53
|
-
* @param {WhitelistType} type 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
|
54
|
-
* @param {string[]} list 白名单列表,请注意邮箱不区分大小写。
|
55
|
-
*
|
56
|
-
* @example
|
57
|
-
*
|
58
|
-
* await managementClient.whitelist.add(WhitelistType.Email, 'a@example.com');
|
59
|
-
*
|
60
|
-
* @returns {Promise<WhiteList[]>}
|
61
|
-
* @memberof WhitelistManagementClient
|
62
|
-
*/
|
63
|
-
add(type: WhitelistType, list: string[]): Promise<WhiteList[]>;
|
64
|
-
/**
|
65
|
-
* @name remove
|
66
|
-
* @name_zh 移除白名单
|
67
|
-
* @description 移除白名单
|
68
|
-
*
|
69
|
-
* @param {WhitelistType} type 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
|
70
|
-
* @param {string[]} list 白名单列表,请注意邮箱不区分大小写。
|
71
|
-
*
|
72
|
-
* @example
|
73
|
-
*
|
74
|
-
* await managementClient.whitelist.remove(WhitelistType.Email, 'a@example.com');
|
75
|
-
*
|
76
|
-
*
|
77
|
-
* @returns {Promise<WhiteList[]>}
|
78
|
-
* @memberof WhitelistManagementClient
|
79
|
-
*/
|
80
|
-
remove(type: WhitelistType, list: string[]): Promise<WhiteList[]>;
|
81
|
-
/**
|
82
|
-
* @name enable
|
83
|
-
* @name_zh 开启白名单
|
84
|
-
* @description 开启白名单
|
85
|
-
*
|
86
|
-
* @param {WhitelistType} type 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
|
87
|
-
*
|
88
|
-
* @example
|
89
|
-
*
|
90
|
-
*
|
91
|
-
* // 添加白名单
|
92
|
-
*
|
93
|
-
* import { WhitelistType } from "authing-js-sdk"
|
94
|
-
* await managementClient.whitelist.enable(WhitelistType.Email);
|
95
|
-
* await managementClient.whitelist.add(WhitelistType.Email, [‘a@wxample.com’]);
|
96
|
-
*
|
97
|
-
* // 使用不在白名单内的账号注册,不提示无法注册。
|
98
|
-
*
|
99
|
-
* await authing.registerByEmail(email, 'b@example.com');
|
100
|
-
*
|
101
|
-
* @memberof WhitelistManagementClient
|
102
|
-
*/
|
103
|
-
enable(type: WhitelistType): Promise<void>;
|
104
|
-
/**
|
105
|
-
* @name disable
|
106
|
-
* @name_zh 关闭白名单
|
107
|
-
* @description 关闭白名单
|
108
|
-
*
|
109
|
-
* @param {WhitelistType} type 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
|
110
|
-
*
|
111
|
-
* @memberof WhitelistManagementClient
|
112
|
-
*/
|
113
|
-
disable(type: WhitelistType): Promise<void>;
|
114
|
-
}
|
@@ -1,256 +0,0 @@
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
8
|
-
});
|
9
|
-
};
|
10
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
11
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
12
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
13
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
14
|
-
function step(op) {
|
15
|
-
if (f) throw new TypeError("Generator is already executing.");
|
16
|
-
while (_) try {
|
17
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
18
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
19
|
-
switch (op[0]) {
|
20
|
-
case 0: case 1: t = op; break;
|
21
|
-
case 4: _.label++; return { value: op[1], done: false };
|
22
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
23
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
24
|
-
default:
|
25
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
26
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
27
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
28
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
29
|
-
if (t[2]) _.ops.pop();
|
30
|
-
_.trys.pop(); continue;
|
31
|
-
}
|
32
|
-
op = body.call(thisArg, _);
|
33
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
34
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
35
|
-
}
|
36
|
-
};
|
37
|
-
import { WhitelistType } from '../../types/graphql.v2';
|
38
|
-
import { getWhiteList, addWhiteList, removeWhiteList, updateUserpool } from '../graphqlapi';
|
39
|
-
/**
|
40
|
-
* @name WhitelistManagementClient
|
41
|
-
* @description 为你的用户池配置一个注册白名单,类似于邀请注册规则,开启后,只有白名单里的用户才能进行注册。 Authing 目前支持的白名单方式有手机号、邮箱、用户名。
|
42
|
-
*
|
43
|
-
* 此模块可以用于对注册白名单进行管理。
|
44
|
-
*
|
45
|
-
* @example
|
46
|
-
*
|
47
|
-
* 请使用以下方式使用该模块:
|
48
|
-
* \`\`\`javascript
|
49
|
-
* import { ManagementClient } from "authing-js-sdk"
|
50
|
-
* const managementClient = new ManagementClient({
|
51
|
-
* userPoolId: "YOUR_USERPOOL_ID",
|
52
|
-
* secret: "YOUR_USERPOOL_SECRET",
|
53
|
-
* })
|
54
|
-
* managementClient.whitelist.list // 获取注册白名单记录
|
55
|
-
* managementClient.whitelist.add // 添加白名单记录
|
56
|
-
* managementClient.whitelist.remove // 移除白名单记录
|
57
|
-
* \`\`\`
|
58
|
-
*
|
59
|
-
* @class WhitelistManagementClient 管理注册白名单
|
60
|
-
*/
|
61
|
-
var WhitelistManagementClient = /** @class */ (function () {
|
62
|
-
function WhitelistManagementClient(options, graphqlClient, tokenProvider) {
|
63
|
-
this.options = options;
|
64
|
-
this.graphqlClient = graphqlClient;
|
65
|
-
this.tokenProvider = tokenProvider;
|
66
|
-
}
|
67
|
-
/**
|
68
|
-
* @name list
|
69
|
-
* @name_zh 获取白名单记录
|
70
|
-
* @description 获取白名单记录
|
71
|
-
*
|
72
|
-
* @param {WhitelistType} type 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
|
73
|
-
*
|
74
|
-
* @example
|
75
|
-
*
|
76
|
-
* import { WhitelistType } from "authing-js-sdk"
|
77
|
-
* const list = await managementClient.whitelist.list(WhitelistType.Email);
|
78
|
-
*
|
79
|
-
* @returns {Promise<WhiteList[]>}
|
80
|
-
* @memberof WhitelistManagementClient
|
81
|
-
*/
|
82
|
-
WhitelistManagementClient.prototype.list = function (type) {
|
83
|
-
return __awaiter(this, void 0, void 0, function () {
|
84
|
-
var whitelist;
|
85
|
-
return __generator(this, function (_a) {
|
86
|
-
switch (_a.label) {
|
87
|
-
case 0: return [4 /*yield*/, getWhiteList(this.graphqlClient, this.tokenProvider, {
|
88
|
-
type: type
|
89
|
-
})];
|
90
|
-
case 1:
|
91
|
-
whitelist = (_a.sent()).whitelist;
|
92
|
-
return [2 /*return*/, whitelist];
|
93
|
-
}
|
94
|
-
});
|
95
|
-
});
|
96
|
-
};
|
97
|
-
/**
|
98
|
-
* @name add
|
99
|
-
* @name_zh 添加白名单
|
100
|
-
* @description 添加白名单
|
101
|
-
*
|
102
|
-
* @param {WhitelistType} type 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
|
103
|
-
* @param {string[]} list 白名单列表,请注意邮箱不区分大小写。
|
104
|
-
*
|
105
|
-
* @example
|
106
|
-
*
|
107
|
-
* await managementClient.whitelist.add(WhitelistType.Email, 'a@example.com');
|
108
|
-
*
|
109
|
-
* @returns {Promise<WhiteList[]>}
|
110
|
-
* @memberof WhitelistManagementClient
|
111
|
-
*/
|
112
|
-
WhitelistManagementClient.prototype.add = function (type, list) {
|
113
|
-
return __awaiter(this, void 0, void 0, function () {
|
114
|
-
var whiteList;
|
115
|
-
return __generator(this, function (_a) {
|
116
|
-
switch (_a.label) {
|
117
|
-
case 0: return [4 /*yield*/, addWhiteList(this.graphqlClient, this.tokenProvider, {
|
118
|
-
type: type,
|
119
|
-
list: list
|
120
|
-
})];
|
121
|
-
case 1:
|
122
|
-
whiteList = (_a.sent()).addWhitelist;
|
123
|
-
return [2 /*return*/, whiteList];
|
124
|
-
}
|
125
|
-
});
|
126
|
-
});
|
127
|
-
};
|
128
|
-
/**
|
129
|
-
* @name remove
|
130
|
-
* @name_zh 移除白名单
|
131
|
-
* @description 移除白名单
|
132
|
-
*
|
133
|
-
* @param {WhitelistType} type 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
|
134
|
-
* @param {string[]} list 白名单列表,请注意邮箱不区分大小写。
|
135
|
-
*
|
136
|
-
* @example
|
137
|
-
*
|
138
|
-
* await managementClient.whitelist.remove(WhitelistType.Email, 'a@example.com');
|
139
|
-
*
|
140
|
-
*
|
141
|
-
* @returns {Promise<WhiteList[]>}
|
142
|
-
* @memberof WhitelistManagementClient
|
143
|
-
*/
|
144
|
-
WhitelistManagementClient.prototype.remove = function (type, list) {
|
145
|
-
return __awaiter(this, void 0, void 0, function () {
|
146
|
-
var whiteList;
|
147
|
-
return __generator(this, function (_a) {
|
148
|
-
switch (_a.label) {
|
149
|
-
case 0: return [4 /*yield*/, removeWhiteList(this.graphqlClient, this.tokenProvider, {
|
150
|
-
type: type,
|
151
|
-
list: list
|
152
|
-
})];
|
153
|
-
case 1:
|
154
|
-
whiteList = (_a.sent()).removeWhitelist;
|
155
|
-
return [2 /*return*/, whiteList];
|
156
|
-
}
|
157
|
-
});
|
158
|
-
});
|
159
|
-
};
|
160
|
-
/**
|
161
|
-
* @name enable
|
162
|
-
* @name_zh 开启白名单
|
163
|
-
* @description 开启白名单
|
164
|
-
*
|
165
|
-
* @param {WhitelistType} type 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
|
166
|
-
*
|
167
|
-
* @example
|
168
|
-
*
|
169
|
-
*
|
170
|
-
* // 添加白名单
|
171
|
-
*
|
172
|
-
* import { WhitelistType } from "authing-js-sdk"
|
173
|
-
* await managementClient.whitelist.enable(WhitelistType.Email);
|
174
|
-
* await managementClient.whitelist.add(WhitelistType.Email, [‘a@wxample.com’]);
|
175
|
-
*
|
176
|
-
* // 使用不在白名单内的账号注册,不提示无法注册。
|
177
|
-
*
|
178
|
-
* await authing.registerByEmail(email, 'b@example.com');
|
179
|
-
*
|
180
|
-
* @memberof WhitelistManagementClient
|
181
|
-
*/
|
182
|
-
WhitelistManagementClient.prototype.enable = function (type) {
|
183
|
-
return __awaiter(this, void 0, void 0, function () {
|
184
|
-
var updates;
|
185
|
-
return __generator(this, function (_a) {
|
186
|
-
switch (_a.label) {
|
187
|
-
case 0:
|
188
|
-
updates = {};
|
189
|
-
if (type === WhitelistType.Email) {
|
190
|
-
updates.emailEnabled = true;
|
191
|
-
}
|
192
|
-
else if (type === WhitelistType.Phone) {
|
193
|
-
updates.phoneEnabled = true;
|
194
|
-
}
|
195
|
-
else if (type === WhitelistType.Username) {
|
196
|
-
updates.usernameEnabled = true;
|
197
|
-
}
|
198
|
-
else {
|
199
|
-
this.options.onError(500, '不支持的白名单类型');
|
200
|
-
}
|
201
|
-
return [4 /*yield*/, updateUserpool(this.graphqlClient, this.tokenProvider, {
|
202
|
-
input: {
|
203
|
-
whitelist: updates
|
204
|
-
}
|
205
|
-
})];
|
206
|
-
case 1:
|
207
|
-
_a.sent();
|
208
|
-
return [2 /*return*/];
|
209
|
-
}
|
210
|
-
});
|
211
|
-
});
|
212
|
-
};
|
213
|
-
/**
|
214
|
-
* @name disable
|
215
|
-
* @name_zh 关闭白名单
|
216
|
-
* @description 关闭白名单
|
217
|
-
*
|
218
|
-
* @param {WhitelistType} type 白名单类型,USERNAME 为用户名、Email 为邮箱、Phone 为手机号。
|
219
|
-
*
|
220
|
-
* @memberof WhitelistManagementClient
|
221
|
-
*/
|
222
|
-
WhitelistManagementClient.prototype.disable = function (type) {
|
223
|
-
return __awaiter(this, void 0, void 0, function () {
|
224
|
-
var updates;
|
225
|
-
return __generator(this, function (_a) {
|
226
|
-
switch (_a.label) {
|
227
|
-
case 0:
|
228
|
-
updates = {};
|
229
|
-
if (type === WhitelistType.Email) {
|
230
|
-
updates.emailEnabled = false;
|
231
|
-
}
|
232
|
-
else if (type === WhitelistType.Phone) {
|
233
|
-
updates.phoneEnabled = false;
|
234
|
-
}
|
235
|
-
else if (type === WhitelistType.Username) {
|
236
|
-
updates.usernameEnabled = false;
|
237
|
-
}
|
238
|
-
else {
|
239
|
-
this.options.onError(500, '不支持的白名单类型');
|
240
|
-
}
|
241
|
-
return [4 /*yield*/, updateUserpool(this.graphqlClient, this.tokenProvider, {
|
242
|
-
input: {
|
243
|
-
whitelist: updates
|
244
|
-
}
|
245
|
-
})];
|
246
|
-
case 1:
|
247
|
-
_a.sent();
|
248
|
-
return [2 /*return*/];
|
249
|
-
}
|
250
|
-
});
|
251
|
-
});
|
252
|
-
};
|
253
|
-
return WhitelistManagementClient;
|
254
|
-
}());
|
255
|
-
export { WhitelistManagementClient };
|
256
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiV2hpdGVsaXN0TWFuYWdlbWVudENsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvbWFuYWdlbWVudC9XaGl0ZWxpc3RNYW5hZ2VtZW50Q2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE9BQU8sRUFHTCxhQUFhLEVBQ2QsTUFBTSx3QkFBd0IsQ0FBQztBQUNoQyxPQUFPLEVBQ0wsWUFBWSxFQUNaLFlBQVksRUFDWixlQUFlLEVBQ2YsY0FBYyxFQUNmLE1BQU0sZUFBZSxDQUFDO0FBS3ZCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FxQkc7QUFDSDtJQUtFLG1DQUNFLE9BQWdDLEVBQ2hDLGFBQTRCLEVBQzVCLGFBQXNDO1FBRXRDLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO1FBQ3ZCLElBQUksQ0FBQyxhQUFhLEdBQUcsYUFBYSxDQUFDO1FBQ25DLElBQUksQ0FBQyxhQUFhLEdBQUcsYUFBYSxDQUFDO0lBQ3JDLENBQUM7SUFFRDs7Ozs7Ozs7Ozs7Ozs7T0FjRztJQUNHLHdDQUFJLEdBQVYsVUFBVyxJQUFtQjs7Ozs7NEJBQ04scUJBQU0sWUFBWSxDQUN0QyxJQUFJLENBQUMsYUFBYSxFQUNsQixJQUFJLENBQUMsYUFBYSxFQUNsQjs0QkFDRSxJQUFJLE1BQUE7eUJBQ0wsQ0FDRixFQUFBOzt3QkFOTyxTQUFTLEdBQUssQ0FBQSxTQU1yQixDQUFBLFVBTmdCO3dCQVFqQixzQkFBTyxTQUFTLEVBQUM7Ozs7S0FDbEI7SUFFRDs7Ozs7Ozs7Ozs7Ozs7T0FjRztJQUNHLHVDQUFHLEdBQVQsVUFBVSxJQUFtQixFQUFFLElBQWM7Ozs7OzRCQUNQLHFCQUFNLFlBQVksQ0FDcEQsSUFBSSxDQUFDLGFBQWEsRUFDbEIsSUFBSSxDQUFDLGFBQWEsRUFDbEI7NEJBQ0UsSUFBSSxNQUFBOzRCQUNKLElBQUksTUFBQTt5QkFDTCxDQUNGLEVBQUE7O3dCQVBxQixTQUFTLEdBQUssQ0FBQSxTQU9uQyxDQUFBLGFBUDhCO3dCQVMvQixzQkFBTyxTQUFTLEVBQUM7Ozs7S0FDbEI7SUFFRDs7Ozs7Ozs7Ozs7Ozs7O09BZUc7SUFDRywwQ0FBTSxHQUFaLFVBQWEsSUFBbUIsRUFBRSxJQUFjOzs7Ozs0QkFDUCxxQkFBTSxlQUFlLENBQzFELElBQUksQ0FBQyxhQUFhLEVBQ2xCLElBQUksQ0FBQyxhQUFhLEVBQ2xCOzRCQUNFLElBQUksTUFBQTs0QkFDSixJQUFJLE1BQUE7eUJBQ0wsQ0FDRixFQUFBOzt3QkFQd0IsU0FBUyxHQUFLLENBQUEsU0FPdEMsQ0FBQSxnQkFQaUM7d0JBU2xDLHNCQUFPLFNBQVMsRUFBQzs7OztLQUNsQjtJQUVEOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7T0FxQkc7SUFDRywwQ0FBTSxHQUFaLFVBQWEsSUFBbUI7Ozs7Ozt3QkFDeEIsT0FBTyxHQUFpQyxFQUFFLENBQUM7d0JBQ2pELElBQUksSUFBSSxLQUFLLGFBQWEsQ0FBQyxLQUFLLEVBQUU7NEJBQ2hDLE9BQU8sQ0FBQyxZQUFZLEdBQUcsSUFBSSxDQUFDO3lCQUM3Qjs2QkFBTSxJQUFJLElBQUksS0FBSyxhQUFhLENBQUMsS0FBSyxFQUFFOzRCQUN2QyxPQUFPLENBQUMsWUFBWSxHQUFHLElBQUksQ0FBQzt5QkFDN0I7NkJBQU0sSUFBSSxJQUFJLEtBQUssYUFBYSxDQUFDLFFBQVEsRUFBRTs0QkFDMUMsT0FBTyxDQUFDLGVBQWUsR0FBRyxJQUFJLENBQUM7eUJBQ2hDOzZCQUFNOzRCQUNMLElBQUksQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLEdBQUcsRUFBRSxXQUFXLENBQUMsQ0FBQzt5QkFDeEM7d0JBQ0QscUJBQU0sY0FBYyxDQUFDLElBQUksQ0FBQyxhQUFhLEVBQUUsSUFBSSxDQUFDLGFBQWEsRUFBRTtnQ0FDM0QsS0FBSyxFQUFFO29DQUNMLFNBQVMsRUFBRSxPQUFPO2lDQUNuQjs2QkFDRixDQUFDLEVBQUE7O3dCQUpGLFNBSUUsQ0FBQzs7Ozs7S0FDSjtJQUVEOzs7Ozs7OztPQVFHO0lBQ0csMkNBQU8sR0FBYixVQUFjLElBQW1COzs7Ozs7d0JBQ3pCLE9BQU8sR0FBaUMsRUFBRSxDQUFDO3dCQUNqRCxJQUFJLElBQUksS0FBSyxhQUFhLENBQUMsS0FBSyxFQUFFOzRCQUNoQyxPQUFPLENBQUMsWUFBWSxHQUFHLEtBQUssQ0FBQzt5QkFDOUI7NkJBQU0sSUFBSSxJQUFJLEtBQUssYUFBYSxDQUFDLEtBQUssRUFBRTs0QkFDdkMsT0FBTyxDQUFDLFlBQVksR0FBRyxLQUFLLENBQUM7eUJBQzlCOzZCQUFNLElBQUksSUFBSSxLQUFLLGFBQWEsQ0FBQyxRQUFRLEVBQUU7NEJBQzFDLE9BQU8sQ0FBQyxlQUFlLEdBQUcsS0FBSyxDQUFDO3lCQUNqQzs2QkFBTTs0QkFDTCxJQUFJLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxHQUFHLEVBQUUsV0FBVyxDQUFDLENBQUM7eUJBQ3hDO3dCQUNELHFCQUFNLGNBQWMsQ0FBQyxJQUFJLENBQUMsYUFBYSxFQUFFLElBQUksQ0FBQyxhQUFhLEVBQUU7Z0NBQzNELEtBQUssRUFBRTtvQ0FDTCxTQUFTLEVBQUUsT0FBTztpQ0FDbkI7NkJBQ0YsQ0FBQyxFQUFBOzt3QkFKRixTQUlFLENBQUM7Ozs7O0tBQ0o7SUFDSCxnQ0FBQztBQUFELENBQUMsQUFyS0QsSUFxS0MifQ==
|
@@ -1,992 +0,0 @@
|
|
1
|
-
import { Org } from '../../types/graphql.v2';
|
2
|
-
import { GraphqlClient } from '../common/GraphqlClient';
|
3
|
-
import { HttpClient } from '../common/HttpClient';
|
4
|
-
import { Lang } from '../../types';
|
5
|
-
/**
|
6
|
-
* 初始化 Authing SDK 的参数,secret 和 accessToken 必须传其中一个。
|
7
|
-
*/
|
8
|
-
export interface ManagementClientOptions {
|
9
|
-
/** 用户池 ID **/
|
10
|
-
userPoolId?: string;
|
11
|
-
/** 应用 ID */
|
12
|
-
appId?: string;
|
13
|
-
/** 用户池/应用密钥 **/
|
14
|
-
secret?: string;
|
15
|
-
/** 用户池 accessToken,如果传入,请注意 token 过期状态,你需要自己维护此 Token 的状态,SDK 不会自动更新 **/
|
16
|
-
accessToken?: string;
|
17
|
-
/** 请求超时时间 **/
|
18
|
-
timeout?: number;
|
19
|
-
/** 错误回调函数, 默认为 (err: Error) => { throw err } 直接抛出报错 **/
|
20
|
-
onError?: (code: number, message: string, data?: any) => void;
|
21
|
-
/** Authing 服务器地址 */
|
22
|
-
host?: string;
|
23
|
-
/** 请求来源 */
|
24
|
-
requestFrom?: string;
|
25
|
-
/** 加密函数 */
|
26
|
-
encryptFunction?: (plainText: string, publicKey: string) => Promise<string>;
|
27
|
-
/** 密码传输加密公钥 */
|
28
|
-
publicKey?: string;
|
29
|
-
httpClient?: typeof HttpClient;
|
30
|
-
graphqlClient?: typeof GraphqlClient;
|
31
|
-
/**
|
32
|
-
* 语言
|
33
|
-
*/
|
34
|
-
lang?: Lang;
|
35
|
-
/**
|
36
|
-
* 请求头 key,适用于去 Authing 品牌化场景
|
37
|
-
*/
|
38
|
-
headers?: {
|
39
|
-
'userpool-id': string;
|
40
|
-
'app-id': string;
|
41
|
-
'sdk-version': string;
|
42
|
-
'request-from': string;
|
43
|
-
lang: string;
|
44
|
-
};
|
45
|
-
}
|
46
|
-
/**
|
47
|
-
* Decode 过后的用户池 accessToken
|
48
|
-
*/
|
49
|
-
export interface DecodedAccessToken {
|
50
|
-
/** 用户 ID */
|
51
|
-
sub: string;
|
52
|
-
/** 签发时间 **/
|
53
|
-
iat: number;
|
54
|
-
/** 过期时间 **/
|
55
|
-
exp: number;
|
56
|
-
data?: {
|
57
|
-
/** 用户池管理员邮箱 **/
|
58
|
-
email: string;
|
59
|
-
/** 用户池管理员用户 ID **/
|
60
|
-
id: string;
|
61
|
-
};
|
62
|
-
}
|
63
|
-
/**
|
64
|
-
*
|
65
|
-
* Authing 分组
|
66
|
-
* @export
|
67
|
-
* @interface AuthingGroup
|
68
|
-
*/
|
69
|
-
export interface AuthingGroup {
|
70
|
-
_id: string;
|
71
|
-
name: string;
|
72
|
-
description?: string;
|
73
|
-
createdAt: string;
|
74
|
-
updatedAt: string;
|
75
|
-
}
|
76
|
-
export interface OIDCProviderCustomStylesInput {
|
77
|
-
forceLogin?: boolean;
|
78
|
-
hideQRCode?: boolean;
|
79
|
-
hideUP?: boolean;
|
80
|
-
hideUsername?: boolean;
|
81
|
-
hideRegister?: boolean;
|
82
|
-
hidePhone?: boolean;
|
83
|
-
hideSocial?: boolean;
|
84
|
-
hideClose?: boolean;
|
85
|
-
placeholder?: OIDCProviderCustomStylesPlaceholderInput;
|
86
|
-
qrcodeScanning?: OIDCProviderCustomStylesQrcodeScanningInput;
|
87
|
-
}
|
88
|
-
export interface OIDCProviderCustomStylesPlaceholderInput {
|
89
|
-
username?: string;
|
90
|
-
email?: string;
|
91
|
-
password?: string;
|
92
|
-
confirmPassword?: string;
|
93
|
-
verfiyCode?: string;
|
94
|
-
newPassword?: string;
|
95
|
-
phone?: string;
|
96
|
-
phoneCode?: string;
|
97
|
-
}
|
98
|
-
export interface OIDCProviderCustomStylesQrcodeScanningInput {
|
99
|
-
redirect?: boolean;
|
100
|
-
interval?: number;
|
101
|
-
tips?: string;
|
102
|
-
}
|
103
|
-
export interface CreateOIDCProviderInput {
|
104
|
-
name: string;
|
105
|
-
domain: string;
|
106
|
-
redirect_uris: [string];
|
107
|
-
grant_types?: [string];
|
108
|
-
response_types?: [string];
|
109
|
-
clientId?: string;
|
110
|
-
token_endpoint_auth_method?: string;
|
111
|
-
image?: string;
|
112
|
-
isDefault: boolean;
|
113
|
-
id_token_signed_response_alg?: string;
|
114
|
-
id_token_encrypted_response_alg?: string;
|
115
|
-
id_token_encrypted_response_enc?: string;
|
116
|
-
userinfo_signed_response_alg?: string;
|
117
|
-
userinfo_encrypted_response_alg?: string;
|
118
|
-
userinfo_encrypted_response_enc?: string;
|
119
|
-
request_object_signing_alg?: string;
|
120
|
-
request_object_encryption_alg?: string;
|
121
|
-
request_object_encryption_enc?: string;
|
122
|
-
jwks_uri?: string;
|
123
|
-
_jwks_uri?: string;
|
124
|
-
jwks?: string;
|
125
|
-
_jwks?: string;
|
126
|
-
custom_jwks?: string;
|
127
|
-
description?: string;
|
128
|
-
homepageURL?: string;
|
129
|
-
authorization_code_expire?: string;
|
130
|
-
id_token_expire?: string;
|
131
|
-
access_token_expire?: string;
|
132
|
-
cas_expire?: string;
|
133
|
-
customStyles?: OIDCProviderCustomStylesInput;
|
134
|
-
}
|
135
|
-
export interface ExtendedOrg extends Org {
|
136
|
-
tree: any;
|
137
|
-
}
|
138
|
-
/**
|
139
|
-
* 用户支持的操作日志类型枚举
|
140
|
-
*/
|
141
|
-
export declare enum SupportedUserActionEnum {
|
142
|
-
/**
|
143
|
-
* 登录
|
144
|
-
*/
|
145
|
-
LOGIN = "login",
|
146
|
-
/**
|
147
|
-
* 注册
|
148
|
-
*/
|
149
|
-
REGISTER = "register",
|
150
|
-
/**
|
151
|
-
* 删除账户
|
152
|
-
*/
|
153
|
-
DELETE_ACCOUNT = "deleteAccount",
|
154
|
-
/**
|
155
|
-
* 修改账号信息
|
156
|
-
*/
|
157
|
-
UPDATE_USER_INFO = "updateUserinfo",
|
158
|
-
/**
|
159
|
-
* 刷新 token
|
160
|
-
*/
|
161
|
-
REFRESH_TOKEN = "refreshToken",
|
162
|
-
/**
|
163
|
-
* 修改邮箱
|
164
|
-
*/
|
165
|
-
UPDATE_EMAIL = "updateEmail",
|
166
|
-
/**
|
167
|
-
* 修改手机号
|
168
|
-
*/
|
169
|
-
UPDATE_PHONE = "updatePhone",
|
170
|
-
/**
|
171
|
-
* 修改密码
|
172
|
-
*/
|
173
|
-
UPDATE_PASSWORD = "updatePassword",
|
174
|
-
/**
|
175
|
-
* 验证 MFA
|
176
|
-
*/
|
177
|
-
VERIFY_MFA = "verifyMfa"
|
178
|
-
}
|
179
|
-
/**
|
180
|
-
* 管理员支持的操作日志类型枚举
|
181
|
-
*/
|
182
|
-
export declare enum SupportedAdminActionEnum {
|
183
|
-
/**
|
184
|
-
* 删除用户
|
185
|
-
*/
|
186
|
-
DELETE_USER = "deleteUser",
|
187
|
-
/**
|
188
|
-
* 批量删除用户
|
189
|
-
*/
|
190
|
-
DELETE_USERS = "deleteUsers",
|
191
|
-
/**
|
192
|
-
* 创建用户
|
193
|
-
*/
|
194
|
-
CREATE_USER = "createUser",
|
195
|
-
/**
|
196
|
-
* 刷新 Token
|
197
|
-
*/
|
198
|
-
REFRESH_TOKEN = "refreshToken",
|
199
|
-
/**
|
200
|
-
* 导入用户
|
201
|
-
*/
|
202
|
-
IMPORT_USER = "importUser",
|
203
|
-
/**
|
204
|
-
* 导出用户
|
205
|
-
*/
|
206
|
-
EXPORT_USER = "exportUser",
|
207
|
-
/**
|
208
|
-
* 刷新密码
|
209
|
-
*/
|
210
|
-
REFRESH_SECRET = "refreshSecret",
|
211
|
-
/**
|
212
|
-
* 删除用户池
|
213
|
-
*/
|
214
|
-
DELETE_USERPOOL = "deleteUserpool",
|
215
|
-
/**
|
216
|
-
* 创建用户池
|
217
|
-
*/
|
218
|
-
CREATE_USERPOOL = "createUserpool",
|
219
|
-
/**
|
220
|
-
* 修改用户池配置
|
221
|
-
*/
|
222
|
-
USERPOOL_UPDATE_CONFIG = "userpool:UpdateConfig",
|
223
|
-
/**
|
224
|
-
* 刷新用户池密钥
|
225
|
-
*/
|
226
|
-
REFRESH_USERPOOL_SECRET = "refreshUserpoolSecret"
|
227
|
-
}
|
228
|
-
/**
|
229
|
-
* 用户日志信息
|
230
|
-
*/
|
231
|
-
export interface UserLogsInfo {
|
232
|
-
/**
|
233
|
-
* 用户池 ID
|
234
|
-
*/
|
235
|
-
userpoolId: string;
|
236
|
-
/**
|
237
|
-
*用户 ID
|
238
|
-
*/
|
239
|
-
userId: string;
|
240
|
-
/**
|
241
|
-
* 用户名
|
242
|
-
*/
|
243
|
-
username: string;
|
244
|
-
/**
|
245
|
-
* 城市名
|
246
|
-
*/
|
247
|
-
cityName: string;
|
248
|
-
/**
|
249
|
-
* 区域名
|
250
|
-
*/
|
251
|
-
regionName: string;
|
252
|
-
/**
|
253
|
-
* 客户端 IP
|
254
|
-
*/
|
255
|
-
clientIp: string;
|
256
|
-
/**
|
257
|
-
* 操作类型描述
|
258
|
-
*/
|
259
|
-
operationDesc: string;
|
260
|
-
/**
|
261
|
-
* 操作类型
|
262
|
-
*/
|
263
|
-
operationName: string;
|
264
|
-
/**
|
265
|
-
* 时间戳
|
266
|
-
*/
|
267
|
-
timestamp: string;
|
268
|
-
/**
|
269
|
-
* 应用 ID
|
270
|
-
*/
|
271
|
-
appId: string;
|
272
|
-
/**
|
273
|
-
* 应用名
|
274
|
-
*/
|
275
|
-
appName: string;
|
276
|
-
}
|
277
|
-
/**
|
278
|
-
* 管理员操作日志信息
|
279
|
-
*/
|
280
|
-
export interface AdminLogsInfo {
|
281
|
-
/**
|
282
|
-
* 用户池 ID
|
283
|
-
*/
|
284
|
-
userpoolId: string;
|
285
|
-
/**
|
286
|
-
* 操作者类型
|
287
|
-
*/
|
288
|
-
operatorType: string;
|
289
|
-
/**
|
290
|
-
* 操作者 ID
|
291
|
-
*/
|
292
|
-
operatorId: string;
|
293
|
-
/**
|
294
|
-
* 操作者名称
|
295
|
-
*/
|
296
|
-
operatorName: string;
|
297
|
-
/**
|
298
|
-
* 操作类型
|
299
|
-
*/
|
300
|
-
operationName: string;
|
301
|
-
/**
|
302
|
-
* 城市名
|
303
|
-
*/
|
304
|
-
cityName: string;
|
305
|
-
/**
|
306
|
-
* 区域名
|
307
|
-
*/
|
308
|
-
regionName: string;
|
309
|
-
/**
|
310
|
-
* 客户端 IP
|
311
|
-
*/
|
312
|
-
clientIp: string;
|
313
|
-
/**
|
314
|
-
* 资源类型
|
315
|
-
*/
|
316
|
-
resourceType: string;
|
317
|
-
/**
|
318
|
-
* 资源类型名称
|
319
|
-
*/
|
320
|
-
resourceDesc: string;
|
321
|
-
resource_arn: string;
|
322
|
-
/**
|
323
|
-
* 时间戳
|
324
|
-
*/
|
325
|
-
timestamp: string;
|
326
|
-
}
|
327
|
-
export declare type UserMfaType = 'OTP' | 'FACE';
|
328
|
-
export interface Application {
|
329
|
-
qrcodeScanning: {
|
330
|
-
redirect: boolean;
|
331
|
-
interval: number;
|
332
|
-
};
|
333
|
-
id: string;
|
334
|
-
userPoolId: string;
|
335
|
-
protocol: string;
|
336
|
-
name: string;
|
337
|
-
secret: string;
|
338
|
-
identifier: string;
|
339
|
-
jwks: {
|
340
|
-
keys: {
|
341
|
-
[key: string]: string;
|
342
|
-
}[];
|
343
|
-
};
|
344
|
-
redirectUris: string[];
|
345
|
-
css: string;
|
346
|
-
oidcConfig: {
|
347
|
-
id: string;
|
348
|
-
client_secret: string;
|
349
|
-
redirect_uris: string[];
|
350
|
-
grants: string[];
|
351
|
-
access_token_lifetime: number;
|
352
|
-
refresh_token_lifetime: number;
|
353
|
-
introspection_endpoint_auth_method: string;
|
354
|
-
revocation_endpoint_auth_method: string;
|
355
|
-
};
|
356
|
-
oauthConfig: {
|
357
|
-
grant_types: string[];
|
358
|
-
response_types: string[];
|
359
|
-
id_token_signed_response_alg: string;
|
360
|
-
jwks_uri?: any;
|
361
|
-
token_endpoint_auth_method: string;
|
362
|
-
request_object_encryption_enc?: any;
|
363
|
-
request_object_encryption_alg?: any;
|
364
|
-
request_object_signing_alg?: any;
|
365
|
-
userinfo_encrypted_response_enc?: any;
|
366
|
-
userinfo_encrypted_response_alg?: any;
|
367
|
-
userinfo_signed_response_alg?: any;
|
368
|
-
id_token_encrypted_response_enc?: any;
|
369
|
-
id_token_encrypted_response_alg?: any;
|
370
|
-
jwks?: any;
|
371
|
-
authorization_code_expire: number;
|
372
|
-
id_token_expire: number;
|
373
|
-
access_token_expire: number;
|
374
|
-
refresh_token_expire: number;
|
375
|
-
cas_expire: number;
|
376
|
-
skip_consent: boolean;
|
377
|
-
};
|
378
|
-
createdAt: string;
|
379
|
-
updatedAt: string;
|
380
|
-
description?: any;
|
381
|
-
ssoPageCustomizationSettings?: any;
|
382
|
-
logo: string;
|
383
|
-
logoutRedirectUris?: any;
|
384
|
-
loginTabs?: any;
|
385
|
-
defaultLoginTab: string;
|
386
|
-
registerTabs?: any;
|
387
|
-
defaultRegisterTab: string;
|
388
|
-
ldapConnections?: any;
|
389
|
-
adConnections?: any;
|
390
|
-
disabledSocialConnections?: any;
|
391
|
-
disabledOidcConnections?: any;
|
392
|
-
disabledSamlConnections?: any;
|
393
|
-
disabledOauth2Connections?: any;
|
394
|
-
disabledCasConnections?: any;
|
395
|
-
disabledAzureAdConnections?: any;
|
396
|
-
extendsFields?: any;
|
397
|
-
ext?: any;
|
398
|
-
samlConfig?: any;
|
399
|
-
casConfig?: any;
|
400
|
-
skipMfa: boolean;
|
401
|
-
permissionStrategy: {
|
402
|
-
allowPolicyId?: string;
|
403
|
-
denyPolicyId?: string;
|
404
|
-
enabled: boolean;
|
405
|
-
defaultStrategy: string;
|
406
|
-
};
|
407
|
-
isOfficial: boolean;
|
408
|
-
isDeleted: boolean;
|
409
|
-
isDefault: boolean;
|
410
|
-
oidcProviderEnabled: boolean;
|
411
|
-
oauthProviderEnabled: boolean;
|
412
|
-
samlProviderEnabled: boolean;
|
413
|
-
casProviderEnabled: boolean;
|
414
|
-
registerDisabled: boolean;
|
415
|
-
extendsFieldsEnabled: boolean;
|
416
|
-
showAuthorizationPage: boolean;
|
417
|
-
enableSubAccount: boolean;
|
418
|
-
loginRequireEmailVerified: boolean;
|
419
|
-
agreementEnabled: boolean;
|
420
|
-
}
|
421
|
-
export interface ApplicationList {
|
422
|
-
totalCount: number;
|
423
|
-
list: Application[];
|
424
|
-
}
|
425
|
-
export interface ProgrammaticAccessAccount {
|
426
|
-
id: string;
|
427
|
-
createdAt: string;
|
428
|
-
updatedAt: string;
|
429
|
-
appId: string;
|
430
|
-
secret: string;
|
431
|
-
remarks: string;
|
432
|
-
tokenLifetime: number;
|
433
|
-
enabled: boolean;
|
434
|
-
userId: string;
|
435
|
-
}
|
436
|
-
export interface ProgrammaticAccessAccountList {
|
437
|
-
totalCount: number;
|
438
|
-
list: ProgrammaticAccessAccount[];
|
439
|
-
}
|
440
|
-
export interface AccessControl {
|
441
|
-
assignedAt: string;
|
442
|
-
inheritByChildren?: any;
|
443
|
-
enabled: boolean;
|
444
|
-
policyId: string;
|
445
|
-
code: string;
|
446
|
-
policy: {
|
447
|
-
id: string;
|
448
|
-
createdAt: string;
|
449
|
-
updatedAt: string;
|
450
|
-
userPoolId: string;
|
451
|
-
isDefault: boolean;
|
452
|
-
isAuto: boolean;
|
453
|
-
hidden: boolean;
|
454
|
-
code: string;
|
455
|
-
description: string;
|
456
|
-
statements: {
|
457
|
-
resource: string;
|
458
|
-
actions: string[];
|
459
|
-
effect: string;
|
460
|
-
condition: any[];
|
461
|
-
resourceType?: any;
|
462
|
-
}[];
|
463
|
-
namespaceId: number;
|
464
|
-
};
|
465
|
-
targetType: string;
|
466
|
-
targetIdentifier: string;
|
467
|
-
target: {
|
468
|
-
id: string;
|
469
|
-
createdAt: string;
|
470
|
-
updatedAt: string;
|
471
|
-
userPoolId: string;
|
472
|
-
orgId: string;
|
473
|
-
name: string;
|
474
|
-
nameI18n?: any;
|
475
|
-
description?: any;
|
476
|
-
descriptionI18n?: any;
|
477
|
-
order?: any;
|
478
|
-
code?: any;
|
479
|
-
__id?: any;
|
480
|
-
__parentid?: any;
|
481
|
-
__groupid?: any;
|
482
|
-
};
|
483
|
-
namespace: string;
|
484
|
-
}
|
485
|
-
export interface AccessControlList {
|
486
|
-
totalCount: number;
|
487
|
-
list: AccessControl[];
|
488
|
-
}
|
489
|
-
export interface ActiveUser {
|
490
|
-
thirdPartyIdentity: {
|
491
|
-
provider: string;
|
492
|
-
refreshToken: string;
|
493
|
-
accessToken: string;
|
494
|
-
scope: string;
|
495
|
-
expiresIn: string;
|
496
|
-
updatedAt: string;
|
497
|
-
}[];
|
498
|
-
id: string;
|
499
|
-
createdAt: string;
|
500
|
-
updatedAt: string;
|
501
|
-
userPoolId: string;
|
502
|
-
isRoot: boolean;
|
503
|
-
status: string;
|
504
|
-
oauth?: string;
|
505
|
-
email?: string;
|
506
|
-
phone?: string;
|
507
|
-
username: string;
|
508
|
-
unionid?: string;
|
509
|
-
openid?: string;
|
510
|
-
nickname?: string;
|
511
|
-
company?: string;
|
512
|
-
photo: string;
|
513
|
-
browser?: string;
|
514
|
-
device?: string;
|
515
|
-
password: string;
|
516
|
-
salt?: string;
|
517
|
-
token: string;
|
518
|
-
tokenExpiredAt: string;
|
519
|
-
loginsCount: number;
|
520
|
-
lastIp: string;
|
521
|
-
name?: string;
|
522
|
-
givenName?: string;
|
523
|
-
familyName?: string;
|
524
|
-
middleName?: string;
|
525
|
-
profile?: string;
|
526
|
-
preferredUsername?: string;
|
527
|
-
website?: string;
|
528
|
-
gender: string;
|
529
|
-
birthdate?: string;
|
530
|
-
zoneinfo?: string;
|
531
|
-
locale?: string;
|
532
|
-
address?: string;
|
533
|
-
formatted?: boolean;
|
534
|
-
streetAddress?: string;
|
535
|
-
locality?: string;
|
536
|
-
region?: string;
|
537
|
-
postalCode?: string;
|
538
|
-
city?: string;
|
539
|
-
province?: string;
|
540
|
-
country?: string;
|
541
|
-
registerSource: string[];
|
542
|
-
secretInfo?: string;
|
543
|
-
emailVerified: boolean;
|
544
|
-
phoneVerified: boolean;
|
545
|
-
lastLogin: string;
|
546
|
-
blocked: boolean;
|
547
|
-
isDeleted: boolean;
|
548
|
-
sendSmsCount: number;
|
549
|
-
sendSmsLimitCount: number;
|
550
|
-
signedUp: string;
|
551
|
-
externalId?: string;
|
552
|
-
mainDepartmentId?: string;
|
553
|
-
mainDepartmentCode?: string;
|
554
|
-
lastMfaTime?: string;
|
555
|
-
passwordSecurityLevel: number;
|
556
|
-
}
|
557
|
-
export interface ActiveUsers {
|
558
|
-
totalCount: number;
|
559
|
-
list: ActiveUser[];
|
560
|
-
}
|
561
|
-
export interface UserAction {
|
562
|
-
operator_arn: string;
|
563
|
-
'@timestamp': string;
|
564
|
-
user_agent: string;
|
565
|
-
geoip: {
|
566
|
-
continent_code: string;
|
567
|
-
country_code2: string;
|
568
|
-
region_name: string;
|
569
|
-
city_name: string;
|
570
|
-
ip: string;
|
571
|
-
latitude: number;
|
572
|
-
region_code: string;
|
573
|
-
timezone: string;
|
574
|
-
country_code3: string;
|
575
|
-
longitude: number;
|
576
|
-
country_name: string;
|
577
|
-
location: {
|
578
|
-
lon: number;
|
579
|
-
lat: number;
|
580
|
-
};
|
581
|
-
};
|
582
|
-
message: string;
|
583
|
-
ua: {
|
584
|
-
build: string;
|
585
|
-
os: string;
|
586
|
-
device: string;
|
587
|
-
patch: string;
|
588
|
-
os_minor: string;
|
589
|
-
os_major: string;
|
590
|
-
os_name: string;
|
591
|
-
minor: string;
|
592
|
-
name: string;
|
593
|
-
major: string;
|
594
|
-
};
|
595
|
-
userpool_id: string;
|
596
|
-
host: string;
|
597
|
-
timestamp: string;
|
598
|
-
'@version': string;
|
599
|
-
app_id: string;
|
600
|
-
operation_name: string;
|
601
|
-
clientip: string;
|
602
|
-
extra_data: string;
|
603
|
-
request_id: string;
|
604
|
-
path: string;
|
605
|
-
user: {
|
606
|
-
userPoolId: string;
|
607
|
-
displayName: string;
|
608
|
-
id: string;
|
609
|
-
photo: string;
|
610
|
-
};
|
611
|
-
app: {
|
612
|
-
qrcodeScanning: {
|
613
|
-
[key: string]: any;
|
614
|
-
};
|
615
|
-
id: string;
|
616
|
-
name: string;
|
617
|
-
description?: any;
|
618
|
-
identifier: string;
|
619
|
-
logo: string;
|
620
|
-
loginTabs: string[];
|
621
|
-
registerTabs: string[];
|
622
|
-
adConnections: any[];
|
623
|
-
disabledOidcConnections: any[];
|
624
|
-
disabledSamlConnections: any[];
|
625
|
-
extendsFields: any[];
|
626
|
-
disabledAzureAdConnections: any[];
|
627
|
-
disabledOauth2Connections: any[];
|
628
|
-
disabledCasConnections: any[];
|
629
|
-
};
|
630
|
-
operation_desc: string;
|
631
|
-
}
|
632
|
-
export interface UserActions {
|
633
|
-
totalCount: number;
|
634
|
-
list: UserAction[];
|
635
|
-
}
|
636
|
-
export interface Resource {
|
637
|
-
id: string;
|
638
|
-
createdAt: string;
|
639
|
-
updatedAt: string;
|
640
|
-
userPoolId: string;
|
641
|
-
code: string;
|
642
|
-
actions: {
|
643
|
-
name: string;
|
644
|
-
description: string;
|
645
|
-
}[];
|
646
|
-
type: string;
|
647
|
-
description: string;
|
648
|
-
namespaceId: number;
|
649
|
-
apiIdentifier?: string;
|
650
|
-
namespace: string;
|
651
|
-
}
|
652
|
-
export interface Resources {
|
653
|
-
totalCount: number;
|
654
|
-
list: Resource[];
|
655
|
-
}
|
656
|
-
export interface Namespace {
|
657
|
-
id: number;
|
658
|
-
name: string;
|
659
|
-
code: string;
|
660
|
-
description: string;
|
661
|
-
status: number;
|
662
|
-
appId: string;
|
663
|
-
appName: string;
|
664
|
-
}
|
665
|
-
export interface Namespaces {
|
666
|
-
total: number;
|
667
|
-
list: Namespace[];
|
668
|
-
}
|
669
|
-
export declare type BatchFetchUserTypes = 'id' | 'username' | 'phone' | 'email' | 'externalId';
|
670
|
-
export interface IResourceQueryFilter {
|
671
|
-
page?: number;
|
672
|
-
limit?: number;
|
673
|
-
type?: 'DATA' | 'API' | 'MENU' | 'UI' | 'BUTTON';
|
674
|
-
/**
|
675
|
-
* @deprecated 请使用 namespace
|
676
|
-
*/
|
677
|
-
namespaceCode?: string;
|
678
|
-
namespace?: string;
|
679
|
-
}
|
680
|
-
export interface IResourceDto {
|
681
|
-
code: string;
|
682
|
-
type: 'DATA' | 'API' | 'MENU' | 'UI' | 'BUTTON';
|
683
|
-
description?: string;
|
684
|
-
actions: Array<{
|
685
|
-
name: string;
|
686
|
-
description: string;
|
687
|
-
}>;
|
688
|
-
namespace: string;
|
689
|
-
}
|
690
|
-
export interface IResourceUpdateDto {
|
691
|
-
type?: 'DATA' | 'API' | 'MENU' | 'UI' | 'BUTTON';
|
692
|
-
description?: string;
|
693
|
-
actions?: Array<{
|
694
|
-
name: string;
|
695
|
-
description: string;
|
696
|
-
}>;
|
697
|
-
namespace: string;
|
698
|
-
}
|
699
|
-
export interface IResourceResponse {
|
700
|
-
userPoolId: string;
|
701
|
-
code: string;
|
702
|
-
actions: Array<{
|
703
|
-
name: string;
|
704
|
-
description: string;
|
705
|
-
}>;
|
706
|
-
type: string;
|
707
|
-
description: string;
|
708
|
-
namespaceId: number;
|
709
|
-
createdAt: Date;
|
710
|
-
updatedAt: Date;
|
711
|
-
id: string;
|
712
|
-
apiIdentifier?: string;
|
713
|
-
}
|
714
|
-
export interface IAppAccessPolicyQueryFilter {
|
715
|
-
page?: number;
|
716
|
-
limit?: number;
|
717
|
-
appId: string;
|
718
|
-
}
|
719
|
-
export interface IAppAccessPolicy {
|
720
|
-
appId: string;
|
721
|
-
targetType: 'USER' | 'ROLE' | 'GROUP' | 'ORG';
|
722
|
-
targetIdentifiers: string[];
|
723
|
-
namespace?: string;
|
724
|
-
inheritByChildren?: boolean;
|
725
|
-
}
|
726
|
-
export interface Statement {
|
727
|
-
resource: string;
|
728
|
-
actions: string[];
|
729
|
-
effect: string;
|
730
|
-
condition: any[];
|
731
|
-
resourceType?: 'DATA' | 'API' | 'MENU' | 'UI' | 'BUTTON';
|
732
|
-
}
|
733
|
-
export interface IPolicy {
|
734
|
-
id: string;
|
735
|
-
createdAt: Date;
|
736
|
-
updatedAt: Date;
|
737
|
-
userPoolId: string;
|
738
|
-
isDefault: boolean;
|
739
|
-
isAuto: boolean;
|
740
|
-
hidden: boolean;
|
741
|
-
code: string;
|
742
|
-
description: string;
|
743
|
-
statements: Statement[];
|
744
|
-
namespaceId: number;
|
745
|
-
}
|
746
|
-
export interface IUser {
|
747
|
-
id: string;
|
748
|
-
createdAt: Date;
|
749
|
-
updatedAt: Date;
|
750
|
-
userPoolId: string;
|
751
|
-
isRoot: boolean;
|
752
|
-
status: string;
|
753
|
-
oauth?: any;
|
754
|
-
email?: any;
|
755
|
-
phone?: any;
|
756
|
-
username: string;
|
757
|
-
unionid?: any;
|
758
|
-
openid?: any;
|
759
|
-
nickname?: any;
|
760
|
-
company?: any;
|
761
|
-
photo: string;
|
762
|
-
browser?: any;
|
763
|
-
device?: any;
|
764
|
-
password: string;
|
765
|
-
salt: string;
|
766
|
-
token?: any;
|
767
|
-
tokenExpiredAt?: any;
|
768
|
-
loginsCount: number;
|
769
|
-
lastIp?: any;
|
770
|
-
name?: any;
|
771
|
-
givenName?: any;
|
772
|
-
familyName?: any;
|
773
|
-
middleName?: any;
|
774
|
-
profile?: any;
|
775
|
-
preferredUsername?: any;
|
776
|
-
website?: any;
|
777
|
-
gender: string;
|
778
|
-
birthdate?: any;
|
779
|
-
zoneinfo?: any;
|
780
|
-
locale?: any;
|
781
|
-
address?: any;
|
782
|
-
formatted?: any;
|
783
|
-
streetAddress?: any;
|
784
|
-
locality?: any;
|
785
|
-
region?: any;
|
786
|
-
postalCode?: any;
|
787
|
-
city?: any;
|
788
|
-
province?: any;
|
789
|
-
country?: any;
|
790
|
-
registerSource: string[];
|
791
|
-
secretInfo?: any;
|
792
|
-
emailVerified: boolean;
|
793
|
-
phoneVerified: boolean;
|
794
|
-
lastLogin?: any;
|
795
|
-
blocked: boolean;
|
796
|
-
isDeleted: boolean;
|
797
|
-
sendSmsCount: number;
|
798
|
-
sendSmsLimitCount: number;
|
799
|
-
dataVersion?: any;
|
800
|
-
encryptedPassword: string;
|
801
|
-
signedUp: Date;
|
802
|
-
externalId?: any;
|
803
|
-
mainDepartmentId?: any;
|
804
|
-
mainDepartmentCode?: any;
|
805
|
-
lastMfaTime?: any;
|
806
|
-
passwordSecurityLevel: number;
|
807
|
-
source?: any;
|
808
|
-
identities: any[];
|
809
|
-
}
|
810
|
-
export interface IList {
|
811
|
-
assignedAt: Date;
|
812
|
-
inheritByChildren?: boolean;
|
813
|
-
enabled: boolean;
|
814
|
-
policyId: string;
|
815
|
-
code: string;
|
816
|
-
policy: IPolicy;
|
817
|
-
targetType: string;
|
818
|
-
targetIdentifier: string;
|
819
|
-
target: IUser;
|
820
|
-
namespace: string;
|
821
|
-
}
|
822
|
-
export interface IApplicationAccessPolicies {
|
823
|
-
list: IList[];
|
824
|
-
totalCount: number;
|
825
|
-
}
|
826
|
-
/**
|
827
|
-
* 应用公开的配置
|
828
|
-
*/
|
829
|
-
export interface ApplicationPublicDetail {
|
830
|
-
id: string;
|
831
|
-
createdAt: string;
|
832
|
-
updatedAt: string;
|
833
|
-
name: string;
|
834
|
-
logo: string;
|
835
|
-
domain: string;
|
836
|
-
description: string;
|
837
|
-
protocol: string;
|
838
|
-
}
|
839
|
-
export interface ApplicationDetail {
|
840
|
-
id: string;
|
841
|
-
createdAt: string;
|
842
|
-
updatedAt: string;
|
843
|
-
name: string;
|
844
|
-
logo: string;
|
845
|
-
domain: string;
|
846
|
-
description: string;
|
847
|
-
protocol: string;
|
848
|
-
secret: string;
|
849
|
-
jwks: any;
|
850
|
-
ssoPageCustomizationSettings: any;
|
851
|
-
redirectUris: string[];
|
852
|
-
logoutRedirectUris: string[];
|
853
|
-
oidcProviderEnabled: boolean;
|
854
|
-
oauthProviderEnabled: boolean;
|
855
|
-
samlProviderEnabled: boolean;
|
856
|
-
casProviderEnabled: boolean;
|
857
|
-
registerDisabled: boolean;
|
858
|
-
oidcConfig: {
|
859
|
-
[x: string]: any;
|
860
|
-
};
|
861
|
-
samlConfig: {
|
862
|
-
[x: string]: any;
|
863
|
-
};
|
864
|
-
oauthConfig: {
|
865
|
-
[x: string]: any;
|
866
|
-
};
|
867
|
-
casConfig: {
|
868
|
-
[x: string]: any;
|
869
|
-
};
|
870
|
-
showAuthorizationPage: boolean;
|
871
|
-
enableSubAccount: boolean;
|
872
|
-
loginRequireEmailVerified: boolean;
|
873
|
-
agreementEnabled: boolean;
|
874
|
-
}
|
875
|
-
export interface QrcodeScanning {
|
876
|
-
redirect: boolean;
|
877
|
-
interval: number;
|
878
|
-
}
|
879
|
-
export interface Key {
|
880
|
-
e: string;
|
881
|
-
n: string;
|
882
|
-
d: string;
|
883
|
-
p: string;
|
884
|
-
q: string;
|
885
|
-
dp: string;
|
886
|
-
dq: string;
|
887
|
-
qi: string;
|
888
|
-
kty: string;
|
889
|
-
kid: string;
|
890
|
-
alg: string;
|
891
|
-
use: string;
|
892
|
-
}
|
893
|
-
export interface Jwks {
|
894
|
-
keys: Key[];
|
895
|
-
}
|
896
|
-
export interface OidcConfig {
|
897
|
-
grant_types: string[];
|
898
|
-
response_types: string[];
|
899
|
-
id_token_signed_response_alg: string;
|
900
|
-
token_endpoint_auth_method: string;
|
901
|
-
authorization_code_expire: number;
|
902
|
-
id_token_expire: number;
|
903
|
-
access_token_expire: number;
|
904
|
-
refresh_token_expire: number;
|
905
|
-
cas_expire: number;
|
906
|
-
skip_consent: boolean;
|
907
|
-
redirect_uris: string[];
|
908
|
-
post_logout_redirect_uris: any[];
|
909
|
-
client_id: string;
|
910
|
-
introspection_endpoint_auth_method: string;
|
911
|
-
revocation_endpoint_auth_method: string;
|
912
|
-
}
|
913
|
-
export interface OauthConfig {
|
914
|
-
id: string;
|
915
|
-
redirect_uris: string[];
|
916
|
-
grants: string[];
|
917
|
-
access_token_lifetime: number;
|
918
|
-
refresh_token_lifetime: number;
|
919
|
-
introspection_endpoint_auth_method: string;
|
920
|
-
revocation_endpoint_auth_method: string;
|
921
|
-
}
|
922
|
-
export interface PermissionStrategy {
|
923
|
-
enabled: boolean;
|
924
|
-
defaultStrategy: string;
|
925
|
-
allowPolicyId: string;
|
926
|
-
denyPolicyId: string;
|
927
|
-
}
|
928
|
-
export interface IApplication {
|
929
|
-
qrcodeScanning: QrcodeScanning;
|
930
|
-
id: string;
|
931
|
-
createdAt: Date;
|
932
|
-
updatedAt: Date;
|
933
|
-
userPoolId: string;
|
934
|
-
protocol: string;
|
935
|
-
isOfficial: boolean;
|
936
|
-
isDeleted: boolean;
|
937
|
-
isDefault: boolean;
|
938
|
-
name: string;
|
939
|
-
description?: any;
|
940
|
-
identifier: string;
|
941
|
-
jwks: Jwks;
|
942
|
-
ssoPageCustomizationSettings?: any;
|
943
|
-
logo: string;
|
944
|
-
redirectUris: string[];
|
945
|
-
logoutRedirectUris: any[];
|
946
|
-
oidcProviderEnabled: boolean;
|
947
|
-
oauthProviderEnabled: boolean;
|
948
|
-
samlProviderEnabled: boolean;
|
949
|
-
casProviderEnabled: boolean;
|
950
|
-
registerDisabled: boolean;
|
951
|
-
loginTabs: string[];
|
952
|
-
defaultLoginTab: string;
|
953
|
-
registerTabs: string[];
|
954
|
-
defaultRegisterTab: string;
|
955
|
-
ldapConnections?: any;
|
956
|
-
adConnections: any[];
|
957
|
-
disabledSocialConnections?: any;
|
958
|
-
disabledOidcConnections: any[];
|
959
|
-
disabledSamlConnections: any[];
|
960
|
-
disabledOauth2Connections: any[];
|
961
|
-
disabledCasConnections: any[];
|
962
|
-
disabledAzureAdConnections: any[];
|
963
|
-
extendsFieldsEnabled: boolean;
|
964
|
-
extendsFields: any[];
|
965
|
-
ext?: any;
|
966
|
-
css: string;
|
967
|
-
oidcConfig: OidcConfig;
|
968
|
-
samlConfig?: any;
|
969
|
-
oauthConfig: OauthConfig;
|
970
|
-
casConfig?: any;
|
971
|
-
showAuthorizationPage: boolean;
|
972
|
-
enableSubAccount: boolean;
|
973
|
-
loginRequireEmailVerified: boolean;
|
974
|
-
agreementEnabled: boolean;
|
975
|
-
skipMfa: boolean;
|
976
|
-
permissionStrategy: PermissionStrategy;
|
977
|
-
}
|
978
|
-
export interface AgreementInput {
|
979
|
-
title: string;
|
980
|
-
required?: boolean;
|
981
|
-
lang?: Lang;
|
982
|
-
}
|
983
|
-
export interface AgreementDetail extends Required<AgreementInput> {
|
984
|
-
appId: string;
|
985
|
-
order: number;
|
986
|
-
userPoolId: string;
|
987
|
-
id: number;
|
988
|
-
}
|
989
|
-
export interface AgreementList {
|
990
|
-
list: AgreementDetail[];
|
991
|
-
totalCount: number;
|
992
|
-
}
|