authing_ruby 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/authing_ruby.gemspec +30 -0
- data/lib/authing_ruby/GraphQLAPI.rb +151 -0
- data/lib/authing_ruby/authentication/AuthenticationClient.rb +801 -0
- data/lib/authing_ruby/authentication/AuthenticationTokenProvider.rb +42 -0
- data/lib/authing_ruby/authentication/BaseAuthenticationClient.rb +28 -0
- data/lib/authing_ruby/common/GraphqlClient.rb +39 -0
- data/lib/authing_ruby/common/HttpClient.rb +247 -0
- data/lib/authing_ruby/common/PublicKeyManager.rb +42 -0
- data/lib/authing_ruby/graphql/mutations/bindPhone.gql +53 -0
- data/lib/authing_ruby/graphql/mutations/createUser.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/deleteUser.gql +6 -0
- data/lib/authing_ruby/graphql/mutations/deleteUsers.gql +6 -0
- data/lib/authing_ruby/graphql/mutations/loginByEmail.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/loginByPhoneCode.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/loginByPhonePassword.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/loginByUsername.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/refreshAccessToken.gql +7 -0
- data/lib/authing_ruby/graphql/mutations/registerByEmail.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/registerByPhoneCode.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/registerByUsername.gql +54 -0
- data/lib/authing_ruby/graphql/mutations/resetPassword.gql +6 -0
- data/lib/authing_ruby/graphql/mutations/sendEmail.gql +6 -0
- data/lib/authing_ruby/graphql/mutations/updatePassword.gql +53 -0
- data/lib/authing_ruby/graphql/mutations/updateUser.gql +54 -0
- data/lib/authing_ruby/graphql/queries/accessToken.gql +7 -0
- data/lib/authing_ruby/graphql/queries/checkLoginStatus.gql +14 -0
- data/lib/authing_ruby/graphql/queries/checkPasswordStrength.gql +6 -0
- data/lib/authing_ruby/graphql/queries/findUser.gql +64 -0
- data/lib/authing_ruby/graphql/queries/isUserExists.gql +13 -0
- data/lib/authing_ruby/graphql/queries/user.gql +63 -0
- data/lib/authing_ruby/graphql/queries/users.gql +57 -0
- data/lib/authing_ruby/management/AclManagementClient.rb +47 -0
- data/lib/authing_ruby/management/ApplicationsManagementClient.rb +79 -0
- data/lib/authing_ruby/management/ManagementClient.rb +66 -0
- data/lib/authing_ruby/management/ManagementTokenProvider.rb +92 -0
- data/lib/authing_ruby/management/RolesManagementClient.rb +38 -0
- data/lib/authing_ruby/management/UserpoolManagementClient.rb +15 -0
- data/lib/authing_ruby/management/UsersManagementClient.rb +161 -0
- data/lib/authing_ruby/management/WhitelistManagementClient.rb +1 -0
- data/lib/authing_ruby/test/RSA.rb +18 -0
- data/lib/authing_ruby/test/helper.rb +15 -0
- data/lib/authing_ruby/test/js_sdk_test/1.buildAuthorizeUrl.js +43 -0
- data/lib/authing_ruby/test/js_sdk_test/2.buildAuthorizeUrl_PKCE.js +47 -0
- data/lib/authing_ruby/test/js_sdk_test/README.md +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/CONTRIBUTION.md +23 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/LICENSE +21 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/README.md +303 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js +2 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/browser/index.min.js.LICENSE.txt +91 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/index.js +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.d.ts +1078 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationClient.js +2801 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.d.ts +13 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/AuthenticationTokenProvider.js +56 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.d.ts +6 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/BaseAuthenticationClient.js +31 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.d.ts +92 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/EnterpriseAuthenticationClient.js +250 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.d.ts +303 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/MfaAuthenticationClient.js +665 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.d.ts +232 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient.js +619 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.d.ts +100 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/SocialAuthenticationClient.js +179 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.d.ts +331 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/authentication/types.js +69 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.d.ts +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/GraphqlClient.js +125 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.d.ts +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/HttpClient.js +149 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.d.ts +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/common/PublicKeyManager.js +81 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.d.ts +110 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/graphqlapi.js +1812 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.d.ts +236 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AclManagementClient.js +863 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.d.ts +65 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/AgreementManagementClient.js +195 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.d.ts +216 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ApplicationsManagementClient.js +531 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.d.ts +184 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/GroupsManagementClient.js +386 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.d.ts +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/MFAManagementClient.js +126 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.d.ts +74 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementClient.js +190 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.d.ts +39 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/ManagementTokenProvider.js +159 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.d.ts +488 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/OrgManagementClient.js +772 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.d.ts +304 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/PoliciesManagementClient.js +512 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.d.ts +291 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/RolesManagementClient.js +676 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.d.ts +56 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/StatisticsManagementClient.js +198 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.d.ts +146 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UdfManagementClient.js +264 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.d.ts +44 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserActionManagementClient.js +106 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.d.ts +142 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UserpoolManagementClient.js +241 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.d.ts +753 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/UsersManagementClient.js +1114 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.d.ts +114 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/WhitelistManagementClient.js +259 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.d.ts +982 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/management/types.js +96 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.d.ts +30 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/platform/express/index.js +126 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.d.ts +31 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/testing-helper.js +67 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.d.ts +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/utils.js +343 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.d.ts +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/lib/version.js +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.d.ts +5612 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/graphql.v2.js +240 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/main/types/index.js +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/index.js +8 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.d.ts +1078 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationClient.js +2795 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.d.ts +13 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/AuthenticationTokenProvider.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.d.ts +6 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/BaseAuthenticationClient.js +28 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.d.ts +92 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/EnterpriseAuthenticationClient.js +247 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.d.ts +303 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/MfaAuthenticationClient.js +662 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.d.ts +232 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/QrCodeAuthenticationClient.js +616 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.d.ts +100 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/SocialAuthenticationClient.js +176 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.d.ts +331 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/authentication/types.js +66 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.d.ts +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/GraphqlClient.js +119 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.d.ts +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/HttpClient.js +143 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.d.ts +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/common/PublicKeyManager.js +78 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.d.ts +110 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/graphqlapi.js +1809 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.d.ts +236 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AclManagementClient.js +860 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.d.ts +65 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/AgreementManagementClient.js +192 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.d.ts +216 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ApplicationsManagementClient.js +528 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.d.ts +184 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/GroupsManagementClient.js +383 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.d.ts +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/MFAManagementClient.js +123 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.d.ts +74 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementClient.js +184 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.d.ts +39 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/ManagementTokenProvider.js +153 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.d.ts +488 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/OrgManagementClient.js +750 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.d.ts +304 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/PoliciesManagementClient.js +509 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.d.ts +291 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/RolesManagementClient.js +673 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.d.ts +56 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/StatisticsManagementClient.js +195 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.d.ts +146 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UdfManagementClient.js +261 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.d.ts +44 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserActionManagementClient.js +103 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.d.ts +142 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UserpoolManagementClient.js +238 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.d.ts +753 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/UsersManagementClient.js +1111 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.d.ts +114 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/WhitelistManagementClient.js +256 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.d.ts +982 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/management/types.js +93 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.d.ts +30 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/platform/express/index.js +123 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.d.ts +31 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/testing-helper.js +62 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.d.ts +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/utils.js +336 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.d.ts +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/lib/version.js +2 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.d.ts +5612 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/graphql.v2.js +237 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/module/types/index.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/index.js +30 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.d.ts +1078 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationClient.js +2811 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.d.ts +13 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/AuthenticationTokenProvider.js +66 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.d.ts +6 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/BaseAuthenticationClient.js +41 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.d.ts +92 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/EnterpriseAuthenticationClient.js +260 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.d.ts +303 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/MfaAuthenticationClient.js +675 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.d.ts +232 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/QrCodeAuthenticationClient.js +629 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.d.ts +100 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/SocialAuthenticationClient.js +189 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.d.ts +331 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/authentication/types.js +79 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.d.ts +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/GraphqlClient.js +135 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.d.ts +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/HttpClient.js +159 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.d.ts +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/common/PublicKeyManager.js +91 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.d.ts +110 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/graphqlapi.js +1822 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.d.ts +236 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AclManagementClient.js +873 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.d.ts +65 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/AgreementManagementClient.js +205 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.d.ts +216 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ApplicationsManagementClient.js +541 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.d.ts +184 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/GroupsManagementClient.js +396 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.d.ts +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/MFAManagementClient.js +136 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.d.ts +74 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementClient.js +200 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.d.ts +39 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/ManagementTokenProvider.js +169 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.d.ts +488 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/OrgManagementClient.js +782 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.d.ts +304 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/PoliciesManagementClient.js +522 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.d.ts +291 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/RolesManagementClient.js +686 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.d.ts +56 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/StatisticsManagementClient.js +208 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.d.ts +146 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UdfManagementClient.js +274 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.d.ts +44 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserActionManagementClient.js +116 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.d.ts +142 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UserpoolManagementClient.js +251 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.d.ts +753 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/UsersManagementClient.js +1124 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.d.ts +114 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/WhitelistManagementClient.js +269 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.d.ts +982 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/management/types.js +106 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.d.ts +30 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/platform/express/index.js +136 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.d.ts +31 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/testing-helper.js +77 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.d.ts +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/utils.js +353 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.d.ts +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/lib/version.js +15 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.d.ts +5612 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/graphql.v2.js +250 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build/umd/types/index.js +13 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/build-doc.js +520 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/CHANGELOG.md +413 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/LICENSE +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/README.md +709 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/UPGRADE_GUIDE.md +162 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.js +1715 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.map +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.js +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/dist/axios.min.map +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.d.ts +157 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/index.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/README.md +37 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/http.js +279 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/adapters/xhr.js +180 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/axios.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/Cancel.js +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/CancelToken.js +57 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/cancel/isCancel.js +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/Axios.js +94 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/InterceptorManager.js +52 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/README.md +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/buildFullPath.js +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/createError.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/dispatchRequest.js +79 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/enhanceError.js +42 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/mergeConfig.js +73 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/settle.js +25 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/core/transformData.js +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/defaults.js +97 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/README.md +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/bind.js +11 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/buildURL.js +71 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/combineURLs.js +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/cookies.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/helpers/spread.js +27 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/lib/utils.js +344 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/axios/package.json +84 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/LICENSE +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/README.md +155 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/http.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/https.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/index.js +322 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/node_modules/follow-redirects/package.json +60 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/package.json +129 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tests/index.html +21 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.brower.json +45 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/tsconfig.node.json +0 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/authing-js-sdk/webpack.config.js +41 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/CHANGELOG.md +685 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/LICENSE +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/README.md +800 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/UPGRADE_GUIDE.md +162 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.js +1756 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.map +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.js +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/dist/axios.min.map +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.d.ts +161 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/index.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/README.md +37 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/http.js +303 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/adapters/xhr.js +179 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/axios.js +56 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/Cancel.js +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/CancelToken.js +57 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/cancel/isCancel.js +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/Axios.js +95 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/InterceptorManager.js +52 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/README.md +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/buildFullPath.js +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/createError.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/dispatchRequest.js +79 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/enhanceError.js +42 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/mergeConfig.js +87 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/settle.js +25 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/core/transformData.js +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/defaults.js +98 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/README.md +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/bind.js +11 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/buildURL.js +70 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/combineURLs.js +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/cookies.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isAxiosError.js +11 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/helpers/spread.js +27 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/lib/utils.js +351 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/axios/package.json +86 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/CONTRIBUTING.md +28 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/LICENSE +24 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/README.md +249 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/aes.js +234 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/bower.json +35 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/cipher-core.js +890 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/core.js +797 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/crypto-js.js +6059 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/docs/QuickStartGuide.wiki +470 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-base64.js +136 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-hex.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-latin1.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf16.js +149 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/enc-utf8.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/evpkdf.js +134 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-hex.js +66 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/format-openssl.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-md5.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-ripemd160.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha1.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha224.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha256.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha3.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha384.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac-sha512.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/hmac.js +143 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/index.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/lib-typedarrays.js +76 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/md5.js +268 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-cfb.js +80 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr-gladman.js +116 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ctr.js +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ecb.js +40 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/mode-ofb.js +54 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/package.json +38 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-ansix923.js +49 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso10126.js +44 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-iso97971.js +40 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-nopadding.js +30 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-pkcs7.js +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pad-zeropadding.js +47 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/pbkdf2.js +145 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit-legacy.js +190 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rabbit.js +192 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/rc4.js +139 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/ripemd160.js +267 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha1.js +150 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha224.js +80 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha256.js +199 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha3.js +326 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha384.js +83 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/sha512.js +326 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/tripledes.js +779 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/crypto-js/x64-core.js +304 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/CHANGELOG.md +395 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/LICENSE +19 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/Makefile +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/README.md +368 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/karma.conf.js +70 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/node.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/package.json +43 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/browser.js +195 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/debug.js +225 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/index.js +10 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/debug/src/node.js +186 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/LICENSE +18 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/README.md +148 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/debug.js +14 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/http.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/https.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/index.js +535 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/follow-redirects/package.json +59 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/LICENSE.txt +107 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/README.md +192 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.js +249 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js +2 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/bin/jsencrypt.min.js.LICENSE.txt +8 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.d.ts +116 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncrypt.js +186 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.d.ts +142 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/JSEncryptRSAKey.js +315 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.d.ts +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/index.js +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.d.ts +51 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/asn1.js +565 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.d.ts +5 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/base64.js +88 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.d.ts +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/hex.js +64 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.d.ts +9 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/int10.js +87 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.d.ts +9778 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/asn1js/oids.js +1962 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.d.ts +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/base64.js +76 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.d.ts +98 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/jsbn.js +1754 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.d.ts +10 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/prng4.js +46 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.d.ts +3 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rng.js +76 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.d.ts +23 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/rsa.js +373 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.d.ts +7 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsbn/util.js +58 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/asn1-1.0.js +1593 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/lib/jsrsasign/yahoo.js +69 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/lib/version.json +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jsencrypt/package.json +49 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/Gruntfile.js +78 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/LICENSE +21 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/README.md +55 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/bower.json +20 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.js +125 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/build/jwt-decode.min.js +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/jwt-decode.html +2 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/atob.js +38 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/base64_url_decode.js +33 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/lib/index.js +26 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/package.json +37 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/standalone.js +16 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test/tests.js +53 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/test_harness.html +29 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem.yml +46 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/jwt-decode/testem_dev.yml +1 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/index.js +152 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/license.md +21 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/package.json +37 -0
- data/lib/authing_ruby/test/js_sdk_test/node_modules/ms/readme.md +51 -0
- data/lib/authing_ruby/test/js_sdk_test/package-lock.json +177 -0
- data/lib/authing_ruby/test/js_sdk_test/package.json +15 -0
- data/lib/authing_ruby/test/mini_test/TestApplicationsManagementClient.rb +85 -0
- data/lib/authing_ruby/test/mini_test/TestAuthenticationClient.rb +232 -0
- data/lib/authing_ruby/test/mini_test/TestAuthenticationClientProtocal.rb +238 -0
- data/lib/authing_ruby/test/mini_test/TestHttpClient.rb +53 -0
- data/lib/authing_ruby/test/mini_test/TestManagementClient.rb +193 -0
- data/lib/authing_ruby/test/mini_test/TestManagementTokenProvider.rb +49 -0
- data/lib/authing_ruby/test/mini_test/TestNaiveHttpClient.rb +33 -0
- data/lib/authing_ruby/test/mini_test/TestSMSandEmail.rb +101 -0
- data/lib/authing_ruby/test/mini_test/TestUtils.rb +35 -0
- data/lib/authing_ruby/utils/utils.rb +40 -0
- data/lib/authing_ruby/version.rb +6 -0
- data/lib/authing_ruby.rb +14 -0
- metadata +694 -0
@@ -0,0 +1,982 @@
|
|
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
|
+
/**
|
37
|
+
* Decode 过后的用户池 accessToken
|
38
|
+
*/
|
39
|
+
export interface DecodedAccessToken {
|
40
|
+
/** 用户 ID */
|
41
|
+
sub: string;
|
42
|
+
/** 签发时间 **/
|
43
|
+
iat: number;
|
44
|
+
/** 过期时间 **/
|
45
|
+
exp: number;
|
46
|
+
data?: {
|
47
|
+
/** 用户池管理员邮箱 **/
|
48
|
+
email: string;
|
49
|
+
/** 用户池管理员用户 ID **/
|
50
|
+
id: string;
|
51
|
+
};
|
52
|
+
}
|
53
|
+
/**
|
54
|
+
*
|
55
|
+
* Authing 分组
|
56
|
+
* @export
|
57
|
+
* @interface AuthingGroup
|
58
|
+
*/
|
59
|
+
export interface AuthingGroup {
|
60
|
+
_id: string;
|
61
|
+
name: string;
|
62
|
+
description?: string;
|
63
|
+
createdAt: string;
|
64
|
+
updatedAt: string;
|
65
|
+
}
|
66
|
+
export interface OIDCProviderCustomStylesInput {
|
67
|
+
forceLogin?: boolean;
|
68
|
+
hideQRCode?: boolean;
|
69
|
+
hideUP?: boolean;
|
70
|
+
hideUsername?: boolean;
|
71
|
+
hideRegister?: boolean;
|
72
|
+
hidePhone?: boolean;
|
73
|
+
hideSocial?: boolean;
|
74
|
+
hideClose?: boolean;
|
75
|
+
placeholder?: OIDCProviderCustomStylesPlaceholderInput;
|
76
|
+
qrcodeScanning?: OIDCProviderCustomStylesQrcodeScanningInput;
|
77
|
+
}
|
78
|
+
export interface OIDCProviderCustomStylesPlaceholderInput {
|
79
|
+
username?: string;
|
80
|
+
email?: string;
|
81
|
+
password?: string;
|
82
|
+
confirmPassword?: string;
|
83
|
+
verfiyCode?: string;
|
84
|
+
newPassword?: string;
|
85
|
+
phone?: string;
|
86
|
+
phoneCode?: string;
|
87
|
+
}
|
88
|
+
export interface OIDCProviderCustomStylesQrcodeScanningInput {
|
89
|
+
redirect?: boolean;
|
90
|
+
interval?: number;
|
91
|
+
tips?: string;
|
92
|
+
}
|
93
|
+
export interface CreateOIDCProviderInput {
|
94
|
+
name: string;
|
95
|
+
domain: string;
|
96
|
+
redirect_uris: [string];
|
97
|
+
grant_types?: [string];
|
98
|
+
response_types?: [string];
|
99
|
+
clientId?: string;
|
100
|
+
token_endpoint_auth_method?: string;
|
101
|
+
image?: string;
|
102
|
+
isDefault: boolean;
|
103
|
+
id_token_signed_response_alg?: string;
|
104
|
+
id_token_encrypted_response_alg?: string;
|
105
|
+
id_token_encrypted_response_enc?: string;
|
106
|
+
userinfo_signed_response_alg?: string;
|
107
|
+
userinfo_encrypted_response_alg?: string;
|
108
|
+
userinfo_encrypted_response_enc?: string;
|
109
|
+
request_object_signing_alg?: string;
|
110
|
+
request_object_encryption_alg?: string;
|
111
|
+
request_object_encryption_enc?: string;
|
112
|
+
jwks_uri?: string;
|
113
|
+
_jwks_uri?: string;
|
114
|
+
jwks?: string;
|
115
|
+
_jwks?: string;
|
116
|
+
custom_jwks?: string;
|
117
|
+
description?: string;
|
118
|
+
homepageURL?: string;
|
119
|
+
authorization_code_expire?: string;
|
120
|
+
id_token_expire?: string;
|
121
|
+
access_token_expire?: string;
|
122
|
+
cas_expire?: string;
|
123
|
+
customStyles?: OIDCProviderCustomStylesInput;
|
124
|
+
}
|
125
|
+
export interface ExtendedOrg extends Org {
|
126
|
+
tree: any;
|
127
|
+
}
|
128
|
+
/**
|
129
|
+
* 用户支持的操作日志类型枚举
|
130
|
+
*/
|
131
|
+
export declare enum SupportedUserActionEnum {
|
132
|
+
/**
|
133
|
+
* 登录
|
134
|
+
*/
|
135
|
+
LOGIN = "login",
|
136
|
+
/**
|
137
|
+
* 注册
|
138
|
+
*/
|
139
|
+
REGISTER = "register",
|
140
|
+
/**
|
141
|
+
* 删除账户
|
142
|
+
*/
|
143
|
+
DELETE_ACCOUNT = "deleteAccount",
|
144
|
+
/**
|
145
|
+
* 修改账号信息
|
146
|
+
*/
|
147
|
+
UPDATE_USER_INFO = "updateUserinfo",
|
148
|
+
/**
|
149
|
+
* 刷新 token
|
150
|
+
*/
|
151
|
+
REFRESH_TOKEN = "refreshToken",
|
152
|
+
/**
|
153
|
+
* 修改邮箱
|
154
|
+
*/
|
155
|
+
UPDATE_EMAIL = "updateEmail",
|
156
|
+
/**
|
157
|
+
* 修改手机号
|
158
|
+
*/
|
159
|
+
UPDATE_PHONE = "updatePhone",
|
160
|
+
/**
|
161
|
+
* 修改密码
|
162
|
+
*/
|
163
|
+
UPDATE_PASSWORD = "updatePassword",
|
164
|
+
/**
|
165
|
+
* 验证 MFA
|
166
|
+
*/
|
167
|
+
VERIFY_MFA = "verifyMfa"
|
168
|
+
}
|
169
|
+
/**
|
170
|
+
* 管理员支持的操作日志类型枚举
|
171
|
+
*/
|
172
|
+
export declare enum SupportedAdminActionEnum {
|
173
|
+
/**
|
174
|
+
* 删除用户
|
175
|
+
*/
|
176
|
+
DELETE_USER = "deleteUser",
|
177
|
+
/**
|
178
|
+
* 批量删除用户
|
179
|
+
*/
|
180
|
+
DELETE_USERS = "deleteUsers",
|
181
|
+
/**
|
182
|
+
* 创建用户
|
183
|
+
*/
|
184
|
+
CREATE_USER = "createUser",
|
185
|
+
/**
|
186
|
+
* 刷新 Token
|
187
|
+
*/
|
188
|
+
REFRESH_TOKEN = "refreshToken",
|
189
|
+
/**
|
190
|
+
* 导入用户
|
191
|
+
*/
|
192
|
+
IMPORT_USER = "importUser",
|
193
|
+
/**
|
194
|
+
* 导出用户
|
195
|
+
*/
|
196
|
+
EXPORT_USER = "exportUser",
|
197
|
+
/**
|
198
|
+
* 刷新密码
|
199
|
+
*/
|
200
|
+
REFRESH_SECRET = "refreshSecret",
|
201
|
+
/**
|
202
|
+
* 删除用户池
|
203
|
+
*/
|
204
|
+
DELETE_USERPOOL = "deleteUserpool",
|
205
|
+
/**
|
206
|
+
* 创建用户池
|
207
|
+
*/
|
208
|
+
CREATE_USERPOOL = "createUserpool",
|
209
|
+
/**
|
210
|
+
* 修改用户池配置
|
211
|
+
*/
|
212
|
+
USERPOOL_UPDATE_CONFIG = "userpool:UpdateConfig",
|
213
|
+
/**
|
214
|
+
* 刷新用户池密钥
|
215
|
+
*/
|
216
|
+
REFRESH_USERPOOL_SECRET = "refreshUserpoolSecret"
|
217
|
+
}
|
218
|
+
/**
|
219
|
+
* 用户日志信息
|
220
|
+
*/
|
221
|
+
export interface UserLogsInfo {
|
222
|
+
/**
|
223
|
+
* 用户池 ID
|
224
|
+
*/
|
225
|
+
userpoolId: string;
|
226
|
+
/**
|
227
|
+
*用户 ID
|
228
|
+
*/
|
229
|
+
userId: string;
|
230
|
+
/**
|
231
|
+
* 用户名
|
232
|
+
*/
|
233
|
+
username: string;
|
234
|
+
/**
|
235
|
+
* 城市名
|
236
|
+
*/
|
237
|
+
cityName: string;
|
238
|
+
/**
|
239
|
+
* 区域名
|
240
|
+
*/
|
241
|
+
regionName: string;
|
242
|
+
/**
|
243
|
+
* 客户端 IP
|
244
|
+
*/
|
245
|
+
clientIp: string;
|
246
|
+
/**
|
247
|
+
* 操作类型描述
|
248
|
+
*/
|
249
|
+
operationDesc: string;
|
250
|
+
/**
|
251
|
+
* 操作类型
|
252
|
+
*/
|
253
|
+
operationName: string;
|
254
|
+
/**
|
255
|
+
* 时间戳
|
256
|
+
*/
|
257
|
+
timestamp: string;
|
258
|
+
/**
|
259
|
+
* 应用 ID
|
260
|
+
*/
|
261
|
+
appId: string;
|
262
|
+
/**
|
263
|
+
* 应用名
|
264
|
+
*/
|
265
|
+
appName: string;
|
266
|
+
}
|
267
|
+
/**
|
268
|
+
* 管理员操作日志信息
|
269
|
+
*/
|
270
|
+
export interface AdminLogsInfo {
|
271
|
+
/**
|
272
|
+
* 用户池 ID
|
273
|
+
*/
|
274
|
+
userpoolId: string;
|
275
|
+
/**
|
276
|
+
* 操作者类型
|
277
|
+
*/
|
278
|
+
operatorType: string;
|
279
|
+
/**
|
280
|
+
* 操作者 ID
|
281
|
+
*/
|
282
|
+
operatorId: string;
|
283
|
+
/**
|
284
|
+
* 操作者名称
|
285
|
+
*/
|
286
|
+
operatorName: string;
|
287
|
+
/**
|
288
|
+
* 操作类型
|
289
|
+
*/
|
290
|
+
operationName: string;
|
291
|
+
/**
|
292
|
+
* 城市名
|
293
|
+
*/
|
294
|
+
cityName: string;
|
295
|
+
/**
|
296
|
+
* 区域名
|
297
|
+
*/
|
298
|
+
regionName: string;
|
299
|
+
/**
|
300
|
+
* 客户端 IP
|
301
|
+
*/
|
302
|
+
clientIp: string;
|
303
|
+
/**
|
304
|
+
* 资源类型
|
305
|
+
*/
|
306
|
+
resourceType: string;
|
307
|
+
/**
|
308
|
+
* 资源类型名称
|
309
|
+
*/
|
310
|
+
resourceDesc: string;
|
311
|
+
resource_arn: string;
|
312
|
+
/**
|
313
|
+
* 时间戳
|
314
|
+
*/
|
315
|
+
timestamp: string;
|
316
|
+
}
|
317
|
+
export declare type UserMfaType = 'OTP' | 'FACE';
|
318
|
+
export interface Application {
|
319
|
+
qrcodeScanning: {
|
320
|
+
redirect: boolean;
|
321
|
+
interval: number;
|
322
|
+
};
|
323
|
+
id: string;
|
324
|
+
userPoolId: string;
|
325
|
+
protocol: string;
|
326
|
+
name: string;
|
327
|
+
secret: string;
|
328
|
+
identifier: string;
|
329
|
+
jwks: {
|
330
|
+
keys: {
|
331
|
+
[key: string]: string;
|
332
|
+
}[];
|
333
|
+
};
|
334
|
+
redirectUris: string[];
|
335
|
+
css: string;
|
336
|
+
oidcConfig: {
|
337
|
+
id: string;
|
338
|
+
client_secret: string;
|
339
|
+
redirect_uris: string[];
|
340
|
+
grants: string[];
|
341
|
+
access_token_lifetime: number;
|
342
|
+
refresh_token_lifetime: number;
|
343
|
+
introspection_endpoint_auth_method: string;
|
344
|
+
revocation_endpoint_auth_method: string;
|
345
|
+
};
|
346
|
+
oauthConfig: {
|
347
|
+
grant_types: string[];
|
348
|
+
response_types: string[];
|
349
|
+
id_token_signed_response_alg: string;
|
350
|
+
jwks_uri?: any;
|
351
|
+
token_endpoint_auth_method: string;
|
352
|
+
request_object_encryption_enc?: any;
|
353
|
+
request_object_encryption_alg?: any;
|
354
|
+
request_object_signing_alg?: any;
|
355
|
+
userinfo_encrypted_response_enc?: any;
|
356
|
+
userinfo_encrypted_response_alg?: any;
|
357
|
+
userinfo_signed_response_alg?: any;
|
358
|
+
id_token_encrypted_response_enc?: any;
|
359
|
+
id_token_encrypted_response_alg?: any;
|
360
|
+
jwks?: any;
|
361
|
+
authorization_code_expire: number;
|
362
|
+
id_token_expire: number;
|
363
|
+
access_token_expire: number;
|
364
|
+
refresh_token_expire: number;
|
365
|
+
cas_expire: number;
|
366
|
+
skip_consent: boolean;
|
367
|
+
};
|
368
|
+
createdAt: string;
|
369
|
+
updatedAt: string;
|
370
|
+
description?: any;
|
371
|
+
ssoPageCustomizationSettings?: any;
|
372
|
+
logo: string;
|
373
|
+
logoutRedirectUris?: any;
|
374
|
+
loginTabs?: any;
|
375
|
+
defaultLoginTab: string;
|
376
|
+
registerTabs?: any;
|
377
|
+
defaultRegisterTab: string;
|
378
|
+
ldapConnections?: any;
|
379
|
+
adConnections?: any;
|
380
|
+
disabledSocialConnections?: any;
|
381
|
+
disabledOidcConnections?: any;
|
382
|
+
disabledSamlConnections?: any;
|
383
|
+
disabledOauth2Connections?: any;
|
384
|
+
disabledCasConnections?: any;
|
385
|
+
disabledAzureAdConnections?: any;
|
386
|
+
extendsFields?: any;
|
387
|
+
ext?: any;
|
388
|
+
samlConfig?: any;
|
389
|
+
casConfig?: any;
|
390
|
+
skipMfa: boolean;
|
391
|
+
permissionStrategy: {
|
392
|
+
allowPolicyId?: string;
|
393
|
+
denyPolicyId?: string;
|
394
|
+
enabled: boolean;
|
395
|
+
defaultStrategy: string;
|
396
|
+
};
|
397
|
+
isOfficial: boolean;
|
398
|
+
isDeleted: boolean;
|
399
|
+
isDefault: boolean;
|
400
|
+
oidcProviderEnabled: boolean;
|
401
|
+
oauthProviderEnabled: boolean;
|
402
|
+
samlProviderEnabled: boolean;
|
403
|
+
casProviderEnabled: boolean;
|
404
|
+
registerDisabled: boolean;
|
405
|
+
extendsFieldsEnabled: boolean;
|
406
|
+
showAuthorizationPage: boolean;
|
407
|
+
enableSubAccount: boolean;
|
408
|
+
loginRequireEmailVerified: boolean;
|
409
|
+
agreementEnabled: boolean;
|
410
|
+
}
|
411
|
+
export interface ApplicationList {
|
412
|
+
totalCount: number;
|
413
|
+
list: Application[];
|
414
|
+
}
|
415
|
+
export interface ProgrammaticAccessAccount {
|
416
|
+
id: string;
|
417
|
+
createdAt: string;
|
418
|
+
updatedAt: string;
|
419
|
+
appId: string;
|
420
|
+
secret: string;
|
421
|
+
remarks: string;
|
422
|
+
tokenLifetime: number;
|
423
|
+
enabled: boolean;
|
424
|
+
userId: string;
|
425
|
+
}
|
426
|
+
export interface ProgrammaticAccessAccountList {
|
427
|
+
totalCount: number;
|
428
|
+
list: ProgrammaticAccessAccount[];
|
429
|
+
}
|
430
|
+
export interface AccessControl {
|
431
|
+
assignedAt: string;
|
432
|
+
inheritByChildren?: any;
|
433
|
+
enabled: boolean;
|
434
|
+
policyId: string;
|
435
|
+
code: string;
|
436
|
+
policy: {
|
437
|
+
id: string;
|
438
|
+
createdAt: string;
|
439
|
+
updatedAt: string;
|
440
|
+
userPoolId: string;
|
441
|
+
isDefault: boolean;
|
442
|
+
isAuto: boolean;
|
443
|
+
hidden: boolean;
|
444
|
+
code: string;
|
445
|
+
description: string;
|
446
|
+
statements: {
|
447
|
+
resource: string;
|
448
|
+
actions: string[];
|
449
|
+
effect: string;
|
450
|
+
condition: any[];
|
451
|
+
resourceType?: any;
|
452
|
+
}[];
|
453
|
+
namespaceId: number;
|
454
|
+
};
|
455
|
+
targetType: string;
|
456
|
+
targetIdentifier: string;
|
457
|
+
target: {
|
458
|
+
id: string;
|
459
|
+
createdAt: string;
|
460
|
+
updatedAt: string;
|
461
|
+
userPoolId: string;
|
462
|
+
orgId: string;
|
463
|
+
name: string;
|
464
|
+
nameI18n?: any;
|
465
|
+
description?: any;
|
466
|
+
descriptionI18n?: any;
|
467
|
+
order?: any;
|
468
|
+
code?: any;
|
469
|
+
__id?: any;
|
470
|
+
__parentid?: any;
|
471
|
+
__groupid?: any;
|
472
|
+
};
|
473
|
+
namespace: string;
|
474
|
+
}
|
475
|
+
export interface AccessControlList {
|
476
|
+
totalCount: number;
|
477
|
+
list: AccessControl[];
|
478
|
+
}
|
479
|
+
export interface ActiveUser {
|
480
|
+
thirdPartyIdentity: {
|
481
|
+
provider: string;
|
482
|
+
refreshToken: string;
|
483
|
+
accessToken: string;
|
484
|
+
scope: string;
|
485
|
+
expiresIn: string;
|
486
|
+
updatedAt: string;
|
487
|
+
}[];
|
488
|
+
id: string;
|
489
|
+
createdAt: string;
|
490
|
+
updatedAt: string;
|
491
|
+
userPoolId: string;
|
492
|
+
isRoot: boolean;
|
493
|
+
status: string;
|
494
|
+
oauth?: string;
|
495
|
+
email?: string;
|
496
|
+
phone?: string;
|
497
|
+
username: string;
|
498
|
+
unionid?: string;
|
499
|
+
openid?: string;
|
500
|
+
nickname?: string;
|
501
|
+
company?: string;
|
502
|
+
photo: string;
|
503
|
+
browser?: string;
|
504
|
+
device?: string;
|
505
|
+
password: string;
|
506
|
+
salt?: string;
|
507
|
+
token: string;
|
508
|
+
tokenExpiredAt: string;
|
509
|
+
loginsCount: number;
|
510
|
+
lastIp: string;
|
511
|
+
name?: string;
|
512
|
+
givenName?: string;
|
513
|
+
familyName?: string;
|
514
|
+
middleName?: string;
|
515
|
+
profile?: string;
|
516
|
+
preferredUsername?: string;
|
517
|
+
website?: string;
|
518
|
+
gender: string;
|
519
|
+
birthdate?: string;
|
520
|
+
zoneinfo?: string;
|
521
|
+
locale?: string;
|
522
|
+
address?: string;
|
523
|
+
formatted?: boolean;
|
524
|
+
streetAddress?: string;
|
525
|
+
locality?: string;
|
526
|
+
region?: string;
|
527
|
+
postalCode?: string;
|
528
|
+
city?: string;
|
529
|
+
province?: string;
|
530
|
+
country?: string;
|
531
|
+
registerSource: string[];
|
532
|
+
secretInfo?: string;
|
533
|
+
emailVerified: boolean;
|
534
|
+
phoneVerified: boolean;
|
535
|
+
lastLogin: string;
|
536
|
+
blocked: boolean;
|
537
|
+
isDeleted: boolean;
|
538
|
+
sendSmsCount: number;
|
539
|
+
sendSmsLimitCount: number;
|
540
|
+
signedUp: string;
|
541
|
+
externalId?: string;
|
542
|
+
mainDepartmentId?: string;
|
543
|
+
mainDepartmentCode?: string;
|
544
|
+
lastMfaTime?: string;
|
545
|
+
passwordSecurityLevel: number;
|
546
|
+
}
|
547
|
+
export interface ActiveUsers {
|
548
|
+
totalCount: number;
|
549
|
+
list: ActiveUser[];
|
550
|
+
}
|
551
|
+
export interface UserAction {
|
552
|
+
operator_arn: string;
|
553
|
+
'@timestamp': string;
|
554
|
+
user_agent: string;
|
555
|
+
geoip: {
|
556
|
+
continent_code: string;
|
557
|
+
country_code2: string;
|
558
|
+
region_name: string;
|
559
|
+
city_name: string;
|
560
|
+
ip: string;
|
561
|
+
latitude: number;
|
562
|
+
region_code: string;
|
563
|
+
timezone: string;
|
564
|
+
country_code3: string;
|
565
|
+
longitude: number;
|
566
|
+
country_name: string;
|
567
|
+
location: {
|
568
|
+
lon: number;
|
569
|
+
lat: number;
|
570
|
+
};
|
571
|
+
};
|
572
|
+
message: string;
|
573
|
+
ua: {
|
574
|
+
build: string;
|
575
|
+
os: string;
|
576
|
+
device: string;
|
577
|
+
patch: string;
|
578
|
+
os_minor: string;
|
579
|
+
os_major: string;
|
580
|
+
os_name: string;
|
581
|
+
minor: string;
|
582
|
+
name: string;
|
583
|
+
major: string;
|
584
|
+
};
|
585
|
+
userpool_id: string;
|
586
|
+
host: string;
|
587
|
+
timestamp: string;
|
588
|
+
'@version': string;
|
589
|
+
app_id: string;
|
590
|
+
operation_name: string;
|
591
|
+
clientip: string;
|
592
|
+
extra_data: string;
|
593
|
+
request_id: string;
|
594
|
+
path: string;
|
595
|
+
user: {
|
596
|
+
userPoolId: string;
|
597
|
+
displayName: string;
|
598
|
+
id: string;
|
599
|
+
photo: string;
|
600
|
+
};
|
601
|
+
app: {
|
602
|
+
qrcodeScanning: {
|
603
|
+
[key: string]: any;
|
604
|
+
};
|
605
|
+
id: string;
|
606
|
+
name: string;
|
607
|
+
description?: any;
|
608
|
+
identifier: string;
|
609
|
+
logo: string;
|
610
|
+
loginTabs: string[];
|
611
|
+
registerTabs: string[];
|
612
|
+
adConnections: any[];
|
613
|
+
disabledOidcConnections: any[];
|
614
|
+
disabledSamlConnections: any[];
|
615
|
+
extendsFields: any[];
|
616
|
+
disabledAzureAdConnections: any[];
|
617
|
+
disabledOauth2Connections: any[];
|
618
|
+
disabledCasConnections: any[];
|
619
|
+
};
|
620
|
+
operation_desc: string;
|
621
|
+
}
|
622
|
+
export interface UserActions {
|
623
|
+
totalCount: number;
|
624
|
+
list: UserAction[];
|
625
|
+
}
|
626
|
+
export interface Resource {
|
627
|
+
id: string;
|
628
|
+
createdAt: string;
|
629
|
+
updatedAt: string;
|
630
|
+
userPoolId: string;
|
631
|
+
code: string;
|
632
|
+
actions: {
|
633
|
+
name: string;
|
634
|
+
description: string;
|
635
|
+
}[];
|
636
|
+
type: string;
|
637
|
+
description: string;
|
638
|
+
namespaceId: number;
|
639
|
+
apiIdentifier?: string;
|
640
|
+
namespace: string;
|
641
|
+
}
|
642
|
+
export interface Resources {
|
643
|
+
totalCount: number;
|
644
|
+
list: Resource[];
|
645
|
+
}
|
646
|
+
export interface Namespace {
|
647
|
+
id: number;
|
648
|
+
name: string;
|
649
|
+
code: string;
|
650
|
+
description: string;
|
651
|
+
status: number;
|
652
|
+
appId: string;
|
653
|
+
appName: string;
|
654
|
+
}
|
655
|
+
export interface Namespaces {
|
656
|
+
total: number;
|
657
|
+
list: Namespace[];
|
658
|
+
}
|
659
|
+
export declare type BatchFetchUserTypes = 'id' | 'username' | 'phone' | 'email' | 'externalId';
|
660
|
+
export interface IResourceQueryFilter {
|
661
|
+
page?: number;
|
662
|
+
limit?: number;
|
663
|
+
type?: 'DATA' | 'API' | 'MENU' | 'UI' | 'BUTTON';
|
664
|
+
/**
|
665
|
+
* @deprecated 请使用 namespace
|
666
|
+
*/
|
667
|
+
namespaceCode?: string;
|
668
|
+
namespace?: string;
|
669
|
+
}
|
670
|
+
export interface IResourceDto {
|
671
|
+
code: string;
|
672
|
+
type: 'DATA' | 'API' | 'MENU' | 'UI' | 'BUTTON';
|
673
|
+
description?: string;
|
674
|
+
actions: Array<{
|
675
|
+
name: string;
|
676
|
+
description: string;
|
677
|
+
}>;
|
678
|
+
namespace: string;
|
679
|
+
}
|
680
|
+
export interface IResourceUpdateDto {
|
681
|
+
type?: 'DATA' | 'API' | 'MENU' | 'UI' | 'BUTTON';
|
682
|
+
description?: string;
|
683
|
+
actions?: Array<{
|
684
|
+
name: string;
|
685
|
+
description: string;
|
686
|
+
}>;
|
687
|
+
namespace: string;
|
688
|
+
}
|
689
|
+
export interface IResourceResponse {
|
690
|
+
userPoolId: string;
|
691
|
+
code: string;
|
692
|
+
actions: Array<{
|
693
|
+
name: string;
|
694
|
+
description: string;
|
695
|
+
}>;
|
696
|
+
type: string;
|
697
|
+
description: string;
|
698
|
+
namespaceId: number;
|
699
|
+
createdAt: Date;
|
700
|
+
updatedAt: Date;
|
701
|
+
id: string;
|
702
|
+
apiIdentifier?: string;
|
703
|
+
}
|
704
|
+
export interface IAppAccessPolicyQueryFilter {
|
705
|
+
page?: number;
|
706
|
+
limit?: number;
|
707
|
+
appId: string;
|
708
|
+
}
|
709
|
+
export interface IAppAccessPolicy {
|
710
|
+
appId: string;
|
711
|
+
targetType: 'USER' | 'ROLE' | 'GROUP' | 'ORG';
|
712
|
+
targetIdentifiers: string[];
|
713
|
+
namespace?: string;
|
714
|
+
inheritByChildren?: boolean;
|
715
|
+
}
|
716
|
+
export interface Statement {
|
717
|
+
resource: string;
|
718
|
+
actions: string[];
|
719
|
+
effect: string;
|
720
|
+
condition: any[];
|
721
|
+
resourceType?: 'DATA' | 'API' | 'MENU' | 'UI' | 'BUTTON';
|
722
|
+
}
|
723
|
+
export interface IPolicy {
|
724
|
+
id: string;
|
725
|
+
createdAt: Date;
|
726
|
+
updatedAt: Date;
|
727
|
+
userPoolId: string;
|
728
|
+
isDefault: boolean;
|
729
|
+
isAuto: boolean;
|
730
|
+
hidden: boolean;
|
731
|
+
code: string;
|
732
|
+
description: string;
|
733
|
+
statements: Statement[];
|
734
|
+
namespaceId: number;
|
735
|
+
}
|
736
|
+
export interface IUser {
|
737
|
+
id: string;
|
738
|
+
createdAt: Date;
|
739
|
+
updatedAt: Date;
|
740
|
+
userPoolId: string;
|
741
|
+
isRoot: boolean;
|
742
|
+
status: string;
|
743
|
+
oauth?: any;
|
744
|
+
email?: any;
|
745
|
+
phone?: any;
|
746
|
+
username: string;
|
747
|
+
unionid?: any;
|
748
|
+
openid?: any;
|
749
|
+
nickname?: any;
|
750
|
+
company?: any;
|
751
|
+
photo: string;
|
752
|
+
browser?: any;
|
753
|
+
device?: any;
|
754
|
+
password: string;
|
755
|
+
salt: string;
|
756
|
+
token?: any;
|
757
|
+
tokenExpiredAt?: any;
|
758
|
+
loginsCount: number;
|
759
|
+
lastIp?: any;
|
760
|
+
name?: any;
|
761
|
+
givenName?: any;
|
762
|
+
familyName?: any;
|
763
|
+
middleName?: any;
|
764
|
+
profile?: any;
|
765
|
+
preferredUsername?: any;
|
766
|
+
website?: any;
|
767
|
+
gender: string;
|
768
|
+
birthdate?: any;
|
769
|
+
zoneinfo?: any;
|
770
|
+
locale?: any;
|
771
|
+
address?: any;
|
772
|
+
formatted?: any;
|
773
|
+
streetAddress?: any;
|
774
|
+
locality?: any;
|
775
|
+
region?: any;
|
776
|
+
postalCode?: any;
|
777
|
+
city?: any;
|
778
|
+
province?: any;
|
779
|
+
country?: any;
|
780
|
+
registerSource: string[];
|
781
|
+
secretInfo?: any;
|
782
|
+
emailVerified: boolean;
|
783
|
+
phoneVerified: boolean;
|
784
|
+
lastLogin?: any;
|
785
|
+
blocked: boolean;
|
786
|
+
isDeleted: boolean;
|
787
|
+
sendSmsCount: number;
|
788
|
+
sendSmsLimitCount: number;
|
789
|
+
dataVersion?: any;
|
790
|
+
encryptedPassword: string;
|
791
|
+
signedUp: Date;
|
792
|
+
externalId?: any;
|
793
|
+
mainDepartmentId?: any;
|
794
|
+
mainDepartmentCode?: any;
|
795
|
+
lastMfaTime?: any;
|
796
|
+
passwordSecurityLevel: number;
|
797
|
+
source?: any;
|
798
|
+
identities: any[];
|
799
|
+
}
|
800
|
+
export interface IList {
|
801
|
+
assignedAt: Date;
|
802
|
+
inheritByChildren?: boolean;
|
803
|
+
enabled: boolean;
|
804
|
+
policyId: string;
|
805
|
+
code: string;
|
806
|
+
policy: IPolicy;
|
807
|
+
targetType: string;
|
808
|
+
targetIdentifier: string;
|
809
|
+
target: IUser;
|
810
|
+
namespace: string;
|
811
|
+
}
|
812
|
+
export interface IApplicationAccessPolicies {
|
813
|
+
list: IList[];
|
814
|
+
totalCount: number;
|
815
|
+
}
|
816
|
+
/**
|
817
|
+
* 应用公开的配置
|
818
|
+
*/
|
819
|
+
export interface ApplicationPublicDetail {
|
820
|
+
id: string;
|
821
|
+
createdAt: string;
|
822
|
+
updatedAt: string;
|
823
|
+
name: string;
|
824
|
+
logo: string;
|
825
|
+
domain: string;
|
826
|
+
description: string;
|
827
|
+
protocol: string;
|
828
|
+
}
|
829
|
+
export interface ApplicationDetail {
|
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
|
+
secret: string;
|
839
|
+
jwks: any;
|
840
|
+
ssoPageCustomizationSettings: any;
|
841
|
+
redirectUris: string[];
|
842
|
+
logoutRedirectUris: string[];
|
843
|
+
oidcProviderEnabled: boolean;
|
844
|
+
oauthProviderEnabled: boolean;
|
845
|
+
samlProviderEnabled: boolean;
|
846
|
+
casProviderEnabled: boolean;
|
847
|
+
registerDisabled: boolean;
|
848
|
+
oidcConfig: {
|
849
|
+
[x: string]: any;
|
850
|
+
};
|
851
|
+
samlConfig: {
|
852
|
+
[x: string]: any;
|
853
|
+
};
|
854
|
+
oauthConfig: {
|
855
|
+
[x: string]: any;
|
856
|
+
};
|
857
|
+
casConfig: {
|
858
|
+
[x: string]: any;
|
859
|
+
};
|
860
|
+
showAuthorizationPage: boolean;
|
861
|
+
enableSubAccount: boolean;
|
862
|
+
loginRequireEmailVerified: boolean;
|
863
|
+
agreementEnabled: boolean;
|
864
|
+
}
|
865
|
+
export interface QrcodeScanning {
|
866
|
+
redirect: boolean;
|
867
|
+
interval: number;
|
868
|
+
}
|
869
|
+
export interface Key {
|
870
|
+
e: string;
|
871
|
+
n: string;
|
872
|
+
d: string;
|
873
|
+
p: string;
|
874
|
+
q: string;
|
875
|
+
dp: string;
|
876
|
+
dq: string;
|
877
|
+
qi: string;
|
878
|
+
kty: string;
|
879
|
+
kid: string;
|
880
|
+
alg: string;
|
881
|
+
use: string;
|
882
|
+
}
|
883
|
+
export interface Jwks {
|
884
|
+
keys: Key[];
|
885
|
+
}
|
886
|
+
export interface OidcConfig {
|
887
|
+
grant_types: string[];
|
888
|
+
response_types: string[];
|
889
|
+
id_token_signed_response_alg: string;
|
890
|
+
token_endpoint_auth_method: string;
|
891
|
+
authorization_code_expire: number;
|
892
|
+
id_token_expire: number;
|
893
|
+
access_token_expire: number;
|
894
|
+
refresh_token_expire: number;
|
895
|
+
cas_expire: number;
|
896
|
+
skip_consent: boolean;
|
897
|
+
redirect_uris: string[];
|
898
|
+
post_logout_redirect_uris: any[];
|
899
|
+
client_id: string;
|
900
|
+
introspection_endpoint_auth_method: string;
|
901
|
+
revocation_endpoint_auth_method: string;
|
902
|
+
}
|
903
|
+
export interface OauthConfig {
|
904
|
+
id: string;
|
905
|
+
redirect_uris: string[];
|
906
|
+
grants: string[];
|
907
|
+
access_token_lifetime: number;
|
908
|
+
refresh_token_lifetime: number;
|
909
|
+
introspection_endpoint_auth_method: string;
|
910
|
+
revocation_endpoint_auth_method: string;
|
911
|
+
}
|
912
|
+
export interface PermissionStrategy {
|
913
|
+
enabled: boolean;
|
914
|
+
defaultStrategy: string;
|
915
|
+
allowPolicyId: string;
|
916
|
+
denyPolicyId: string;
|
917
|
+
}
|
918
|
+
export interface IApplication {
|
919
|
+
qrcodeScanning: QrcodeScanning;
|
920
|
+
id: string;
|
921
|
+
createdAt: Date;
|
922
|
+
updatedAt: Date;
|
923
|
+
userPoolId: string;
|
924
|
+
protocol: string;
|
925
|
+
isOfficial: boolean;
|
926
|
+
isDeleted: boolean;
|
927
|
+
isDefault: boolean;
|
928
|
+
name: string;
|
929
|
+
description?: any;
|
930
|
+
identifier: string;
|
931
|
+
jwks: Jwks;
|
932
|
+
ssoPageCustomizationSettings?: any;
|
933
|
+
logo: string;
|
934
|
+
redirectUris: string[];
|
935
|
+
logoutRedirectUris: any[];
|
936
|
+
oidcProviderEnabled: boolean;
|
937
|
+
oauthProviderEnabled: boolean;
|
938
|
+
samlProviderEnabled: boolean;
|
939
|
+
casProviderEnabled: boolean;
|
940
|
+
registerDisabled: boolean;
|
941
|
+
loginTabs: string[];
|
942
|
+
defaultLoginTab: string;
|
943
|
+
registerTabs: string[];
|
944
|
+
defaultRegisterTab: string;
|
945
|
+
ldapConnections?: any;
|
946
|
+
adConnections: any[];
|
947
|
+
disabledSocialConnections?: any;
|
948
|
+
disabledOidcConnections: any[];
|
949
|
+
disabledSamlConnections: any[];
|
950
|
+
disabledOauth2Connections: any[];
|
951
|
+
disabledCasConnections: any[];
|
952
|
+
disabledAzureAdConnections: any[];
|
953
|
+
extendsFieldsEnabled: boolean;
|
954
|
+
extendsFields: any[];
|
955
|
+
ext?: any;
|
956
|
+
css: string;
|
957
|
+
oidcConfig: OidcConfig;
|
958
|
+
samlConfig?: any;
|
959
|
+
oauthConfig: OauthConfig;
|
960
|
+
casConfig?: any;
|
961
|
+
showAuthorizationPage: boolean;
|
962
|
+
enableSubAccount: boolean;
|
963
|
+
loginRequireEmailVerified: boolean;
|
964
|
+
agreementEnabled: boolean;
|
965
|
+
skipMfa: boolean;
|
966
|
+
permissionStrategy: PermissionStrategy;
|
967
|
+
}
|
968
|
+
export interface AgreementInput {
|
969
|
+
title: string;
|
970
|
+
required?: boolean;
|
971
|
+
lang?: Lang;
|
972
|
+
}
|
973
|
+
export interface AgreementDetail extends Required<AgreementInput> {
|
974
|
+
appId: string;
|
975
|
+
order: number;
|
976
|
+
userPoolId: string;
|
977
|
+
id: number;
|
978
|
+
}
|
979
|
+
export interface AgreementList {
|
980
|
+
list: AgreementDetail[];
|
981
|
+
totalCount: number;
|
982
|
+
}
|