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,232 +0,0 @@
|
|
1
|
-
/// <reference types="node" />
|
2
|
-
import { AuthenticationTokenProvider } from './AuthenticationTokenProvider';
|
3
|
-
import { AuthenticationClientOptions, QRCodeGenarateResult, QRCodeStatus, QRCodeUserInfo } from './types';
|
4
|
-
import { User } from '../../types/graphql.v2';
|
5
|
-
import { HttpClient } from '../common/HttpClient';
|
6
|
-
import { BaseAuthenticationClient } from './BaseAuthenticationClient';
|
7
|
-
/**
|
8
|
-
* @class QrCodeAuthenticationClient 扫码登录模块
|
9
|
-
* @description 此模块用于进行扫码登录,扫码登录分为两种小程序扫码登录(wxqrcode)和 APP 扫码登录(qrcode)。两种扫码登录方式 API 完全一致。
|
10
|
-
*
|
11
|
-
* 使用小程序扫码登录:
|
12
|
-
*
|
13
|
-
* \`\`\`javascript
|
14
|
-
* import { AuthenticationClient } from "authing-js-sdk"
|
15
|
-
* const authenticationClient = new AuthenticationClient({
|
16
|
-
* appId: "YOUR_APP_ID",
|
17
|
-
* })
|
18
|
-
* authenticationClient.wxqrcode.startScanning() # 开始扫码登录
|
19
|
-
* \`\`\`
|
20
|
-
*
|
21
|
-
* 使用 APP 扫码登录
|
22
|
-
*
|
23
|
-
* \`\`\`javascript
|
24
|
-
* import { AuthenticationClient } from "authing-js-sdk"
|
25
|
-
* const authenticationClient = new AuthenticationClient({
|
26
|
-
* appId: "YOUR_APP_ID",
|
27
|
-
* })
|
28
|
-
* authenticationClient.qrcode.startScanning() # 开始扫码登录
|
29
|
-
* \`\`\`
|
30
|
-
*
|
31
|
-
* @name QrCodeAuthenticationClient
|
32
|
-
*/
|
33
|
-
export declare class QrCodeAuthenticationClient {
|
34
|
-
options: AuthenticationClientOptions;
|
35
|
-
tokenProvider: AuthenticationTokenProvider;
|
36
|
-
scene: string;
|
37
|
-
httpClient: HttpClient;
|
38
|
-
baseClient: BaseAuthenticationClient;
|
39
|
-
constructor(options: AuthenticationClientOptions, tokenProvider: AuthenticationTokenProvider, httpClient: HttpClient, scene: 'WXAPP_AUTH' | 'APP_AUTH');
|
40
|
-
/**
|
41
|
-
* @name startScanning
|
42
|
-
* @name_zh 一键开始扫码
|
43
|
-
* @description 一键开始扫码
|
44
|
-
*
|
45
|
-
* @param {string} domId DOM 元素的 ID。
|
46
|
-
* @param {Object} options
|
47
|
-
* @param {boolean} options.autoExchangeUserInfo 是否自定义使用 ticket 换取用户信息
|
48
|
-
* @param {number} options.interval 间隔时间,单位为毫秒,默认为 800 毫秒
|
49
|
-
* @param {Function} options.onStart 开始轮询的事件回调函数, 第一个参数为 setInterval 返回的计时器,可以用 clearInterval 取消此计时器
|
50
|
-
* @param {Function} options.onResult 获取到二维码最新状态事件回调函数,第一个参数为的类型为 QRCodeStatus。
|
51
|
-
* @param {Function} options.onScanned 用户首次扫码事件回调函数。此时用户还没有授权,回调的用户信息中通仅包含昵称和头像,用作展示目的。
|
52
|
-
* 出于安全性考虑,默认情况下,userInfo 只会包含昵称(nickname)和头像(photo)两个字段,开发者也可以在后台配置使其返回完整用户信息,
|
53
|
-
* @param {Function} options.onSuccess 用户同意授权事件回调函数。该函数只会回调一次,之后轮询结束。第一个参数为 userInfo 用户信息,第二个参数为 ticket,用于换取用户的详情。
|
54
|
-
* 详情见 https://docs.authing.co/scan-qrcode/app-qrcode/customize.html。
|
55
|
-
* ticket 可以用来换取完整的用户信息,相关接口见 https://docs.authing.co/scan-qrcode/app-qrcode/full-api-list.html。
|
56
|
-
* @param {Function} options.onCancel 用户取消授权事件回调函数。该事件只会回调一次,之后轮询结束。
|
57
|
-
* @param {Function} options.onError 获取二维码状态失败事件回调函数。常见原因为网络失败等,每次查询失败时都会回调。回调参数 data 示例如 {"code": 2241,"message": "二维码不存在" }
|
58
|
-
* @param {Function} options.onExpired 二维码失效时被回调,只回调一次,之后轮询结束。
|
59
|
-
* @param {Function} options.onCodeShow 二维码首次成功显示的事件。
|
60
|
-
* @param {Function} options.onCodeLoaded 二维码首次成功 Load 的事件。
|
61
|
-
* @param {Function} options.onCodeLoadFailed 二维码加载失败的事件。
|
62
|
-
* @param {Function} options.onCodeDestroyed 二维码被销毁的事件。
|
63
|
-
* @param {Object} options.size 二维码图片大小,默认为 240 * 240,单位为 px 。
|
64
|
-
* @param {number} options.size.height 高度
|
65
|
-
* @param {number} options.size.width 宽度
|
66
|
-
* @param {Object} options.containerSize DOM 容器大小,默认为 300 * 300,单位为 px 。
|
67
|
-
* @param {number} options.containerSize.height 高度
|
68
|
-
* @param {number} options.containerSize.width 宽度
|
69
|
-
* @param {Object} options.tips 自定义提示信息
|
70
|
-
* @param {number} options.tips.title
|
71
|
-
* @param {number} options.tips.scanned
|
72
|
-
* @param {Object} options.tips.succeed
|
73
|
-
* @param {number} options.tips.canceled
|
74
|
-
* @param {number} options.tips.expired
|
75
|
-
* @param {number} options.tips.retry
|
76
|
-
* @param {number} options.tips.failed
|
77
|
-
*
|
78
|
-
* @example
|
79
|
-
*
|
80
|
-
* authenticationClient.wxqrcode.startScanning("qrcode", {
|
81
|
-
* onSuccess: (userInfo, ticket) => {
|
82
|
-
* console.log(userInfo, ticket)
|
83
|
-
* },
|
84
|
-
* onError: (message) => onFail && onFail(`${message}`),
|
85
|
-
* });
|
86
|
-
*
|
87
|
-
* @returns {null}
|
88
|
-
* @memberof QrCodeAuthenticationClient
|
89
|
-
*
|
90
|
-
*/
|
91
|
-
startScanning(domId: string, options?: {
|
92
|
-
autoExchangeUserInfo?: boolean;
|
93
|
-
size?: {
|
94
|
-
height: number;
|
95
|
-
width: number;
|
96
|
-
};
|
97
|
-
containerSize?: {
|
98
|
-
height: number;
|
99
|
-
width: number;
|
100
|
-
};
|
101
|
-
interval?: number;
|
102
|
-
onStart?: (timer: any) => any;
|
103
|
-
onResult?: (data: QRCodeStatus) => any;
|
104
|
-
onScanned?: (userInfo: QRCodeUserInfo) => any;
|
105
|
-
onSuccess?: (userInfo: QRCodeUserInfo, ticket: string) => any;
|
106
|
-
onCancel?: () => any;
|
107
|
-
onError?: (message: string) => any;
|
108
|
-
onExpired?: () => any;
|
109
|
-
onCodeShow?: (random: string, url: string) => any;
|
110
|
-
onCodeLoaded?: (random: string, url: string) => any;
|
111
|
-
onCodeLoadFailed?: (message: string) => any;
|
112
|
-
onCodeDestroyed?: (random: string) => any;
|
113
|
-
tips?: {
|
114
|
-
title?: string;
|
115
|
-
scanned?: string;
|
116
|
-
succeed?: string;
|
117
|
-
canceled?: string;
|
118
|
-
expired?: string;
|
119
|
-
retry?: string;
|
120
|
-
failed?: string;
|
121
|
-
};
|
122
|
-
/**
|
123
|
-
* @description 将会写入配置的用户自定义字段
|
124
|
-
*/
|
125
|
-
customData?: {
|
126
|
-
[x: string]: any;
|
127
|
-
};
|
128
|
-
/**
|
129
|
-
* @description 请求上下文,将会传递到 Pipeline 中
|
130
|
-
*/
|
131
|
-
context?: {
|
132
|
-
[x: string]: any;
|
133
|
-
};
|
134
|
-
}): Promise<void>;
|
135
|
-
/**
|
136
|
-
* @name geneCode
|
137
|
-
* @name_zh 生成二维码
|
138
|
-
* @description 生成二维码
|
139
|
-
*
|
140
|
-
* @example
|
141
|
-
* const authenticationClient = new AuthenticationClient({
|
142
|
-
* appId: "YOUR_APP_ID",
|
143
|
-
* })
|
144
|
-
* const { url, random } = await authenticationClient.wxqrcode.geneCode()
|
145
|
-
*
|
146
|
-
* # random 二维码唯一 ID
|
147
|
-
* # url 二维码链接
|
148
|
-
*
|
149
|
-
* @returns {Promise<QRCodeGenarateResult>}
|
150
|
-
* @memberof QrCodeAuthenticationClient
|
151
|
-
*/
|
152
|
-
geneCode(options?: {
|
153
|
-
context?: {
|
154
|
-
[x: string]: any;
|
155
|
-
};
|
156
|
-
customData?: {
|
157
|
-
[x: string]: any;
|
158
|
-
};
|
159
|
-
}): Promise<QRCodeGenarateResult>;
|
160
|
-
/**
|
161
|
-
* @name checkStatus
|
162
|
-
* @name_zh 检测扫码状态
|
163
|
-
* @description 检测扫码状态
|
164
|
-
*
|
165
|
-
* @param {string} random
|
166
|
-
*
|
167
|
-
* @example
|
168
|
-
*
|
169
|
-
* const authenticationClient = new AuthenticationClient({
|
170
|
-
* appId: "YOUR_APP_ID",
|
171
|
-
* })
|
172
|
-
* const { random, status, ticket, userInfo } = await authenticationClient.wxqrcode.checkStatus('RANDOM')
|
173
|
-
* # status: 二维码状态: 0 - 未使用, 1 - 已扫码, 2 - 已授权, 3 - 取消授权, -1 - 已过期
|
174
|
-
* # ticket: 用于换取用户信息的一个随机字符串
|
175
|
-
* # userInfo: 用户信息
|
176
|
-
*
|
177
|
-
* @returns {Promise<QRCodeStatus>}
|
178
|
-
* @memberof QrCodeAuthenticationClient
|
179
|
-
*/
|
180
|
-
checkStatus(random: string): Promise<QRCodeStatus>;
|
181
|
-
/**
|
182
|
-
* @name exchangeUserInfo
|
183
|
-
* @name_zh 使用 ticket 交换用户信息
|
184
|
-
* @description 使用 ticket 交换用户信息
|
185
|
-
*
|
186
|
-
* @example
|
187
|
-
*
|
188
|
-
* const authenticationClient = new AuthenticationClient({
|
189
|
-
* appId: "YOUR_APP_ID",
|
190
|
-
* })
|
191
|
-
* const user = await authenticationClient.wxqrcode.exchangeUserInfo('TICKET')
|
192
|
-
* # user: 完整的用户信息,其中 user.token 为用户的登录凭证。
|
193
|
-
*
|
194
|
-
* @param {string} ticket ticket
|
195
|
-
* @returns {Promise<Partial<User>>}
|
196
|
-
* @memberof QrCodeAuthenticationClient
|
197
|
-
*/
|
198
|
-
exchangeUserInfo(ticket: string): Promise<Partial<User>>;
|
199
|
-
/**
|
200
|
-
* @name startPolling
|
201
|
-
* @name_zh 开始轮询二维码状态
|
202
|
-
* @description 开始轮询二维码状态
|
203
|
-
*
|
204
|
-
* @param {string} random 二维码唯一 ID
|
205
|
-
* @param {Object} options
|
206
|
-
* @param {number} options.interval 间隔时间,单位为毫秒,默认为 800 毫秒
|
207
|
-
* @param {Function} options.onStart 开始轮询的事件回调函数, 第一个参数为 setInterval 返回的计时器,可以用 clearInterval 取消此计时器
|
208
|
-
* @param {Function} options.onResult 获取到二维码最新状态事件回调函数,第一个参数为的类型为 QRCodeStatus。
|
209
|
-
* @param {Function} options.onScanned 用户首次扫码事件回调函数。此时用户还没有授权,回调的用户信息中通仅包含昵称和头像,用作展示目的。
|
210
|
-
* 出于安全性考虑,默认情况下,userInfo 只会包含昵称(nickname)和头像(photo)两个字段,开发者也可以在后台配置使其返回完整用户信息,
|
211
|
-
* @param {Function} options.onSuccess 用户同意授权事件回调函数。该函数只会回调一次,之后轮询结束。第一个参数为 userInfo 用户信息,第二个参数为 ticket,用于换取用户的详情。
|
212
|
-
* 详情见 https://docs.authing.co/scan-qrcode/app-qrcode/customize.html。
|
213
|
-
* ticket 可以用来换取完整的用户信息,相关接口见 https://docs.authing.co/scan-qrcode/app-qrcode/full-api-list.html。
|
214
|
-
* @param {Function} options.onCancel 用户取消授权事件回调函数。该事件只会回调一次,之后轮询结束。
|
215
|
-
* @param {Function} options.onError 获取二维码状态失败事件回调函数。常见原因为网络失败等,每次查询失败时都会回调。回调参数 data 示例如 {"code": 2241,"message": "二维码不存在" }
|
216
|
-
* @param {Function} options.onExpired 二维码失效时被回调,只回调一次,之后轮询结束。
|
217
|
-
*
|
218
|
-
* @returns {null}
|
219
|
-
* @memberof QrCodeAuthenticationClient
|
220
|
-
*/
|
221
|
-
startPolling(random: string, options?: {
|
222
|
-
interval?: number;
|
223
|
-
onStart?: (timer: any) => any;
|
224
|
-
onResult?: (data: QRCodeStatus) => any;
|
225
|
-
onScanned?: (userInfo: QRCodeUserInfo) => any;
|
226
|
-
onSuccess?: (userInfo: QRCodeUserInfo, ticket: string) => any;
|
227
|
-
onCancel?: () => any;
|
228
|
-
onError?: (message: string) => any;
|
229
|
-
onExpired?: () => any;
|
230
|
-
}): Promise<NodeJS.Timeout>;
|
231
|
-
stopPolling(timer: any): Promise<void>;
|
232
|
-
}
|
@@ -1,619 +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 { createCssClassStyleSheet } from '../utils';
|
38
|
-
import { BaseAuthenticationClient } from './BaseAuthenticationClient';
|
39
|
-
/**
|
40
|
-
* @class QrCodeAuthenticationClient 扫码登录模块
|
41
|
-
* @description 此模块用于进行扫码登录,扫码登录分为两种小程序扫码登录(wxqrcode)和 APP 扫码登录(qrcode)。两种扫码登录方式 API 完全一致。
|
42
|
-
*
|
43
|
-
* 使用小程序扫码登录:
|
44
|
-
*
|
45
|
-
* \`\`\`javascript
|
46
|
-
* import { AuthenticationClient } from "authing-js-sdk"
|
47
|
-
* const authenticationClient = new AuthenticationClient({
|
48
|
-
* appId: "YOUR_APP_ID",
|
49
|
-
* })
|
50
|
-
* authenticationClient.wxqrcode.startScanning() # 开始扫码登录
|
51
|
-
* \`\`\`
|
52
|
-
*
|
53
|
-
* 使用 APP 扫码登录
|
54
|
-
*
|
55
|
-
* \`\`\`javascript
|
56
|
-
* import { AuthenticationClient } from "authing-js-sdk"
|
57
|
-
* const authenticationClient = new AuthenticationClient({
|
58
|
-
* appId: "YOUR_APP_ID",
|
59
|
-
* })
|
60
|
-
* authenticationClient.qrcode.startScanning() # 开始扫码登录
|
61
|
-
* \`\`\`
|
62
|
-
*
|
63
|
-
* @name QrCodeAuthenticationClient
|
64
|
-
*/
|
65
|
-
var QrCodeAuthenticationClient = /** @class */ (function () {
|
66
|
-
function QrCodeAuthenticationClient(options, tokenProvider, httpClient, scene) {
|
67
|
-
this.options = options;
|
68
|
-
this.tokenProvider = tokenProvider;
|
69
|
-
this.httpClient = httpClient;
|
70
|
-
this.scene = scene;
|
71
|
-
this.baseClient = new BaseAuthenticationClient(options);
|
72
|
-
}
|
73
|
-
/**
|
74
|
-
* @name startScanning
|
75
|
-
* @name_zh 一键开始扫码
|
76
|
-
* @description 一键开始扫码
|
77
|
-
*
|
78
|
-
* @param {string} domId DOM 元素的 ID。
|
79
|
-
* @param {Object} options
|
80
|
-
* @param {boolean} options.autoExchangeUserInfo 是否自定义使用 ticket 换取用户信息
|
81
|
-
* @param {number} options.interval 间隔时间,单位为毫秒,默认为 800 毫秒
|
82
|
-
* @param {Function} options.onStart 开始轮询的事件回调函数, 第一个参数为 setInterval 返回的计时器,可以用 clearInterval 取消此计时器
|
83
|
-
* @param {Function} options.onResult 获取到二维码最新状态事件回调函数,第一个参数为的类型为 QRCodeStatus。
|
84
|
-
* @param {Function} options.onScanned 用户首次扫码事件回调函数。此时用户还没有授权,回调的用户信息中通仅包含昵称和头像,用作展示目的。
|
85
|
-
* 出于安全性考虑,默认情况下,userInfo 只会包含昵称(nickname)和头像(photo)两个字段,开发者也可以在后台配置使其返回完整用户信息,
|
86
|
-
* @param {Function} options.onSuccess 用户同意授权事件回调函数。该函数只会回调一次,之后轮询结束。第一个参数为 userInfo 用户信息,第二个参数为 ticket,用于换取用户的详情。
|
87
|
-
* 详情见 https://docs.authing.co/scan-qrcode/app-qrcode/customize.html。
|
88
|
-
* ticket 可以用来换取完整的用户信息,相关接口见 https://docs.authing.co/scan-qrcode/app-qrcode/full-api-list.html。
|
89
|
-
* @param {Function} options.onCancel 用户取消授权事件回调函数。该事件只会回调一次,之后轮询结束。
|
90
|
-
* @param {Function} options.onError 获取二维码状态失败事件回调函数。常见原因为网络失败等,每次查询失败时都会回调。回调参数 data 示例如 {"code": 2241,"message": "二维码不存在" }
|
91
|
-
* @param {Function} options.onExpired 二维码失效时被回调,只回调一次,之后轮询结束。
|
92
|
-
* @param {Function} options.onCodeShow 二维码首次成功显示的事件。
|
93
|
-
* @param {Function} options.onCodeLoaded 二维码首次成功 Load 的事件。
|
94
|
-
* @param {Function} options.onCodeLoadFailed 二维码加载失败的事件。
|
95
|
-
* @param {Function} options.onCodeDestroyed 二维码被销毁的事件。
|
96
|
-
* @param {Object} options.size 二维码图片大小,默认为 240 * 240,单位为 px 。
|
97
|
-
* @param {number} options.size.height 高度
|
98
|
-
* @param {number} options.size.width 宽度
|
99
|
-
* @param {Object} options.containerSize DOM 容器大小,默认为 300 * 300,单位为 px 。
|
100
|
-
* @param {number} options.containerSize.height 高度
|
101
|
-
* @param {number} options.containerSize.width 宽度
|
102
|
-
* @param {Object} options.tips 自定义提示信息
|
103
|
-
* @param {number} options.tips.title
|
104
|
-
* @param {number} options.tips.scanned
|
105
|
-
* @param {Object} options.tips.succeed
|
106
|
-
* @param {number} options.tips.canceled
|
107
|
-
* @param {number} options.tips.expired
|
108
|
-
* @param {number} options.tips.retry
|
109
|
-
* @param {number} options.tips.failed
|
110
|
-
*
|
111
|
-
* @example
|
112
|
-
*
|
113
|
-
* authenticationClient.wxqrcode.startScanning("qrcode", {
|
114
|
-
* onSuccess: (userInfo, ticket) => {
|
115
|
-
* console.log(userInfo, ticket)
|
116
|
-
* },
|
117
|
-
* onError: (message) => onFail && onFail(`${message}`),
|
118
|
-
* });
|
119
|
-
*
|
120
|
-
* @returns {null}
|
121
|
-
* @memberof QrCodeAuthenticationClient
|
122
|
-
*
|
123
|
-
*/
|
124
|
-
QrCodeAuthenticationClient.prototype.startScanning = function (domId, options) {
|
125
|
-
return __awaiter(this, void 0, void 0, function () {
|
126
|
-
function genRetry(qrcodeElm, tipText, retryId) {
|
127
|
-
var tip = genTip(tipText);
|
128
|
-
nodeWrapper = document.createElement('div');
|
129
|
-
nodeWrapper.id = 'authing__qrcode-wrapper';
|
130
|
-
nodeWrapper.style.textAlign = 'center';
|
131
|
-
nodeWrapper.style.position = 'relative';
|
132
|
-
// TODO: 这里换一个二维码
|
133
|
-
var qrcodeImage = genImage('https://usercontents.authing.cn/0ab3a1bf19c0d7106673e494d532f91a.png');
|
134
|
-
if (!needGenerate) {
|
135
|
-
qrcodeImage.style.marginTop = '12px';
|
136
|
-
}
|
137
|
-
else {
|
138
|
-
qrcodeImage.style.marginTop = '16px';
|
139
|
-
}
|
140
|
-
qrcodeImage.onload = function () {
|
141
|
-
unloading();
|
142
|
-
};
|
143
|
-
var shadow = genShadow(retry, function () {
|
144
|
-
start();
|
145
|
-
}, retryId || '__authing_retry_btn');
|
146
|
-
nodeWrapper.appendChild(qrcodeImage);
|
147
|
-
nodeWrapper.appendChild(shadow);
|
148
|
-
nodeWrapper.appendChild(tip);
|
149
|
-
qrcodeElm.appendChild(nodeWrapper);
|
150
|
-
}
|
151
|
-
var _a, autoExchangeUserInfo, _b, size, _c, containerSize, _d, interval, onStart, onResult, onScanned, onExpired, onSuccess, onCancel, onError, onCodeShow, onCodeLoaded, onCodeLoadFailed, _e,
|
152
|
-
// onCodeDestroyed,
|
153
|
-
tips, context, customData, lang, nowLang, _f, title, _g,
|
154
|
-
// scanned = '用户已扫码,等待确认',
|
155
|
-
canceled, _h, expired, _j, succeed, _k, retry, node, nodeWrapper, needGenerate, styleNode, style, loading, unloading, genTip, genImage, genShadow, displayScannedUser, start;
|
156
|
-
var _this = this;
|
157
|
-
return __generator(this, function (_l) {
|
158
|
-
options = options || {};
|
159
|
-
_a = options.autoExchangeUserInfo, autoExchangeUserInfo = _a === void 0 ? false : _a, _b = options.size, size = _b === void 0 ? {
|
160
|
-
height: 240,
|
161
|
-
width: 240
|
162
|
-
} : _b, _c = options.containerSize, containerSize = _c === void 0 ? {
|
163
|
-
height: 300,
|
164
|
-
width: 300
|
165
|
-
} : _c, _d = options.interval, interval = _d === void 0 ? 800 : _d, onStart = options.onStart, onResult = options.onResult, onScanned = options.onScanned, onExpired = options.onExpired, onSuccess = options.onSuccess, onCancel = options.onCancel, onError = options.onError, onCodeShow = options.onCodeShow, onCodeLoaded = options.onCodeLoaded, onCodeLoadFailed = options.onCodeLoadFailed, _e = options.tips, tips = _e === void 0 ? {} : _e, context = options.context, customData = options.customData;
|
166
|
-
lang = this.options.lang;
|
167
|
-
nowLang = lang === 'zh-CN';
|
168
|
-
_f = tips.title, title = _f === void 0 ? nowLang ? "\u4F7F\u7528 <strong> " + (this.scene === 'WXAPP_AUTH' ? '微信' : 'APP') + " </strong> \u626B\u7801\u767B\u5F55" : "use <strong> " + (this.scene === 'WXAPP_AUTH' ? 'Wechat' : 'APP') + " </strong> scan code login" : _f, _g = tips.canceled, canceled = _g === void 0 ? nowLang ? '用户取消授权' : 'User cancel authorization' : _g, _h = tips.expired, expired = _h === void 0 ? nowLang ? '二维码已过期' : 'QR code has expired' : _h, _j = tips.succeed, succeed = _j === void 0 ? nowLang ? '扫码成功' : 'Scan code successfully' : _j, _k = tips.retry, retry = _k === void 0 ? nowLang ? '重试' : 'Retry' : _k;
|
169
|
-
node = document.getElementById(domId);
|
170
|
-
needGenerate = false;
|
171
|
-
if (!node) {
|
172
|
-
node = document.createElement('div');
|
173
|
-
node.id = domId;
|
174
|
-
createCssClassStyleSheet('__authing-qrcode-node-mount', "z-index: 65535;position: fixed;background: #fff;width: " + containerSize.width + "px;height: " + containerSize.height + "px;left: 50%;margin-left: -" + containerSize.width /
|
175
|
-
2 + "px;display: flex;justify-content: center;align-items: center;top: 50%;margin-top: -" + containerSize.height /
|
176
|
-
2 + "px;border: 1px solid #ccc;");
|
177
|
-
node.classList.add('__authing-qrcode-node-mount');
|
178
|
-
document.getElementsByTagName('body')[0].appendChild(node);
|
179
|
-
needGenerate = true;
|
180
|
-
}
|
181
|
-
else {
|
182
|
-
node.style.position = 'relative';
|
183
|
-
}
|
184
|
-
styleNode = document.createElement('style');
|
185
|
-
style = '#authing__retry a:hover{outline:0px;text-decoration:none;}#authing__spinner{position:absolute;left:50%;margin-left:-6px;}.spinner{margin:100px auto;width:20px;height:20px;position:relative}.container1>div,.container2>div,.container3>div{width:6px;height:6px;background-color:#00a1ea;border-radius:100%;position:absolute;-webkit-animation:bouncedelay 1.2s infinite ease-in-out;animation:bouncedelay 1.2s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.spinner .spinner-container{position:absolute;width:100%;height:100%}.container2{-webkit-transform:rotateZ(45deg);transform:rotateZ(45deg)}.container3{-webkit-transform:rotateZ(90deg);transform:rotateZ(90deg)}.circle1{top:0;left:0}.circle2{top:0;right:0}.circle3{right:0;bottom:0}.circle4{left:0;bottom:0}.container2 .circle1{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.container3 .circle1{-webkit-animation-delay:-1.0s;animation-delay:-1.0s}.container1 .circle2{-webkit-animation-delay:-0.9s;animation-delay:-0.9s}.container2 .circle2{-webkit-animation-delay:-0.8s;animation-delay:-0.8s}.container3 .circle2{-webkit-animation-delay:-0.7s;animation-delay:-0.7s}.container1 .circle3{-webkit-animation-delay:-0.6s;animation-delay:-0.6s}.container2 .circle3{-webkit-animation-delay:-0.5s;animation-delay:-0.5s}.container3 .circle3{-webkit-animation-delay:-0.4s;animation-delay:-0.4s}.container1 .circle4{-webkit-animation-delay:-0.3s;animation-delay:-0.3s}.container2 .circle4{-webkit-animation-delay:-0.2s;animation-delay:-0.2s}.container3 .circle4{-webkit-animation-delay:-0.1s;animation-delay:-0.1s}@-webkit-keyframes bouncedelay{0%,80%,100%{-webkit-transform:scale(0.0)}40%{-webkit-transform:scale(1.0)}}@keyframes bouncedelay{0%,80%,100%{transform:scale(0.0);-webkit-transform:scale(0.0)}40%{transform:scale(1.0);-webkit-transform:scale(1.0)}}';
|
186
|
-
styleNode.type = 'text/css';
|
187
|
-
if (styleNode.style) {
|
188
|
-
styleNode.style.cssText = style;
|
189
|
-
}
|
190
|
-
else {
|
191
|
-
styleNode.innerHTML = style;
|
192
|
-
}
|
193
|
-
document.getElementsByTagName('head')[0].appendChild(styleNode);
|
194
|
-
loading = function () {
|
195
|
-
node.innerHTML =
|
196
|
-
'<div id="authing__spinner" class="spinner"><div class="spinner-container container1"><div class="circle1"></div><div class="circle2"></div><div class="circle3"></div><div class="circle4"></div></div><div class="spinner-container container2"><div class="circle1"></div><div class="circle2"></div><div class="circle3"></div><div class="circle4"></div></div><div class="spinner-container container3"><div class="circle1"></div><div class="circle2"></div><div class="circle3"></div><div class="circle4"></div></div></div>';
|
197
|
-
};
|
198
|
-
unloading = function () {
|
199
|
-
var child = document.getElementById('authing__spinner');
|
200
|
-
if (child)
|
201
|
-
node.removeChild(child);
|
202
|
-
};
|
203
|
-
genTip = function (text) {
|
204
|
-
var formattedText;
|
205
|
-
try {
|
206
|
-
formattedText = JSON.parse(text).message || text;
|
207
|
-
}
|
208
|
-
catch (e) {
|
209
|
-
formattedText = text;
|
210
|
-
}
|
211
|
-
var tip = document.createElement('span');
|
212
|
-
tip.className = 'authing__heading-subtitle';
|
213
|
-
if (!needGenerate) {
|
214
|
-
createCssClassStyleSheet('__authing__heading-subtitle-style', 'display: block;font-weight: 400;font-size: 15px;color: #888;line-height: 48px;');
|
215
|
-
tip.classList.add('__authing__heading-subtitle-style');
|
216
|
-
}
|
217
|
-
else {
|
218
|
-
createCssClassStyleSheet('__authing__heading-subtitle-style', 'display: block;font-weight: 400;font-size: 12px;color: #888;');
|
219
|
-
tip.classList.add('__authing__heading-subtitle-style');
|
220
|
-
}
|
221
|
-
tip.innerHTML = formattedText;
|
222
|
-
return tip;
|
223
|
-
};
|
224
|
-
genImage = function (src) {
|
225
|
-
var qrcodeImage = document.createElement('img');
|
226
|
-
qrcodeImage.className = 'authing__qrcode';
|
227
|
-
qrcodeImage.src = src;
|
228
|
-
qrcodeImage.width = size.width;
|
229
|
-
qrcodeImage.height = size.height;
|
230
|
-
return qrcodeImage;
|
231
|
-
};
|
232
|
-
genShadow = function (text, aOnClick, shadowAId) {
|
233
|
-
var shadowId = 'authing__retry';
|
234
|
-
if (document.getElementById(shadowId)) {
|
235
|
-
document.getElementById(shadowId).remove();
|
236
|
-
}
|
237
|
-
var shadow = document.createElement('div');
|
238
|
-
shadow.id = shadowId;
|
239
|
-
createCssClassStyleSheet('__authing-shadow-style', "text-align:center;width: " + size.width + "px;height: " + size.height + "px;position: absolute;left: 50%;top: 0px;margin-left: -" + size.width /
|
240
|
-
2 + "px;background-color: rgba(0,0,0, 0.5);line-height:" + size.height + "px;color:#fff;font-weight:600;");
|
241
|
-
shadow.classList.add('__authing-shadow-style');
|
242
|
-
var shadowA = document.createElement('a');
|
243
|
-
shadowA.innerHTML = text;
|
244
|
-
shadowA.style.color = '#fff';
|
245
|
-
shadowA.style.borderBottom = '1px solid #fff';
|
246
|
-
shadowA.style.cursor = 'pointer';
|
247
|
-
if (aOnClick) {
|
248
|
-
shadowA.addEventListener('click', aOnClick);
|
249
|
-
}
|
250
|
-
shadowA.id = shadowAId;
|
251
|
-
shadow.appendChild(shadowA);
|
252
|
-
return shadow;
|
253
|
-
};
|
254
|
-
displayScannedUser = function (_, photo) {
|
255
|
-
var shadowId = 'authing__retry';
|
256
|
-
if (document.getElementById(shadowId)) {
|
257
|
-
document.getElementById(shadowId).remove();
|
258
|
-
}
|
259
|
-
var shadow = document.createElement('div');
|
260
|
-
createCssClassStyleSheet('__authing-shadow-style-position', "text-align:center;width: " + size.width + "px;height: " + size.height + "px;position: absolute;left: 50%;top: 0px;margin-left: -" + size.width /
|
261
|
-
2 + "px;line-height:" + size.height + "px;color:#fff;font-weight:600;display: flex;\n align-items: center; /*\u5782\u76F4\u5C45\u4E2D*/\n justify-content: center; /*\u6C34\u5E73\u5C45\u4E2D*/");
|
262
|
-
shadow.classList.add('__authing-shadow-style-position');
|
263
|
-
shadow.id = shadowId;
|
264
|
-
var img = document.createElement('img');
|
265
|
-
img.id = 'authing__scanned-user';
|
266
|
-
img.src = photo;
|
267
|
-
img.style.width = '100px';
|
268
|
-
img.style.height = '100px';
|
269
|
-
shadow.appendChild(img);
|
270
|
-
return shadow;
|
271
|
-
};
|
272
|
-
start = function () { return __awaiter(_this, void 0, void 0, function () {
|
273
|
-
var random, url, data, error_1, qrcodeImage;
|
274
|
-
var _this = this;
|
275
|
-
return __generator(this, function (_a) {
|
276
|
-
switch (_a.label) {
|
277
|
-
case 0:
|
278
|
-
loading();
|
279
|
-
random = null;
|
280
|
-
url = null;
|
281
|
-
_a.label = 1;
|
282
|
-
case 1:
|
283
|
-
_a.trys.push([1, 3, , 4]);
|
284
|
-
return [4 /*yield*/, this.geneCode({
|
285
|
-
context: context,
|
286
|
-
customData: customData
|
287
|
-
})];
|
288
|
-
case 2:
|
289
|
-
data = _a.sent();
|
290
|
-
random = data.random;
|
291
|
-
url = data.url;
|
292
|
-
return [3 /*break*/, 4];
|
293
|
-
case 3:
|
294
|
-
error_1 = _a.sent();
|
295
|
-
error_1 = error_1;
|
296
|
-
genRetry(node, error_1.message);
|
297
|
-
if (onCodeLoadFailed) {
|
298
|
-
onCodeLoadFailed(error_1);
|
299
|
-
}
|
300
|
-
return [2 /*return*/];
|
301
|
-
case 4:
|
302
|
-
if (onCodeLoaded) {
|
303
|
-
onCodeLoaded(random, url);
|
304
|
-
}
|
305
|
-
nodeWrapper = document.createElement('div');
|
306
|
-
nodeWrapper.id = 'authing__qrcode-wrapper';
|
307
|
-
nodeWrapper.style.textAlign = 'center';
|
308
|
-
nodeWrapper.style.position = 'relative';
|
309
|
-
qrcodeImage = genImage(url);
|
310
|
-
qrcodeImage.onload = function () {
|
311
|
-
unloading();
|
312
|
-
if (onCodeShow) {
|
313
|
-
onCodeShow(random, url);
|
314
|
-
}
|
315
|
-
// 需要对用户的 onSuccess, onScanned, onExpired, onCancel 进行加工从而在页面上展示相关提示
|
316
|
-
var decoratedOnSuccess = function (userInfo, ticket) {
|
317
|
-
var shadow = genShadow(succeed, null, '__authing_success_tip');
|
318
|
-
nodeWrapper.appendChild(shadow);
|
319
|
-
if (onSuccess) {
|
320
|
-
if (autoExchangeUserInfo) {
|
321
|
-
var token = userInfo.token;
|
322
|
-
if (!token) {
|
323
|
-
// 轮询接口不会返回完整用户信息,需要使用 ticket 换取
|
324
|
-
_this.exchangeUserInfo(ticket).then(function (userInfo) {
|
325
|
-
// @ts-ignore
|
326
|
-
_this.tokenProvider.setUser(userInfo);
|
327
|
-
// @ts-ignore
|
328
|
-
onSuccess(userInfo, ticket);
|
329
|
-
});
|
330
|
-
}
|
331
|
-
}
|
332
|
-
else {
|
333
|
-
onSuccess(userInfo, ticket);
|
334
|
-
}
|
335
|
-
}
|
336
|
-
};
|
337
|
-
var decoratedOnScanned = function (userInfo) {
|
338
|
-
var shadow = displayScannedUser(userInfo.nickname, userInfo.photo);
|
339
|
-
nodeWrapper.appendChild(shadow);
|
340
|
-
if (onScanned) {
|
341
|
-
onScanned(userInfo);
|
342
|
-
}
|
343
|
-
};
|
344
|
-
var decoratedOnCancel = function () {
|
345
|
-
var shadow = genShadow(canceled, null, '__authing_success_tip');
|
346
|
-
nodeWrapper.appendChild(shadow);
|
347
|
-
if (onCancel) {
|
348
|
-
onCancel();
|
349
|
-
}
|
350
|
-
};
|
351
|
-
var decoratedOnExpired = function () {
|
352
|
-
var shadow = genShadow(expired, function () {
|
353
|
-
nodeWrapper.innerHTML = '';
|
354
|
-
start();
|
355
|
-
}, '__authing_success_tip');
|
356
|
-
nodeWrapper.appendChild(shadow);
|
357
|
-
if (onExpired) {
|
358
|
-
onExpired();
|
359
|
-
}
|
360
|
-
};
|
361
|
-
var decoratedOnError = function (data) {
|
362
|
-
var message = data.message;
|
363
|
-
if (onError) {
|
364
|
-
onError(message);
|
365
|
-
}
|
366
|
-
};
|
367
|
-
// 开始轮询
|
368
|
-
_this.startPolling(random, {
|
369
|
-
interval: interval,
|
370
|
-
onStart: onStart,
|
371
|
-
onResult: onResult,
|
372
|
-
onScanned: decoratedOnScanned,
|
373
|
-
onExpired: decoratedOnExpired,
|
374
|
-
onSuccess: decoratedOnSuccess,
|
375
|
-
onCancel: decoratedOnCancel,
|
376
|
-
onError: decoratedOnError
|
377
|
-
});
|
378
|
-
var tip = genTip(title);
|
379
|
-
nodeWrapper.appendChild(qrcodeImage);
|
380
|
-
nodeWrapper.appendChild(tip);
|
381
|
-
node.appendChild(nodeWrapper);
|
382
|
-
};
|
383
|
-
return [2 /*return*/];
|
384
|
-
}
|
385
|
-
});
|
386
|
-
}); };
|
387
|
-
start();
|
388
|
-
return [2 /*return*/];
|
389
|
-
});
|
390
|
-
});
|
391
|
-
};
|
392
|
-
/**
|
393
|
-
* @name geneCode
|
394
|
-
* @name_zh 生成二维码
|
395
|
-
* @description 生成二维码
|
396
|
-
*
|
397
|
-
* @example
|
398
|
-
* const authenticationClient = new AuthenticationClient({
|
399
|
-
* appId: "YOUR_APP_ID",
|
400
|
-
* })
|
401
|
-
* const { url, random } = await authenticationClient.wxqrcode.geneCode()
|
402
|
-
*
|
403
|
-
* # random 二维码唯一 ID
|
404
|
-
* # url 二维码链接
|
405
|
-
*
|
406
|
-
* @returns {Promise<QRCodeGenarateResult>}
|
407
|
-
* @memberof QrCodeAuthenticationClient
|
408
|
-
*/
|
409
|
-
QrCodeAuthenticationClient.prototype.geneCode = function (options) {
|
410
|
-
return __awaiter(this, void 0, void 0, function () {
|
411
|
-
var _a, context, customData, api, data;
|
412
|
-
return __generator(this, function (_b) {
|
413
|
-
switch (_b.label) {
|
414
|
-
case 0:
|
415
|
-
_a = options || {}, context = _a.context, customData = _a.customData;
|
416
|
-
api = this.baseClient.appHost + "/api/v2/qrcode/gene";
|
417
|
-
return [4 /*yield*/, this.httpClient.request({
|
418
|
-
method: 'POST',
|
419
|
-
url: api,
|
420
|
-
data: {
|
421
|
-
scene: this.scene,
|
422
|
-
context: context,
|
423
|
-
params: customData
|
424
|
-
}
|
425
|
-
})];
|
426
|
-
case 1:
|
427
|
-
data = _b.sent();
|
428
|
-
return [2 /*return*/, data];
|
429
|
-
}
|
430
|
-
});
|
431
|
-
});
|
432
|
-
};
|
433
|
-
/**
|
434
|
-
* @name checkStatus
|
435
|
-
* @name_zh 检测扫码状态
|
436
|
-
* @description 检测扫码状态
|
437
|
-
*
|
438
|
-
* @param {string} random
|
439
|
-
*
|
440
|
-
* @example
|
441
|
-
*
|
442
|
-
* const authenticationClient = new AuthenticationClient({
|
443
|
-
* appId: "YOUR_APP_ID",
|
444
|
-
* })
|
445
|
-
* const { random, status, ticket, userInfo } = await authenticationClient.wxqrcode.checkStatus('RANDOM')
|
446
|
-
* # status: 二维码状态: 0 - 未使用, 1 - 已扫码, 2 - 已授权, 3 - 取消授权, -1 - 已过期
|
447
|
-
* # ticket: 用于换取用户信息的一个随机字符串
|
448
|
-
* # userInfo: 用户信息
|
449
|
-
*
|
450
|
-
* @returns {Promise<QRCodeStatus>}
|
451
|
-
* @memberof QrCodeAuthenticationClient
|
452
|
-
*/
|
453
|
-
QrCodeAuthenticationClient.prototype.checkStatus = function (random) {
|
454
|
-
return __awaiter(this, void 0, void 0, function () {
|
455
|
-
var api, data;
|
456
|
-
return __generator(this, function (_a) {
|
457
|
-
switch (_a.label) {
|
458
|
-
case 0:
|
459
|
-
api = this.baseClient.appHost + "/api/v2/qrcode/check?random=" + random;
|
460
|
-
return [4 /*yield*/, this.httpClient.request({
|
461
|
-
method: 'GET',
|
462
|
-
url: api
|
463
|
-
})];
|
464
|
-
case 1:
|
465
|
-
data = _a.sent();
|
466
|
-
return [2 /*return*/, data];
|
467
|
-
}
|
468
|
-
});
|
469
|
-
});
|
470
|
-
};
|
471
|
-
/**
|
472
|
-
* @name exchangeUserInfo
|
473
|
-
* @name_zh 使用 ticket 交换用户信息
|
474
|
-
* @description 使用 ticket 交换用户信息
|
475
|
-
*
|
476
|
-
* @example
|
477
|
-
*
|
478
|
-
* const authenticationClient = new AuthenticationClient({
|
479
|
-
* appId: "YOUR_APP_ID",
|
480
|
-
* })
|
481
|
-
* const user = await authenticationClient.wxqrcode.exchangeUserInfo('TICKET')
|
482
|
-
* # user: 完整的用户信息,其中 user.token 为用户的登录凭证。
|
483
|
-
*
|
484
|
-
* @param {string} ticket ticket
|
485
|
-
* @returns {Promise<Partial<User>>}
|
486
|
-
* @memberof QrCodeAuthenticationClient
|
487
|
-
*/
|
488
|
-
QrCodeAuthenticationClient.prototype.exchangeUserInfo = function (ticket) {
|
489
|
-
return __awaiter(this, void 0, void 0, function () {
|
490
|
-
var api, userInfo;
|
491
|
-
return __generator(this, function (_a) {
|
492
|
-
switch (_a.label) {
|
493
|
-
case 0:
|
494
|
-
api = this.baseClient.appHost + "/api/v2/qrcode/userinfo";
|
495
|
-
return [4 /*yield*/, this.httpClient.request({
|
496
|
-
method: 'POST',
|
497
|
-
url: api,
|
498
|
-
data: {
|
499
|
-
ticket: ticket
|
500
|
-
}
|
501
|
-
})];
|
502
|
-
case 1:
|
503
|
-
userInfo = _a.sent();
|
504
|
-
return [2 /*return*/, userInfo];
|
505
|
-
}
|
506
|
-
});
|
507
|
-
});
|
508
|
-
};
|
509
|
-
/**
|
510
|
-
* @name startPolling
|
511
|
-
* @name_zh 开始轮询二维码状态
|
512
|
-
* @description 开始轮询二维码状态
|
513
|
-
*
|
514
|
-
* @param {string} random 二维码唯一 ID
|
515
|
-
* @param {Object} options
|
516
|
-
* @param {number} options.interval 间隔时间,单位为毫秒,默认为 800 毫秒
|
517
|
-
* @param {Function} options.onStart 开始轮询的事件回调函数, 第一个参数为 setInterval 返回的计时器,可以用 clearInterval 取消此计时器
|
518
|
-
* @param {Function} options.onResult 获取到二维码最新状态事件回调函数,第一个参数为的类型为 QRCodeStatus。
|
519
|
-
* @param {Function} options.onScanned 用户首次扫码事件回调函数。此时用户还没有授权,回调的用户信息中通仅包含昵称和头像,用作展示目的。
|
520
|
-
* 出于安全性考虑,默认情况下,userInfo 只会包含昵称(nickname)和头像(photo)两个字段,开发者也可以在后台配置使其返回完整用户信息,
|
521
|
-
* @param {Function} options.onSuccess 用户同意授权事件回调函数。该函数只会回调一次,之后轮询结束。第一个参数为 userInfo 用户信息,第二个参数为 ticket,用于换取用户的详情。
|
522
|
-
* 详情见 https://docs.authing.co/scan-qrcode/app-qrcode/customize.html。
|
523
|
-
* ticket 可以用来换取完整的用户信息,相关接口见 https://docs.authing.co/scan-qrcode/app-qrcode/full-api-list.html。
|
524
|
-
* @param {Function} options.onCancel 用户取消授权事件回调函数。该事件只会回调一次,之后轮询结束。
|
525
|
-
* @param {Function} options.onError 获取二维码状态失败事件回调函数。常见原因为网络失败等,每次查询失败时都会回调。回调参数 data 示例如 {"code": 2241,"message": "二维码不存在" }
|
526
|
-
* @param {Function} options.onExpired 二维码失效时被回调,只回调一次,之后轮询结束。
|
527
|
-
*
|
528
|
-
* @returns {null}
|
529
|
-
* @memberof QrCodeAuthenticationClient
|
530
|
-
*/
|
531
|
-
QrCodeAuthenticationClient.prototype.startPolling = function (random, options) {
|
532
|
-
return __awaiter(this, void 0, void 0, function () {
|
533
|
-
var _a, interval, onStart, onResult, onScanned, onExpired, onSuccess, onCancel, onError, calledOnScanned, callOnPoolingStart, timer;
|
534
|
-
var _this = this;
|
535
|
-
return __generator(this, function (_b) {
|
536
|
-
options = options || {};
|
537
|
-
_a = options.interval, interval = _a === void 0 ? 800 : _a, onStart = options.onStart, onResult = options.onResult, onScanned = options.onScanned, onExpired = options.onExpired, onSuccess = options.onSuccess, onCancel = options.onCancel, onError = options.onError;
|
538
|
-
calledOnScanned = false;
|
539
|
-
callOnPoolingStart = false;
|
540
|
-
timer = setInterval(function () { return __awaiter(_this, void 0, void 0, function () {
|
541
|
-
var data, status_1, ticket, userInfo, error_2;
|
542
|
-
return __generator(this, function (_a) {
|
543
|
-
switch (_a.label) {
|
544
|
-
case 0:
|
545
|
-
// 开始轮询时回调 onPollingStart
|
546
|
-
if (onStart && !callOnPoolingStart) {
|
547
|
-
onStart(timer);
|
548
|
-
callOnPoolingStart = true;
|
549
|
-
}
|
550
|
-
_a.label = 1;
|
551
|
-
case 1:
|
552
|
-
_a.trys.push([1, 3, , 4]);
|
553
|
-
return [4 /*yield*/, this.checkStatus(random)];
|
554
|
-
case 2:
|
555
|
-
data = _a.sent();
|
556
|
-
status_1 = data.status, ticket = data.ticket, userInfo = data.userInfo;
|
557
|
-
// 每次获取到数据都回调 onResult 函数
|
558
|
-
if (onResult) {
|
559
|
-
onResult(data);
|
560
|
-
}
|
561
|
-
// 过期
|
562
|
-
if (status_1 === -1) {
|
563
|
-
clearInterval(timer);
|
564
|
-
if (onExpired) {
|
565
|
-
onExpired();
|
566
|
-
}
|
567
|
-
}
|
568
|
-
// 未扫码
|
569
|
-
if (status_1 === 0) {
|
570
|
-
}
|
571
|
-
// 已扫码
|
572
|
-
if (status_1 === 1) {
|
573
|
-
if (onScanned && !calledOnScanned) {
|
574
|
-
onScanned(userInfo);
|
575
|
-
calledOnScanned = true;
|
576
|
-
}
|
577
|
-
}
|
578
|
-
// 已授权
|
579
|
-
if (status_1 === 2) {
|
580
|
-
clearInterval(timer);
|
581
|
-
if (onSuccess) {
|
582
|
-
onSuccess(userInfo, ticket);
|
583
|
-
}
|
584
|
-
}
|
585
|
-
// 已取消
|
586
|
-
if (status_1 === 3) {
|
587
|
-
clearInterval(timer);
|
588
|
-
if (onCancel) {
|
589
|
-
onCancel();
|
590
|
-
}
|
591
|
-
}
|
592
|
-
return [3 /*break*/, 4];
|
593
|
-
case 3:
|
594
|
-
error_2 = _a.sent();
|
595
|
-
if (onError) {
|
596
|
-
onError(error_2);
|
597
|
-
}
|
598
|
-
clearInterval(timer);
|
599
|
-
return [2 /*return*/];
|
600
|
-
case 4: return [2 /*return*/];
|
601
|
-
}
|
602
|
-
});
|
603
|
-
}); }, interval);
|
604
|
-
return [2 /*return*/, timer];
|
605
|
-
});
|
606
|
-
});
|
607
|
-
};
|
608
|
-
QrCodeAuthenticationClient.prototype.stopPolling = function (timer) {
|
609
|
-
return __awaiter(this, void 0, void 0, function () {
|
610
|
-
return __generator(this, function (_a) {
|
611
|
-
clearInterval(timer);
|
612
|
-
return [2 /*return*/];
|
613
|
-
});
|
614
|
-
});
|
615
|
-
};
|
616
|
-
return QrCodeAuthenticationClient;
|
617
|
-
}());
|
618
|
-
export { QrCodeAuthenticationClient };
|
619
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUXJDb2RlQXV0aGVudGljYXRpb25DbGllbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2F1dGhlbnRpY2F0aW9uL1FyQ29kZUF1dGhlbnRpY2F0aW9uQ2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQU9BLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUdwRCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUV0RTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXlCRztBQUNIO0lBT0Usb0NBQ0UsT0FBb0MsRUFDcEMsYUFBMEMsRUFDMUMsVUFBc0IsRUFDdEIsS0FBZ0M7UUFFaEMsSUFBSSxDQUFDLE9BQU8sR0FBRyxPQUFPLENBQU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