1 | import { Handler } from "../../handler";
|
2 | import { BaseTriggerEvent, StringMap } from "./_common";
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export interface VerifyAuthChallengeResponseTriggerEvent
|
8 | extends BaseTriggerEvent<"VerifyAuthChallengeResponse_Authentication">
|
9 | {
|
10 | request: {
|
11 | userAttributes: StringMap;
|
12 | privateChallengeParameters: StringMap;
|
13 | challengeAnswer: string;
|
14 | userNotFound?: boolean | undefined;
|
15 | clientMetadata?: StringMap | undefined;
|
16 | };
|
17 | response: {
|
18 | answerCorrect: boolean;
|
19 | };
|
20 | }
|
21 |
|
22 | export type VerifyAuthChallengeResponseTriggerHandler = Handler<VerifyAuthChallengeResponseTriggerEvent>;
|