@kensio/yulin 1.18.2 → 1.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk/wire/sim-sdk-wire-operation.d.ts +15 -0
- package/dist/sdk/wire/sim-sdk-wire-operation.d.ts.map +1 -1
- package/dist/sdk/wire/sim-sdk-wire-operation.js +54 -2
- package/dist/sdk/wire/sim-sdk-wire-operation.js.map +1 -1
- package/dist/serve/http/api/sim-aws-api-endpoint.d.ts +3 -0
- package/dist/serve/http/api/sim-aws-api-endpoint.d.ts.map +1 -1
- package/dist/serve/http/api/sim-aws-api-endpoint.js +10 -2
- package/dist/serve/http/api/sim-aws-api-endpoint.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts +6 -0
- package/dist/service/aws/factory/sim-aws-lambda-collaborators.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-lambda-collaborators.js +6 -0
- package/dist/service/aws/factory/sim-aws-lambda-collaborators.js.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +5 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts +5 -4
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.d.ts.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js +5 -4
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-sign-in-policy.js.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts +13 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.d.ts.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js +30 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-mfa.js.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +9 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
- package/dist/service/cognito/command/auth/auth.command.d.ts +5 -0
- package/dist/service/cognito/command/auth/auth.command.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts +22 -0
- package/dist/service/cognito/command/auth/sim-cognito-answering-user.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-answering-user.js +25 -0
- package/dist/service/cognito/command/auth/sim-cognito-answering-user.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js +9 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-challenge.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts +6 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js +23 -5
- package/dist/service/cognito/command/auth/sim-cognito-auth-commands.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts +7 -3
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js +9 -3
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow-runner.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts +6 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js +6 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flow.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts +8 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js +16 -2
- package/dist/service/cognito/command/auth/sim-cognito-auth-flows.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts +7 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js +16 -0
- package/dist/service/cognito/command/auth/sim-cognito-auth-parameters.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts +35 -0
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js +83 -0
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts +3 -0
- package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js +18 -0
- package/dist/service/cognito/command/auth/sim-cognito-challenge-responses.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts +54 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js +87 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-challenge.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts +55 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js +64 -0
- package/dist/service/cognito/command/auth/sim-cognito-first-factor-response.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-mfa-challenge.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts +2 -1
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js +2 -2
- package/dist/service/cognito/command/auth/sim-cognito-new-password-challenge.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts +31 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-response.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-response.js +39 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-response.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-password-sign-in.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js +7 -2
- package/dist/service/cognito/command/auth/sim-cognito-unsimulated-auth-options.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts +44 -0
- package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js +62 -0
- package/dist/service/cognito/command/auth/sim-cognito-user-auth-sign-in.js.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts +30 -0
- package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.d.ts.map +1 -0
- package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js +36 -0
- package/dist/service/cognito/command/auth/sim-cognito-web-authn-response.js.map +1 -0
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +0 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js +1 -0
- package/dist/service/cognito/command/client/sim-cognito-user-pool-client-view.js.map +1 -1
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts +1 -0
- package/dist/service/cognito/command/client/user-pool-client.command.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts +22 -0
- package/dist/service/cognito/command/hosted/hosted-auth.command.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.d.ts +4 -4
- package/dist/service/cognito/command/hosted/sim-cognito-authorize-endpoint.js +4 -4
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts +6 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js +2 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-commands.js.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts +71 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.d.ts.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js +76 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-passkey-sign-in.js.map +1 -0
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts +16 -7
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.d.ts.map +1 -1
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js +26 -7
- package/dist/service/cognito/command/hosted/sim-cognito-hosted-sign-in.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts +1 -0
- package/dist/service/cognito/command/sim-cognito-command.types.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.d.ts +2 -0
- package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.js +9 -0
- package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-page.d.ts +10 -0
- package/dist/service/cognito/command/sim-cognito-page.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-page.js +11 -7
- package/dist/service/cognito/command/sim-cognito-page.js.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts +49 -0
- package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.d.ts.map +1 -0
- package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js +88 -0
- package/dist/service/cognito/command/user/sim-cognito-web-authn-commands.js.map +1 -0
- package/dist/service/cognito/command/user/web-authn.command.d.ts +87 -0
- package/dist/service/cognito/command/user/web-authn.command.d.ts.map +1 -0
- package/dist/service/cognito/command/user/web-authn.command.js +2 -0
- package/dist/service/cognito/command/user/web-authn.command.js.map +1 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts +4 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js +4 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-options.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts +5 -3
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js +5 -4
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +4 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +9 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
- package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts +2 -3
- package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts +24 -0
- package/dist/service/cognito/error/sim-cognito-managed-login.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito-managed-login.error.js +37 -0
- package/dist/service/cognito/error/sim-cognito-managed-login.error.js.map +1 -1
- package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts +56 -0
- package/dist/service/cognito/error/sim-cognito-web-authn.error.d.ts.map +1 -0
- package/dist/service/cognito/error/sim-cognito-web-authn.error.js +66 -0
- package/dist/service/cognito/error/sim-cognito-web-authn.error.js.map +1 -0
- package/dist/service/cognito/index.d.ts +9 -1
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +7 -0
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts +2 -2
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.d.ts.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js +4 -2
- package/dist/service/cognito/sdk/sim-cognito-sdk-command-router.js.map +1 -1
- package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts +11 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.d.ts.map +1 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js +28 -0
- package/dist/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts +4 -2
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.d.ts.map +1 -1
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.js +9 -3
- package/dist/service/cognito/serve/page/sim-cognito-managed-login.js.map +1 -1
- package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts +23 -0
- package/dist/service/cognito/serve/page/sim-cognito-passkey-page.d.ts.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js +36 -0
- package/dist/service/cognito/serve/page/sim-cognito-passkey-page.js.map +1 -0
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts +13 -1
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.d.ts.map +1 -1
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js +24 -2
- package/dist/service/cognito/serve/page/sim-cognito-sign-in-page.js.map +1 -1
- package/dist/service/cognito/sim-cognito-user-factors.d.ts +25 -0
- package/dist/service/cognito/sim-cognito-user-factors.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-user-factors.js +37 -0
- package/dist/service/cognito/sim-cognito-user-factors.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts +33 -2
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js +27 -12
- package/dist/service/cognito/user-pool/auth/sim-cognito-auth-session.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts +5 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js +12 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-pool-auth.js.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts +10 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js +14 -0
- package/dist/service/cognito/user-pool/auth/sim-cognito-sign-in.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts +27 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js +55 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-auth-session-validity.js.map +1 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts +6 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js +6 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client-settings.js.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts +6 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js +7 -0
- package/dist/service/cognito/user-pool/client/sim-cognito-user-pool-client.js.map +1 -1
- package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts +16 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js +32 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-relying-party.js.map +1 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts +16 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js +29 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js.map +1 -1
- package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts +46 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js +73 -0
- package/dist/service/cognito/user-pool/mfa/sim-cognito-web-authn-configuration.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts +1 -9
- package/dist/service/cognito/user-pool/sim-cognito-password-policy.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-password-policy.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts +60 -0
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js +100 -0
- package/dist/service/cognito/user-pool/sim-cognito-sign-in-policy.js.map +1 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts +11 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js +12 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts +48 -69
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js +58 -73
- package/dist/service/cognito/user-pool/sim-cognito-user-pool.js.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts +13 -18
- package/dist/service/cognito/user-pool/user/sim-cognito-user.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/user/sim-cognito-user.js +23 -24
- package/dist/service/cognito/user-pool/user/sim-cognito-user.js.map +1 -1
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts +73 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js +113 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-user-web-authn.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts +22 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js +53 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-assertion.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts +15 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js +68 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-attested-key.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts +33 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js +67 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-ceremony.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts +24 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js +45 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-client-data.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts +28 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js +41 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-creation-options.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts +69 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js +69 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-credential.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts +39 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js +90 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-device.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts +111 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js +2 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-document.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts +37 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js +39 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-keys.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts +21 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js +45 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-public-key.js.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts +52 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js +98 -0
- package/dist/service/cognito/user-pool/user/web-authn/sim-cognito-web-authn-signing.js.map +1 -0
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts +5 -4
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.d.ts.map +1 -1
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js +17 -4
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-path.js.map +1 -1
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts +8 -1
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.d.ts.map +1 -1
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js +10 -3
- package/dist/service/iam/sigv4/canonical/sim-iam-sigv4-canonical-request.js.map +1 -1
- package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js +1 -1
- package/dist/service/iam/sigv4/sim-iam-sigv4-signature-check.js.map +1 -1
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts +26 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js +32 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-creator.js.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts +40 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js +42 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-properties.js.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts +12 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js +26 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-property-rules.js.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts +13 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js +20 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-config-remover.js.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts +26 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.d.ts.map +1 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js +47 -0
- package/dist/service/lambda/cfn/event-invoke-config/sim-cfn-lambda-event-invoke-destinations.js.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts +20 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.d.ts.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js +29 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-dead-letter-parser.js.map +1 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts +3 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.d.ts.map +1 -1
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js +4 -0
- package/dist/service/lambda/cfn/function/sim-cfn-lambda-function-properties-parser.js.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.d.ts.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js +5 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-deleter.js.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts +1 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.d.ts.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js +8 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-resource-factory.js.map +1 -1
- package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts +35 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.d.ts.map +1 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js +73 -0
- package/dist/service/lambda/cfn/sim-cfn-lambda-target-arn.js.map +1 -0
- package/dist/service/lambda/command/create-function/create-function-input.d.ts +1 -0
- package/dist/service/lambda/command/create-function/create-function-input.d.ts.map +1 -1
- package/dist/service/lambda/command/create-function/create-function-input.js +2 -0
- package/dist/service/lambda/command/create-function/create-function-input.js.map +1 -1
- package/dist/service/lambda/command/create-function/create-function.command.d.ts +2 -0
- package/dist/service/lambda/command/create-function/create-function.command.d.ts.map +1 -1
- package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts +5 -1
- package/dist/service/lambda/command/delete-function/delete-function.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/delete-function/delete-function.handler.js +5 -1
- package/dist/service/lambda/command/delete-function/delete-function.handler.js.map +1 -1
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts +24 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.d.ts.map +1 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js +5 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.command.js.map +1 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts +24 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js +27 -0
- package/dist/service/lambda/command/delete-function-event-invoke-config/delete-function-event-invoke-config.handler.js.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts +29 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.d.ts.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js +39 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-authorizer.js.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts +32 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.d.ts.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js +62 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-input.js.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts +49 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.d.ts.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js +44 -0
- package/dist/service/lambda/command/event-invoke-config/event-invoke-config-request.js.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts +49 -0
- package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.d.ts.map +1 -0
- package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js +49 -0
- package/dist/service/lambda/command/event-invoke-config/sim-lambda-event-invoke-config-commands.js.map +1 -0
- package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts +4 -0
- package/dist/service/lambda/command/function/sim-lambda-function-commands.d.ts.map +1 -1
- package/dist/service/lambda/command/function/sim-lambda-function-commands.js.map +1 -1
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts +25 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.d.ts.map +1 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js +5 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.command.js.map +1 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts +23 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js +27 -0
- package/dist/service/lambda/command/get-function-event-invoke-config/get-function-event-invoke-config.handler.js.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts +31 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.d.ts.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js +24 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation-settings.js.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts +43 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.d.ts.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js +64 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocation.js.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts +26 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.d.ts.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js +33 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-invocations.js.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts +63 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.d.ts.map +1 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js +88 -0
- package/dist/service/lambda/command/invoke/async/sim-lambda-async-outcome.js.map +1 -0
- package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts +10 -3
- package/dist/service/lambda/command/invoke/invoke-dispatcher.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-dispatcher.js +16 -17
- package/dist/service/lambda/command/invoke/invoke-dispatcher.js.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-payload.d.ts +16 -0
- package/dist/service/lambda/command/invoke/invoke-payload.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke-payload.js +14 -4
- package/dist/service/lambda/command/invoke/invoke-payload.js.map +1 -1
- package/dist/service/lambda/command/invoke/invoke.handler.d.ts +4 -0
- package/dist/service/lambda/command/invoke/invoke.handler.d.ts.map +1 -1
- package/dist/service/lambda/command/invoke/invoke.handler.js +6 -2
- package/dist/service/lambda/command/invoke/invoke.handler.js.map +1 -1
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts +28 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.d.ts.map +1 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js +5 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.command.js.map +1 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts +23 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js +31 -0
- package/dist/service/lambda/command/list-function-event-invoke-configs/list-function-event-invoke-configs.handler.js.map +1 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts +31 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.d.ts.map +1 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js +5 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.command.js.map +1 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts +24 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js +32 -0
- package/dist/service/lambda/command/put-function-event-invoke-config/put-function-event-invoke-config.handler.js.map +1 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts +5 -0
- package/dist/service/lambda/command/sim-lambda-command.types.d.ts.map +1 -1
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.d.ts.map +1 -1
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js +2 -0
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration-input.js.map +1 -1
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts +6 -4
- package/dist/service/lambda/command/update-function-configuration/update-function-configuration.command.d.ts.map +1 -1
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts +30 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js +5 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.command.js.map +1 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts +25 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.d.ts.map +1 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js +33 -0
- package/dist/service/lambda/command/update-function-event-invoke-config/update-function-event-invoke-config.handler.js.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts +16 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.d.ts.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js +31 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-bus.js.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts +13 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.d.ts.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js +25 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-function.js.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts +15 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.d.ts.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js +25 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-queue.js.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts +15 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.d.ts.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js +2 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-send.js.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts +15 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.d.ts.map +1 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js +23 -0
- package/dist/service/lambda/destination/deliver/sim-lambda-destination-topic.js.map +1 -0
- package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts +38 -0
- package/dist/service/lambda/destination/sim-aws-lambda-destinations.d.ts.map +1 -0
- package/dist/service/lambda/destination/sim-aws-lambda-destinations.js +78 -0
- package/dist/service/lambda/destination/sim-aws-lambda-destinations.js.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts +53 -0
- package/dist/service/lambda/destination/sim-lambda-destination-arn.d.ts.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-arn.js +122 -0
- package/dist/service/lambda/destination/sim-lambda-destination-arn.js.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts +53 -0
- package/dist/service/lambda/destination/sim-lambda-destination-record.d.ts.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-record.js +26 -0
- package/dist/service/lambda/destination/sim-lambda-destination-record.js.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts +49 -0
- package/dist/service/lambda/destination/sim-lambda-destination-targets.d.ts.map +1 -0
- package/dist/service/lambda/destination/sim-lambda-destination-targets.js +25 -0
- package/dist/service/lambda/destination/sim-lambda-destination-targets.js.map +1 -0
- package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts +17 -0
- package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.d.ts.map +1 -0
- package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js +26 -0
- package/dist/service/lambda/function/event-invoke/lambda-dead-letter-target.js.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts +58 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.d.ts.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js +86 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config-store.js.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts +117 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.d.ts.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js +37 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-config.js.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts +35 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.d.ts.map +1 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js +70 -0
- package/dist/service/lambda/function/event-invoke/sim-lambda-event-invoke-settings.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts +3 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts +11 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.factory.d.ts.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js +27 -0
- package/dist/service/lambda/function/sim-lambda-function-configuration.factory.js.map +1 -0
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts +5 -0
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js +12 -0
- package/dist/service/lambda/function/sim-lambda-function-reconfiguration.js.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.d.ts +2 -0
- package/dist/service/lambda/function/sim-lambda-function.d.ts.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.js +7 -14
- package/dist/service/lambda/function/sim-lambda-function.js.map +1 -1
- package/dist/service/lambda/function/sim-lambda-function.type.d.ts +5 -0
- package/dist/service/lambda/function/sim-lambda-function.type.d.ts.map +1 -1
- package/dist/service/lambda/index.d.ts +2 -0
- package/dist/service/lambda/index.d.ts.map +1 -1
- package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts +10 -0
- package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.d.ts.map +1 -0
- package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js +32 -0
- package/dist/service/lambda/sdk/sim-lambda-event-invoke-config-routes.js.map +1 -0
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.d.ts.map +1 -1
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js +2 -0
- package/dist/service/lambda/sdk/sim-lambda-sdk-command-router.js.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.d.ts +11 -0
- package/dist/service/lambda/sim-lambda-commands.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda-commands.js +17 -1
- package/dist/service/lambda/sim-lambda-commands.js.map +1 -1
- package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts +23 -0
- package/dist/service/lambda/sim-lambda-event-invoke-operations.d.ts.map +1 -0
- package/dist/service/lambda/sim-lambda-event-invoke-operations.js +31 -0
- package/dist/service/lambda/sim-lambda-event-invoke-operations.js.map +1 -0
- package/dist/service/lambda/sim-lambda-inspection.d.ts +9 -0
- package/dist/service/lambda/sim-lambda-inspection.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda-inspection.js +13 -0
- package/dist/service/lambda/sim-lambda-inspection.js.map +1 -1
- package/dist/service/lambda/sim-lambda-request-options.d.ts +8 -0
- package/dist/service/lambda/sim-lambda-request-options.d.ts.map +1 -0
- package/dist/service/lambda/sim-lambda-request-options.js +2 -0
- package/dist/service/lambda/sim-lambda-request-options.js.map +1 -0
- package/dist/service/lambda/sim-lambda.d.ts +6 -7
- package/dist/service/lambda/sim-lambda.d.ts.map +1 -1
- package/dist/service/lambda/sim-lambda.js +4 -3
- package/dist/service/lambda/sim-lambda.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts +14 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-input.js +20 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-input.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts +14 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js +12 -0
- package/dist/service/s3/serve/api/sim-s3-api-object-output.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js +23 -1
- package/dist/service/s3/serve/api/sim-s3-api-object-routes.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-output.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-output.js +7 -1
- package/dist/service/s3/serve/api/sim-s3-api-output.js.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts +14 -3
- package/dist/service/s3/serve/api/sim-s3-api-route.type.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-routes.d.ts.map +1 -1
- package/dist/service/s3/serve/api/sim-s3-api-routes.js +2 -1
- package/dist/service/s3/serve/api/sim-s3-api-routes.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-user-pool-view.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-user-pool-view.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,OAAO,sBAAsB;IACjC
|
|
1
|
+
{"version":3,"file":"sim-cognito-user-pool-view.js","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/sim-cognito-user-pool-view.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,OAAO,sBAAsB;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,QAAQ,CAAC,IAAwB;QAC/B,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;QAE3D,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK;YACnB,sBAAsB,EAAE,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,EAAE;YAChE,QAAQ,EAAE;gBACR,cAAc,EAAE,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,QAAQ,EAAE;gBACvD,GAAG,CAAC,YAAY,KAAK,SAAS,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;aAClE;YACD,kBAAkB,EAAE,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,KAAK;YAC1D,YAAY,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,EAAE;YACnD,gBAAgB,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK;YACvD,qBAAqB,EAAE,IAAI,CAAC,QAAQ,CAAC,qBAAqB,CAAC,QAAQ,EAAE;YACrE,sBAAsB,EAAE,IAAI,CAAC,QAAQ,CAAC,sBAAsB,CAAC,QAAQ,EAAE;YACvE,kBAAkB,EAAE,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,QAAQ,EAAE;YAC/D,gBAAgB,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE;YACjD,sBAAsB,EAAE,IAAI,CAAC,SAAS;YACtC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,GAAG,IAAI,CAAC,QAAQ,CAAC,oBAAoB,CAAC,QAAQ,EAAE;SACjD,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,SAAS,CAAC,IAAwB;QAChC,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;SACxC,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -11,15 +11,14 @@ import type { SimCognitoUserPoolMfaType } from "../../user-pool/mfa/sim-cognito-
|
|
|
11
11
|
* message is delivered here, so the IAM role that would send one is never
|
|
12
12
|
* assumed.
|
|
13
13
|
*
|
|
14
|
-
* `WebAuthnConfiguration` is
|
|
15
|
-
*
|
|
14
|
+
* `WebAuthnConfiguration` is read and recorded. It is what a passkey is
|
|
15
|
+
* registered against, and what one is presented to at a sign-in.
|
|
16
16
|
*
|
|
17
17
|
* https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/SetUserPoolMfaConfigCommand/
|
|
18
18
|
*/
|
|
19
19
|
export interface SimSetUserPoolMfaConfigCommandInput extends SimCognitoUserPoolMfaType {
|
|
20
20
|
readonly UserPoolId?: string | undefined;
|
|
21
21
|
readonly EmailMfaConfiguration?: object | undefined;
|
|
22
|
-
readonly WebAuthnConfiguration?: object | undefined;
|
|
23
22
|
}
|
|
24
23
|
/**
|
|
25
24
|
* Minimal structural sim Cognito SetUserPoolMfaConfig command.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-pool-mfa.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/user-pool-mfa.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAElG;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,mCAAoC,SAAQ,yBAAyB;IACpF,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"user-pool-mfa.command.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/command/user-pool/user-pool-mfa.command.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kDAAkD,CAAC;AAElG;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,mCAAoC,SAAQ,yBAAyB;IACpF,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,KAAK,EAAE,mCAAmC,CAAC;CACrD;AAED;;;GAGG;AACH,MAAM,WAAW,oCAAqC,SAAQ,yBAAyB;IACrF,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,KAAK,EAAE,mCAAmC,CAAC;CACrD;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1C;AAED,MAAM,WAAW,oCAAqC,SAAQ,yBAAyB;IACrF,QAAQ,CAAC,SAAS,EAAE,mBAAmB,CAAC;CACzC"}
|
|
@@ -19,4 +19,28 @@ export declare class SimCognitoManagedLoginRequired extends SimCognitoOAuthError
|
|
|
19
19
|
* its sign-in form.
|
|
20
20
|
*/
|
|
21
21
|
export declare function isSimCognitoManagedLoginRequired(error: unknown): error is SimCognitoManagedLoginRequired;
|
|
22
|
+
/**
|
|
23
|
+
* An authorize request that has been asked for a passkey and has yet to
|
|
24
|
+
* present one.
|
|
25
|
+
*
|
|
26
|
+
* Real managed login runs the WebAuthn ceremony in the browser at this point,
|
|
27
|
+
* with the person's own authenticator, and posts the credential back. These
|
|
28
|
+
* pages serve no script, so the serving layer answers with a page carrying the
|
|
29
|
+
* challenge, and whatever holds the passkey presents it in the next request.
|
|
30
|
+
*
|
|
31
|
+
* The session is the challenge the pool issued, and the credential coming back
|
|
32
|
+
* has to have signed it.
|
|
33
|
+
*/
|
|
34
|
+
export declare class SimCognitoPasskeyRequired extends SimCognitoOAuthError {
|
|
35
|
+
/** The user the challenge was issued for. */
|
|
36
|
+
readonly username: string;
|
|
37
|
+
/** The challenge session a credential answers. */
|
|
38
|
+
readonly session: string;
|
|
39
|
+
constructor(username: string, session: string);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Whether an authorize request was one managed login would have asked for a
|
|
43
|
+
* passkey on.
|
|
44
|
+
*/
|
|
45
|
+
export declare function isSimCognitoPasskeyRequired(error: unknown): error is SimCognitoPasskeyRequired;
|
|
22
46
|
//# sourceMappingURL=sim-cognito-managed-login.error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-managed-login.error.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/error/sim-cognito-managed-login.error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,qBAAa,8BAA+B,SAAQ,oBAAoB;IACtE,cASC;CACF;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,8BAA8B,CAEzC"}
|
|
1
|
+
{"version":3,"file":"sim-cognito-managed-login.error.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/error/sim-cognito-managed-login.error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,qBAAa,8BAA+B,SAAQ,oBAAoB;IACtE,cASC;CACF;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,8BAA8B,CAEzC;AAED;;;;;;;;;;;GAWG;AACH,qBAAa,yBAA0B,SAAQ,oBAAoB;IACjE,6CAA6C;IAC7C,SAAgB,QAAQ,EAAE,MAAM,CAAC;IAEjC,kDAAkD;IAClD,SAAgB,OAAO,EAAE,MAAM,CAAC;IAEhC,YAAY,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAY5C;CACF;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,yBAAyB,CAEpC"}
|
|
@@ -29,4 +29,41 @@ export class SimCognitoManagedLoginRequired extends SimCognitoOAuthError {
|
|
|
29
29
|
export function isSimCognitoManagedLoginRequired(error) {
|
|
30
30
|
return error instanceof SimCognitoManagedLoginRequired;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* An authorize request that has been asked for a passkey and has yet to
|
|
34
|
+
* present one.
|
|
35
|
+
*
|
|
36
|
+
* Real managed login runs the WebAuthn ceremony in the browser at this point,
|
|
37
|
+
* with the person's own authenticator, and posts the credential back. These
|
|
38
|
+
* pages serve no script, so the serving layer answers with a page carrying the
|
|
39
|
+
* challenge, and whatever holds the passkey presents it in the next request.
|
|
40
|
+
*
|
|
41
|
+
* The session is the challenge the pool issued, and the credential coming back
|
|
42
|
+
* has to have signed it.
|
|
43
|
+
*/
|
|
44
|
+
export class SimCognitoPasskeyRequired extends SimCognitoOAuthError {
|
|
45
|
+
/** The user the challenge was issued for. */
|
|
46
|
+
username;
|
|
47
|
+
/** The challenge session a credential answers. */
|
|
48
|
+
session;
|
|
49
|
+
constructor(username, session) {
|
|
50
|
+
super({
|
|
51
|
+
code: "invalid_request",
|
|
52
|
+
description: "This request asked to sign in with a passkey, so the pool has " +
|
|
53
|
+
"issued a challenge and needs the credential answering it. Read the " +
|
|
54
|
+
"credential off the pool with SimCognitoUserPool.webAuthnAssertion, " +
|
|
55
|
+
"and post it back as credential with the passkey_session it answers.",
|
|
56
|
+
redirectable: false,
|
|
57
|
+
});
|
|
58
|
+
this.username = username;
|
|
59
|
+
this.session = session;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Whether an authorize request was one managed login would have asked for a
|
|
64
|
+
* passkey on.
|
|
65
|
+
*/
|
|
66
|
+
export function isSimCognitoPasskeyRequired(error) {
|
|
67
|
+
return error instanceof SimCognitoPasskeyRequired;
|
|
68
|
+
}
|
|
32
69
|
//# sourceMappingURL=sim-cognito-managed-login.error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-managed-login.error.js","sourceRoot":"","sources":["../../../../src/service/cognito/error/sim-cognito-managed-login.error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,8BAA+B,SAAQ,oBAAoB;IACtE;QACE,KAAK,CAAC;YACJ,IAAI,EAAE,iBAAiB;YACvB,WAAW,EACT,iEAAiE;gBACjE,iEAAiE;gBACjE,wDAAwD;YAC1D,YAAY,EAAE,KAAK;SACpB,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,UAAU,gCAAgC,CAC9C,KAAc;IAEd,OAAO,KAAK,YAAY,8BAA8B,CAAC;AACzD,CAAC"}
|
|
1
|
+
{"version":3,"file":"sim-cognito-managed-login.error.js","sourceRoot":"","sources":["../../../../src/service/cognito/error/sim-cognito-managed-login.error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,8BAA+B,SAAQ,oBAAoB;IACtE;QACE,KAAK,CAAC;YACJ,IAAI,EAAE,iBAAiB;YACvB,WAAW,EACT,iEAAiE;gBACjE,iEAAiE;gBACjE,wDAAwD;YAC1D,YAAY,EAAE,KAAK;SACpB,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,UAAU,gCAAgC,CAC9C,KAAc;IAEd,OAAO,KAAK,YAAY,8BAA8B,CAAC;AACzD,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,yBAA0B,SAAQ,oBAAoB;IACjE,6CAA6C;IAC7B,QAAQ,CAAS;IAEjC,kDAAkD;IAClC,OAAO,CAAS;IAEhC,YAAY,QAAgB,EAAE,OAAe;QAC3C,KAAK,CAAC;YACJ,IAAI,EAAE,iBAAiB;YACvB,WAAW,EACT,gEAAgE;gBAChE,qEAAqE;gBACrE,qEAAqE;gBACrE,qEAAqE;YACvE,YAAY,EAAE,KAAK;SACpB,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,UAAU,2BAA2B,CACzC,KAAc;IAEd,OAAO,KAAK,YAAY,yBAAyB,CAAC;AACpD,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { SimCognitoError } from "./sim-cognito.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* Simulated Cognito WebAuthnConfigurationMissingException error.
|
|
4
|
+
*
|
|
5
|
+
* Real Cognito reports a passkey operation against a pool that has no relying
|
|
6
|
+
* party id this way. A passkey is registered against a domain, so a pool that
|
|
7
|
+
* names none has nothing to register one against.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SimCognitoWebAuthnConfigurationMissingException extends SimCognitoError {
|
|
10
|
+
readonly name = "WebAuthnConfigurationMissingException";
|
|
11
|
+
constructor(message: string);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Simulated Cognito WebAuthnChallengeNotFoundException error.
|
|
15
|
+
*
|
|
16
|
+
* Real Cognito reports a credential answering a challenge it never issued this
|
|
17
|
+
* way, which covers a registration nobody started and one already completed.
|
|
18
|
+
*/
|
|
19
|
+
export declare class SimCognitoWebAuthnChallengeNotFoundException extends SimCognitoError {
|
|
20
|
+
readonly name = "WebAuthnChallengeNotFoundException";
|
|
21
|
+
constructor(message: string);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Simulated Cognito WebAuthnRelyingPartyMismatchException error.
|
|
25
|
+
*
|
|
26
|
+
* Real Cognito reports a credential signed for another relying party this way.
|
|
27
|
+
* The relying party is inside what the authenticator signed, so a credential
|
|
28
|
+
* made for one domain cannot be replayed at another.
|
|
29
|
+
*/
|
|
30
|
+
export declare class SimCognitoWebAuthnRelyingPartyMismatchException extends SimCognitoError {
|
|
31
|
+
readonly name = "WebAuthnRelyingPartyMismatchException";
|
|
32
|
+
constructor(message: string);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Simulated Cognito WebAuthnOriginNotAllowedException error.
|
|
36
|
+
*
|
|
37
|
+
* Real Cognito reports a credential collected at an origin the pool does not
|
|
38
|
+
* allow this way. The origin is in the client data the authenticator signed
|
|
39
|
+
* over, and a passkey is presented from the relying party's own site.
|
|
40
|
+
*/
|
|
41
|
+
export declare class SimCognitoWebAuthnOriginNotAllowedException extends SimCognitoError {
|
|
42
|
+
readonly name = "WebAuthnOriginNotAllowedException";
|
|
43
|
+
constructor(message: string);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Simulated Cognito WebAuthnCredentialNotSupportedException error.
|
|
47
|
+
*
|
|
48
|
+
* Real Cognito reports a credential it cannot use this way. Here that is one
|
|
49
|
+
* whose public key it cannot read, or one signed with an algorithm other than
|
|
50
|
+
* the ECDSA over P-256 the registration asked for.
|
|
51
|
+
*/
|
|
52
|
+
export declare class SimCognitoWebAuthnCredentialNotSupportedException extends SimCognitoError {
|
|
53
|
+
readonly name = "WebAuthnCredentialNotSupportedException";
|
|
54
|
+
constructor(message: string);
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=sim-cognito-web-authn.error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-web-authn.error.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/error/sim-cognito-web-authn.error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD;;;;;;GAMG;AACH,qBAAa,+CAAgD,SAAQ,eAAe;IAClF,SAAyB,IAAI,2CAA2C;IAExE,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;GAKG;AACH,qBAAa,4CAA6C,SAAQ,eAAe;IAC/E,SAAyB,IAAI,wCAAwC;IAErE,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;GAMG;AACH,qBAAa,+CAAgD,SAAQ,eAAe;IAClF,SAAyB,IAAI,2CAA2C;IAExE,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;GAMG;AACH,qBAAa,2CAA4C,SAAQ,eAAe;IAC9E,SAAyB,IAAI,uCAAuC;IAEpE,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF;AAED;;;;;;GAMG;AACH,qBAAa,iDAAkD,SAAQ,eAAe;IACpF,SAAyB,IAAI,6CAA6C;IAE1E,YAAY,OAAO,EAAE,MAAM,EAE1B;CACF"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { SimCognitoError } from "./sim-cognito.error.js";
|
|
2
|
+
/**
|
|
3
|
+
* Simulated Cognito WebAuthnConfigurationMissingException error.
|
|
4
|
+
*
|
|
5
|
+
* Real Cognito reports a passkey operation against a pool that has no relying
|
|
6
|
+
* party id this way. A passkey is registered against a domain, so a pool that
|
|
7
|
+
* names none has nothing to register one against.
|
|
8
|
+
*/
|
|
9
|
+
export class SimCognitoWebAuthnConfigurationMissingException extends SimCognitoError {
|
|
10
|
+
name = "WebAuthnConfigurationMissingException";
|
|
11
|
+
constructor(message) {
|
|
12
|
+
super(message, { httpStatusCode: 400 });
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Simulated Cognito WebAuthnChallengeNotFoundException error.
|
|
17
|
+
*
|
|
18
|
+
* Real Cognito reports a credential answering a challenge it never issued this
|
|
19
|
+
* way, which covers a registration nobody started and one already completed.
|
|
20
|
+
*/
|
|
21
|
+
export class SimCognitoWebAuthnChallengeNotFoundException extends SimCognitoError {
|
|
22
|
+
name = "WebAuthnChallengeNotFoundException";
|
|
23
|
+
constructor(message) {
|
|
24
|
+
super(message, { httpStatusCode: 400 });
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Simulated Cognito WebAuthnRelyingPartyMismatchException error.
|
|
29
|
+
*
|
|
30
|
+
* Real Cognito reports a credential signed for another relying party this way.
|
|
31
|
+
* The relying party is inside what the authenticator signed, so a credential
|
|
32
|
+
* made for one domain cannot be replayed at another.
|
|
33
|
+
*/
|
|
34
|
+
export class SimCognitoWebAuthnRelyingPartyMismatchException extends SimCognitoError {
|
|
35
|
+
name = "WebAuthnRelyingPartyMismatchException";
|
|
36
|
+
constructor(message) {
|
|
37
|
+
super(message, { httpStatusCode: 400 });
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Simulated Cognito WebAuthnOriginNotAllowedException error.
|
|
42
|
+
*
|
|
43
|
+
* Real Cognito reports a credential collected at an origin the pool does not
|
|
44
|
+
* allow this way. The origin is in the client data the authenticator signed
|
|
45
|
+
* over, and a passkey is presented from the relying party's own site.
|
|
46
|
+
*/
|
|
47
|
+
export class SimCognitoWebAuthnOriginNotAllowedException extends SimCognitoError {
|
|
48
|
+
name = "WebAuthnOriginNotAllowedException";
|
|
49
|
+
constructor(message) {
|
|
50
|
+
super(message, { httpStatusCode: 400 });
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Simulated Cognito WebAuthnCredentialNotSupportedException error.
|
|
55
|
+
*
|
|
56
|
+
* Real Cognito reports a credential it cannot use this way. Here that is one
|
|
57
|
+
* whose public key it cannot read, or one signed with an algorithm other than
|
|
58
|
+
* the ECDSA over P-256 the registration asked for.
|
|
59
|
+
*/
|
|
60
|
+
export class SimCognitoWebAuthnCredentialNotSupportedException extends SimCognitoError {
|
|
61
|
+
name = "WebAuthnCredentialNotSupportedException";
|
|
62
|
+
constructor(message) {
|
|
63
|
+
super(message, { httpStatusCode: 400 });
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=sim-cognito-web-authn.error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-web-authn.error.js","sourceRoot":"","sources":["../../../../src/service/cognito/error/sim-cognito-web-authn.error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,OAAO,+CAAgD,SAAQ,eAAe;IACzD,IAAI,GAAG,uCAAuC,CAAC;IAExE,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,OAAO,4CAA6C,SAAQ,eAAe;IACtD,IAAI,GAAG,oCAAoC,CAAC;IAErE,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,+CAAgD,SAAQ,eAAe;IACzD,IAAI,GAAG,uCAAuC,CAAC;IAExE,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,2CAA4C,SAAQ,eAAe;IACrD,IAAI,GAAG,mCAAmC,CAAC;IAEpE,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,OAAO,iDAAkD,SAAQ,eAAe;IAC3D,IAAI,GAAG,yCAAyC,CAAC;IAE1E,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC;CACF"}
|
|
@@ -7,10 +7,13 @@ export { SimCognitoDeletionProtection, type SimCognitoDeletionProtectionValue, }
|
|
|
7
7
|
export { SimCognitoAdminCreateUserConfig, type SimCognitoAdminCreateUserConfigType, } from "./user-pool/sim-cognito-admin-create-user-config.js";
|
|
8
8
|
export { SimCognitoMfaConfiguration, type SimCognitoMfaConfigurationValue, } from "./user-pool/mfa/sim-cognito-mfa-configuration.js";
|
|
9
9
|
export { SimCognitoUserPoolMfa, type SimCognitoSoftwareTokenMfaConfigType, type SimCognitoUserPoolMfaType, } from "./user-pool/mfa/sim-cognito-user-pool-mfa.js";
|
|
10
|
+
export { SimCognitoWebAuthnConfiguration, type SimCognitoWebAuthnConfigurationType, type SimCognitoWebAuthnUserVerification, } from "./user-pool/mfa/sim-cognito-web-authn-configuration.js";
|
|
10
11
|
export { SimCognitoAutoVerifiedAttributes } from "./user-pool/sim-cognito-auto-verified-attributes.js";
|
|
11
|
-
export { SimCognitoPasswordPolicy, type SimCognitoPasswordPolicyType, type
|
|
12
|
+
export { SimCognitoPasswordPolicy, type SimCognitoPasswordPolicyType, type SimCognitoUserPoolPoliciesType, } from "./user-pool/sim-cognito-password-policy.js";
|
|
13
|
+
export { SimCognitoSignInPolicy, type SimCognitoFirstAuthFactor, type SimCognitoSignInPolicyType, } from "./user-pool/sim-cognito-sign-in-policy.js";
|
|
12
14
|
export { SimCognitoUserPoolClient } from "./user-pool/client/sim-cognito-user-pool-client.js";
|
|
13
15
|
export type { SimCognitoUserPoolClientId } from "./user-pool/client/sim-cognito-user-pool-client-id.js";
|
|
16
|
+
export { SimCognitoAuthSessionValidity } from "./user-pool/client/sim-cognito-auth-session-validity.js";
|
|
14
17
|
export { SimCognitoExplicitAuthFlows } from "./user-pool/client/sim-cognito-explicit-auth-flows.js";
|
|
15
18
|
export { SimCognitoPreventUserExistenceErrors } from "./user-pool/client/sim-cognito-prevent-user-existence-errors.js";
|
|
16
19
|
export { SimCognitoTokenLifetime, type SimCognitoTokenValidityUnit, } from "./user-pool/client/sim-cognito-token-lifetime.js";
|
|
@@ -20,6 +23,10 @@ export { SimCognitoUserDirectory } from "./sim-cognito-user-directory.js";
|
|
|
20
23
|
export { SimCognitoFederation } from "./sim-cognito-federation.js";
|
|
21
24
|
export { SimCognitoAuthentication } from "./sim-cognito-authentication.js";
|
|
22
25
|
export { SimCognitoUser } from "./user-pool/user/sim-cognito-user.js";
|
|
26
|
+
export { SimCognitoUserWebAuthn } from "./user-pool/user/web-authn/sim-cognito-user-web-authn.js";
|
|
27
|
+
export { SimCognitoWebAuthnDevice } from "./user-pool/user/web-authn/sim-cognito-web-authn-device.js";
|
|
28
|
+
export { SimCognitoWebAuthnCredential, type SimCognitoWebAuthnCredentialDescription, } from "./user-pool/user/web-authn/sim-cognito-web-authn-credential.js";
|
|
29
|
+
export type { SimCognitoWebAuthnCreationOptions, SimCognitoWebAuthnDocumentValue, SimCognitoWebAuthnCredentialDescriptor, SimCognitoWebAuthnCredentialDocument, SimCognitoWebAuthnRequestOptions, } from "./user-pool/user/web-authn/sim-cognito-web-authn-document.js";
|
|
23
30
|
export { SimCognitoConfirmationCode } from "./user-pool/user/sim-cognito-confirmation-code.js";
|
|
24
31
|
export { SimCognitoUserPasswordReset } from "./user-pool/user/sim-cognito-user-password-reset.js";
|
|
25
32
|
export type { SimCognitoUsername } from "./user-pool/user/sim-cognito-username.js";
|
|
@@ -53,6 +60,7 @@ export { SimCognitoTriggerOccasion } from "./user-pool/trigger/sim-cognito-trigg
|
|
|
53
60
|
export { SimCognitoAuthSession } from "./user-pool/auth/sim-cognito-auth-session.js";
|
|
54
61
|
export { SimCognitoIssuedToken } from "./user-pool/auth/sim-cognito-issued-token.js";
|
|
55
62
|
export { SimCognitoPoolAuth } from "./user-pool/auth/sim-cognito-pool-auth.js";
|
|
63
|
+
export { SimCognitoWebAuthnChallengeNotFoundException, SimCognitoWebAuthnConfigurationMissingException, SimCognitoWebAuthnCredentialNotSupportedException, SimCognitoWebAuthnOriginNotAllowedException, SimCognitoWebAuthnRelyingPartyMismatchException, } from "./error/sim-cognito-web-authn.error.js";
|
|
56
64
|
export { isSimCognitoOAuthError, SimCognitoOAuthError, type SimCognitoOAuthErrorCode, } from "./error/sim-cognito-oauth.error.js";
|
|
57
65
|
export { SimCognitoAliasExistsException, SimCognitoCodeMismatchException, SimCognitoDuplicateProviderException, SimCognitoEnableSoftwareTokenMfaException, SimCognitoError, SimCognitoExpiredCodeException, SimCognitoGroupExistsException, SimCognitoInvalidParameterException, SimCognitoInvalidPasswordException, SimCognitoNotAuthorizedException, SimCognitoPasswordResetRequiredException, SimCognitoResourceNotFoundException, SimCognitoSoftwareTokenMfaNotFoundException, SimCognitoUsernameExistsException, SimCognitoUserNotConfirmedException, SimCognitoUserNotFoundException, SimCognitoUserPoolAlreadyExists, SimCognitoUserPoolClientAlreadyExists, } from "./error/sim-cognito.error.js";
|
|
58
66
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/cognito/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,KAAK,wCAAwC,GAC9C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,YAAY,EACV,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,0CAA0C,CAAC;AAClD,YAAY,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EACL,4BAA4B,EAC5B,KAAK,iCAAiC,GACvC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,+BAA+B,EAC/B,KAAK,mCAAmC,GACzC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,0BAA0B,EAC1B,KAAK,+BAA+B,GACrC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,qBAAqB,EACrB,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,GAC/B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AACvG,OAAO,EACL,wBAAwB,EACxB,KAAK,4BAA4B,EACjC,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/service/cognito/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,KAAK,wCAAwC,GAC9C,MA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ACnG,OAAO,EACL,4BAA4B,EAC5B,KAAK,0BAA0B,GAChC,MAAM,sDAAsD,CAAC;AAC9D,YAAY,EAAE,qBAAqB,EAAE,MAAM,iDAAiD,CAAC;AAC7F,OAAO,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AAChG,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EACL,4CAA4C,EAC5C,+CAA+C,EAC/C,iDAAiD,EACjD,2CAA2C,EAC3C,+CAA+C,GAChD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,KAAK,wBAAwB,GAC9B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,8BAA8B,EAC9B,+BAA+B,EAC/B,oCAAoC,EACpC,yCAAyC,EACzC,eAAe,EACf,8BAA8B,EAC9B,8BAA8B,EAC9B,mCAAmC,EACnC,kCAAkC,EAClC,gCAAgC,EAChC,wCAAwC,EACxC,mCAAmC,EACnC,2CAA2C,EAC3C,iCAAiC,EACjC,mCAAmC,EACnC,+BAA+B,EAC/B,+BAA+B,EAC/B,qCAAqC,GACtC,MAAM,8BAA8B,CAAC"}
|
|
@@ -5,9 +5,12 @@ export { SimCognitoDeletionProtection, } from "./user-pool/sim-cognito-deletion-
|
|
|
5
5
|
export { SimCognitoAdminCreateUserConfig, } from "./user-pool/sim-cognito-admin-create-user-config.js";
|
|
6
6
|
export { SimCognitoMfaConfiguration, } from "./user-pool/mfa/sim-cognito-mfa-configuration.js";
|
|
7
7
|
export { SimCognitoUserPoolMfa, } from "./user-pool/mfa/sim-cognito-user-pool-mfa.js";
|
|
8
|
+
export { SimCognitoWebAuthnConfiguration, } from "./user-pool/mfa/sim-cognito-web-authn-configuration.js";
|
|
8
9
|
export { SimCognitoAutoVerifiedAttributes } from "./user-pool/sim-cognito-auto-verified-attributes.js";
|
|
9
10
|
export { SimCognitoPasswordPolicy, } from "./user-pool/sim-cognito-password-policy.js";
|
|
11
|
+
export { SimCognitoSignInPolicy, } from "./user-pool/sim-cognito-sign-in-policy.js";
|
|
10
12
|
export { SimCognitoUserPoolClient } from "./user-pool/client/sim-cognito-user-pool-client.js";
|
|
13
|
+
export { SimCognitoAuthSessionValidity } from "./user-pool/client/sim-cognito-auth-session-validity.js";
|
|
11
14
|
export { SimCognitoExplicitAuthFlows } from "./user-pool/client/sim-cognito-explicit-auth-flows.js";
|
|
12
15
|
export { SimCognitoPreventUserExistenceErrors } from "./user-pool/client/sim-cognito-prevent-user-existence-errors.js";
|
|
13
16
|
export { SimCognitoTokenLifetime, } from "./user-pool/client/sim-cognito-token-lifetime.js";
|
|
@@ -17,6 +20,9 @@ export { SimCognitoUserDirectory } from "./sim-cognito-user-directory.js";
|
|
|
17
20
|
export { SimCognitoFederation } from "./sim-cognito-federation.js";
|
|
18
21
|
export { SimCognitoAuthentication } from "./sim-cognito-authentication.js";
|
|
19
22
|
export { SimCognitoUser } from "./user-pool/user/sim-cognito-user.js";
|
|
23
|
+
export { SimCognitoUserWebAuthn } from "./user-pool/user/web-authn/sim-cognito-user-web-authn.js";
|
|
24
|
+
export { SimCognitoWebAuthnDevice } from "./user-pool/user/web-authn/sim-cognito-web-authn-device.js";
|
|
25
|
+
export { SimCognitoWebAuthnCredential, } from "./user-pool/user/web-authn/sim-cognito-web-authn-credential.js";
|
|
20
26
|
export { SimCognitoConfirmationCode } from "./user-pool/user/sim-cognito-confirmation-code.js";
|
|
21
27
|
export { SimCognitoUserPasswordReset } from "./user-pool/user/sim-cognito-user-password-reset.js";
|
|
22
28
|
export { SimCognitoUserStatus, } from "./user-pool/user/sim-cognito-user-status.js";
|
|
@@ -46,6 +52,7 @@ export { SimCognitoTriggerOccasion } from "./user-pool/trigger/sim-cognito-trigg
|
|
|
46
52
|
export { SimCognitoAuthSession } from "./user-pool/auth/sim-cognito-auth-session.js";
|
|
47
53
|
export { SimCognitoIssuedToken } from "./user-pool/auth/sim-cognito-issued-token.js";
|
|
48
54
|
export { SimCognitoPoolAuth } from "./user-pool/auth/sim-cognito-pool-auth.js";
|
|
55
|
+
export { SimCognitoWebAuthnChallengeNotFoundException, SimCognitoWebAuthnConfigurationMissingException, SimCognitoWebAuthnCredentialNotSupportedException, SimCognitoWebAuthnOriginNotAllowedException, SimCognitoWebAuthnRelyingPartyMismatchException, } from "./error/sim-cognito-web-authn.error.js";
|
|
49
56
|
export { isSimCognitoOAuthError, SimCognitoOAuthError, } from "./error/sim-cognito-oauth.error.js";
|
|
50
57
|
export { SimCognitoAliasExistsException, SimCognitoCodeMismatchException, SimCognitoDuplicateProviderException, SimCognitoEnableSoftwareTokenMfaException, SimCognitoError, SimCognitoExpiredCodeException, SimCognitoGroupExistsException, SimCognitoInvalidParameterException, SimCognitoInvalidPasswordException, SimCognitoNotAuthorizedException, SimCognitoPasswordResetRequiredException, SimCognitoResourceNotFoundException, SimCognitoSoftwareTokenMfaNotFoundException, SimCognitoUsernameExistsException, SimCognitoUserNotConfirmedException, SimCognitoUserNotFoundException, SimCognitoUserPoolAlreadyExists, SimCognitoUserPoolClientAlreadyExists, } from "./error/sim-cognito.error.js";
|
|
51
58
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/cognito/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,GAE3B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAK1E,OAAO,EACL,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,0CAA0C,CAAC;AAElD,OAAO,EACL,4BAA4B,GAE7B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,+BAA+B,GAEhC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EACL,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|
*
|
|
6
6
|
* The routes are grouped the way the operations themselves are, into pools and
|
|
7
7
|
* their app clients, the users and groups in them, the domain and identity
|
|
8
|
-
* providers they federate through,
|
|
9
|
-
* touches the group it belongs to.
|
|
8
|
+
* providers they federate through, signing in, and the passkeys a user
|
|
9
|
+
* registers, so that adding an operation touches the group it belongs to.
|
|
10
10
|
*/
|
|
11
11
|
export declare class SimCognitoSdkCommandRouter implements SimSdkCommandRouter {
|
|
12
12
|
private readonly routes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/sdk/sim-cognito-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cognito-sdk-command-router.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/sdk/sim-cognito-sdk-command-router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAOtF;;;;;;;GAOG;AACH,qBAAa,0BAA2B,YAAW,mBAAmB;IACpE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0C;IAEjE,YAAY,UAAU,EAAE,0BAA0B,EAQjD;IAED;;OAEG;IACH,qBAAqB,IAAI,SAAS,MAAM,EAAE,CAEzC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAEzD;CACF"}
|
|
@@ -2,13 +2,14 @@ import { simCognitoSdkAuthRoutes } from "./sim-cognito-sdk-auth-routes.js";
|
|
|
2
2
|
import { simCognitoSdkDirectoryRoutes } from "./sim-cognito-sdk-directory-routes.js";
|
|
3
3
|
import { simCognitoSdkFederationRoutes } from "./sim-cognito-sdk-federation-routes.js";
|
|
4
4
|
import { simCognitoSdkPoolRoutes } from "./sim-cognito-sdk-pool-routes.js";
|
|
5
|
+
import { simCognitoSdkWebAuthnRoutes } from "./sim-cognito-sdk-web-authn-routes.js";
|
|
5
6
|
/**
|
|
6
7
|
* Routes intercepted SDK Commands to one scoped simulated Cognito.
|
|
7
8
|
*
|
|
8
9
|
* The routes are grouped the way the operations themselves are, into pools and
|
|
9
10
|
* their app clients, the users and groups in them, the domain and identity
|
|
10
|
-
* providers they federate through,
|
|
11
|
-
* touches the group it belongs to.
|
|
11
|
+
* providers they federate through, signing in, and the passkeys a user
|
|
12
|
+
* registers, so that adding an operation touches the group it belongs to.
|
|
12
13
|
*/
|
|
13
14
|
export class SimCognitoSdkCommandRouter {
|
|
14
15
|
routes;
|
|
@@ -18,6 +19,7 @@ export class SimCognitoSdkCommandRouter {
|
|
|
18
19
|
...simCognitoSdkDirectoryRoutes(simCognito),
|
|
19
20
|
...simCognitoSdkAuthRoutes(simCognito),
|
|
20
21
|
...simCognitoSdkFederationRoutes(simCognito),
|
|
22
|
+
...simCognitoSdkWebAuthnRoutes(simCognito),
|
|
21
23
|
]);
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/cognito/sdk/sim-cognito-sdk-command-router.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"sim-cognito-sdk-command-router.js","sourceRoot":"","sources":["../../../../src/service/cognito/sdk/sim-cognito-sdk-command-router.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AAEpF;;;;;;;GAOG;AACH,MAAM,OAAO,0BAA0B;IACpB,MAAM,CAA0C;IAEjE,YAAY,UAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAA6B;YAChD,GAAG,uBAAuB,CAAC,UAAU,CAAC;YACtC,GAAG,4BAA4B,CAAC,UAAU,CAAC;YAC3C,GAAG,uBAAuB,CAAC,UAAU,CAAC;YACtC,GAAG,6BAA6B,CAAC,UAAU,CAAC;YAC5C,GAAG,2BAA2B,CAAC,UAAU,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB;QACnB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAmB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;CACF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SimSdkCommandRoute } from "../../../sdk/index.js";
|
|
2
|
+
import type { SimCognitoIdentityProvider } from "../sim-cognito-identity-provider.js";
|
|
3
|
+
/**
|
|
4
|
+
* The SDK Command routes for a user's passkeys.
|
|
5
|
+
*
|
|
6
|
+
* None of them reads a caller from the SDK context, because real Cognito
|
|
7
|
+
* authorizes all four with the user's own access token and no IAM policy at
|
|
8
|
+
* all.
|
|
9
|
+
*/
|
|
10
|
+
export declare function simCognitoSdkWebAuthnRoutes(simCognito: SimCognitoIdentityProvider): readonly (readonly [string, SimSdkCommandRoute])[];
|
|
11
|
+
//# sourceMappingURL=sim-cognito-sdk-web-authn-routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-sdk-web-authn-routes.d.ts","sourceRoot":"","sources":["../../../../src/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAOhE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAEtF;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,0BAA0B,GACrC,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,EAAE,CA+BpD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The SDK Command routes for a user's passkeys.
|
|
3
|
+
*
|
|
4
|
+
* None of them reads a caller from the SDK context, because real Cognito
|
|
5
|
+
* authorizes all four with the user's own access token and no IAM policy at
|
|
6
|
+
* all.
|
|
7
|
+
*/
|
|
8
|
+
export function simCognitoSdkWebAuthnRoutes(simCognito) {
|
|
9
|
+
return [
|
|
10
|
+
[
|
|
11
|
+
"StartWebAuthnRegistrationCommand",
|
|
12
|
+
async (command) => await simCognito.startWebAuthnRegistration(command),
|
|
13
|
+
],
|
|
14
|
+
[
|
|
15
|
+
"CompleteWebAuthnRegistrationCommand",
|
|
16
|
+
async (command) => await simCognito.completeWebAuthnRegistration(command),
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
"ListWebAuthnCredentialsCommand",
|
|
20
|
+
async (command) => await simCognito.listWebAuthnCredentials(command),
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"DeleteWebAuthnCredentialCommand",
|
|
24
|
+
async (command) => await simCognito.deleteWebAuthnCredential(command),
|
|
25
|
+
],
|
|
26
|
+
];
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=sim-cognito-sdk-web-authn-routes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-sdk-web-authn-routes.js","sourceRoot":"","sources":["../../../../src/service/cognito/sdk/sim-cognito-sdk-web-authn-routes.ts"],"names":[],"mappings":"AASA;;;;;;GAMG;AACH,MAAM,UAAU,2BAA2B,CACzC,UAAsC;IAEtC,OAAO;QACL;YACE,kCAAkC;YAClC,KAAK,EAAE,OAAO,EAAoB,EAAE,CAClC,MAAM,UAAU,CAAC,yBAAyB,CACxC,OAA8C,CAC/C;SACJ;QACD;YACE,qCAAqC;YACrC,KAAK,EAAE,OAAO,EAAoB,EAAE,CAClC,MAAM,UAAU,CAAC,4BAA4B,CAC3C,OAAiD,CAClD;SACJ;QACD;YACE,gCAAgC;YAChC,KAAK,EAAE,OAAO,EAAoB,EAAE,CAClC,MAAM,UAAU,CAAC,uBAAuB,CACtC,OAA4C,CAC7C;SACJ;QACD;YACE,iCAAiC;YACjC,KAAK,EAAE,OAAO,EAAoB,EAAE,CAClC,MAAM,UAAU,CAAC,wBAAwB,CACvC,OAA6C,CAC9C;SACJ;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -13,6 +13,7 @@ import type { SimCognitoPageParameters } from "./sim-cognito-page-markup.js";
|
|
|
13
13
|
export declare class SimCognitoManagedLogin {
|
|
14
14
|
private readonly pageRequest;
|
|
15
15
|
private readonly signInPage;
|
|
16
|
+
private readonly passkeyPage;
|
|
16
17
|
private readonly signUpPage;
|
|
17
18
|
private readonly confirmPage;
|
|
18
19
|
private readonly forgotPasswordPage;
|
|
@@ -29,8 +30,9 @@ export declare class SimCognitoManagedLogin {
|
|
|
29
30
|
* Answer a refused authorize request on the sign-in form, where the form is
|
|
30
31
|
* what real managed login would have answered with.
|
|
31
32
|
*
|
|
32
|
-
* A request carrying no credentials gets the empty form. One
|
|
33
|
-
*
|
|
33
|
+
* A request carrying no credentials gets the empty form. One asking for a
|
|
34
|
+
* passkey gets the page that asks for the credential. One the person filled
|
|
35
|
+
* in wrongly gets the form back with the refusal on it, because a wrong
|
|
34
36
|
* password is theirs to correct rather than the application's to be told
|
|
35
37
|
* about. Every other refusal belongs to the application, and nothing here
|
|
36
38
|
* answers it.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-managed-login.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-managed-login.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sim-cognito-managed-login.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-managed-login.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAKhF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAa7E;;;;;;;;;GASG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA+B;IAC3D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IACzD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA+B;IAC3D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA8B;IACzD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA+B;IAC3D,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAsC;IACzE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAqC;IAEvE;;OAEG;IACH,MAAM,CAAC,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAE3C;IAED;;OAEG;IACG,UAAU,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAiBpE;IAED;;;;;;;;;;OAUG;IACH,aAAa,CACX,OAAO,EAAE,uBAAuB,EAChC,UAAU,EAAE,wBAAwB,EACpC,KAAK,EAAE,OAAO,GACb,QAAQ,GAAG,SAAS,CAkBtB;IAED,OAAO,CAAC,MAAM;CAMf"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { isSimCognitoManagedLoginRequired } from "../../error/sim-cognito-managed-login.error.js";
|
|
1
|
+
import { isSimCognitoManagedLoginRequired, isSimCognitoPasskeyRequired, } from "../../error/sim-cognito-managed-login.error.js";
|
|
2
2
|
import { isSimCognitoOAuthError } from "../../error/sim-cognito-oauth.error.js";
|
|
3
3
|
import { SimCognitoConfirmPage } from "./sim-cognito-confirm-page.js";
|
|
4
4
|
import { SimCognitoForgotPasswordPage } from "./sim-cognito-forgot-password-page.js";
|
|
5
5
|
import { SimCognitoPageForm } from "./sim-cognito-page-form.js";
|
|
6
|
+
import { SimCognitoPasskeyPage } from "./sim-cognito-passkey-page.js";
|
|
6
7
|
import { simCognitoForgotPasswordPath, simCognitoIsLocalSignIn, simCognitoPagePaths, simCognitoResetPasswordPath, simCognitoSignUpPath, } from "./sim-cognito-page-paths.js";
|
|
7
8
|
import { SimCognitoResetPasswordPage } from "./sim-cognito-reset-password-page.js";
|
|
8
9
|
import { SimCognitoPageRequest } from "./sim-cognito-page-request.js";
|
|
@@ -21,6 +22,7 @@ import { SimCognitoSignUpPage } from "./sim-cognito-sign-up-page.js";
|
|
|
21
22
|
export class SimCognitoManagedLogin {
|
|
22
23
|
pageRequest = new SimCognitoPageRequest();
|
|
23
24
|
signInPage = new SimCognitoSignInPage();
|
|
25
|
+
passkeyPage = new SimCognitoPasskeyPage();
|
|
24
26
|
signUpPage = new SimCognitoSignUpPage();
|
|
25
27
|
confirmPage = new SimCognitoConfirmPage();
|
|
26
28
|
forgotPasswordPage = new SimCognitoForgotPasswordPage();
|
|
@@ -55,8 +57,9 @@ export class SimCognitoManagedLogin {
|
|
|
55
57
|
* Answer a refused authorize request on the sign-in form, where the form is
|
|
56
58
|
* what real managed login would have answered with.
|
|
57
59
|
*
|
|
58
|
-
* A request carrying no credentials gets the empty form. One
|
|
59
|
-
*
|
|
60
|
+
* A request carrying no credentials gets the empty form. One asking for a
|
|
61
|
+
* passkey gets the page that asks for the credential. One the person filled
|
|
62
|
+
* in wrongly gets the form back with the refusal on it, because a wrong
|
|
60
63
|
* password is theirs to correct rather than the application's to be told
|
|
61
64
|
* about. Every other refusal belongs to the application, and nothing here
|
|
62
65
|
* answers it.
|
|
@@ -65,6 +68,9 @@ export class SimCognitoManagedLogin {
|
|
|
65
68
|
if (isSimCognitoManagedLoginRequired(error)) {
|
|
66
69
|
return this.signInPage.render(request.pool, parameters);
|
|
67
70
|
}
|
|
71
|
+
if (isSimCognitoPasskeyRequired(error)) {
|
|
72
|
+
return this.passkeyPage.render(parameters, error.username, error.session);
|
|
73
|
+
}
|
|
68
74
|
if (isSimCognitoOAuthError(error) || !simCognitoIsLocalSignIn(parameters)) {
|
|
69
75
|
return undefined;
|
|
70
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sim-cognito-managed-login.js","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-managed-login.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"sim-cognito-managed-login.js","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-managed-login.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,2BAA2B,GAC5B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAEhF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,EACL,4BAA4B,EAC5B,uBAAuB,EACvB,mBAAmB,EACnB,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,6BA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nD,CAAC;YACD,SAAS,CAAC;gBACR,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;;;;;;;OAUG;IACH,aAAa,CACX,OAAgC,EAChC,UAAoC,EACpC,KAAc;QAEd,IAAI,gCAAgC,CAAC,KAAK,CAAC,EAAE,CAAC;YAC5C,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC1D,CAAC;QAED,IAAI,2BAA2B,CAAC,KAAK,CAAC,EAAE,CAAC;YACvC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QAC5E,CAAC;QAED,IAAI,sBAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,UAAU,CAAC,EAAE,CAAC;YAC1E,OAAO,SAAS,CAAC;QACnB,CAAC;QAED,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAC3B,OAAO,CAAC,IAAI,EACZ,UAAU,EACV,kBAAkB,CAAC,SAAS,CAAC,KAAK,CAAC,CACpC,CAAC;IACJ,CAAC;IAEO,MAAM,CAAC,OAAgC;QAC7C,OAAO,IAAI,kBAAkB,CAC3B,OAAO,EACP,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG,CAAC,CAC7D,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type SimCognitoPageParameters } from "./sim-cognito-page-markup.js";
|
|
2
|
+
/**
|
|
3
|
+
* What a browser is asked for once it has said it will sign in with a passkey.
|
|
4
|
+
*
|
|
5
|
+
* Real managed login runs the WebAuthn ceremony here, in the browser, with the
|
|
6
|
+
* person's own authenticator, and posts the credential back without asking
|
|
7
|
+
* anybody anything. These pages serve no script, so the ceremony is a field on
|
|
8
|
+
* a form. A test reads what the authenticator would have produced off the pool
|
|
9
|
+
* with `SimCognitoUserPool.webAuthnAssertion`, passing the session this page
|
|
10
|
+
* carries, and posts it back.
|
|
11
|
+
*
|
|
12
|
+
* The form posts to the authorize endpoint, as the sign-in form does, carrying
|
|
13
|
+
* the parameters the browser arrived on and the challenge the pool issued.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SimCognitoPasskeyPage {
|
|
16
|
+
private readonly markup;
|
|
17
|
+
/**
|
|
18
|
+
* The page a browser is answered with, naming the challenge a passkey has to
|
|
19
|
+
* answer.
|
|
20
|
+
*/
|
|
21
|
+
render(parameters: SimCognitoPageParameters, username: string, session: string): Response;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=sim-cognito-passkey-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-cognito-passkey-page.d.ts","sourceRoot":"","sources":["../../../../../src/service/cognito/serve/page/sim-cognito-passkey-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,8BAA8B,CAAC;AAGtC;;;;;;;;;;;;GAYG;AACH,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;IACH,MAAM,CACJ,UAAU,EAAE,wBAAwB,EACpC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GACd,QAAQ,CAmBV;CACF"}
|