1 | import { AuthVerifiableAttributeKey } from '@aws-amplify/core/internals/utils';
|
2 | import { AuthCodeDeliveryDetails, AuthMFAType, AuthResetPasswordOutput, AuthSignInOutput, AuthSignUpOutput, AuthTOTPSetupDetails, AuthUpdateUserAttributeOutput, AuthUpdateUserAttributesOutput, AuthUserAttributes } from '../../../types';
|
3 | import { AWSAuthDevice, AuthUser, UserAttributeKey } from '../types';
|
4 | export interface FetchMFAPreferenceOutput {
|
5 | enabled?: AuthMFAType[];
|
6 | preferred?: AuthMFAType;
|
7 | }
|
8 |
|
9 |
|
10 |
|
11 | export type FetchUserAttributesOutput = AuthUserAttributes<UserAttributeKey>;
|
12 |
|
13 |
|
14 |
|
15 | export type GetCurrentUserOutput = AuthUser;
|
16 |
|
17 |
|
18 |
|
19 | export type ConfirmSignInOutput = AuthSignInOutput;
|
20 |
|
21 |
|
22 |
|
23 | export type ConfirmSignUpOutput = AuthSignUpOutput<AuthVerifiableAttributeKey>;
|
24 |
|
25 |
|
26 |
|
27 | export type ResendSignUpCodeOutput = AuthCodeDeliveryDetails<AuthVerifiableAttributeKey>;
|
28 |
|
29 |
|
30 |
|
31 | export type ResetPasswordOutput = AuthResetPasswordOutput<AuthVerifiableAttributeKey>;
|
32 |
|
33 |
|
34 |
|
35 | export type SetUpTOTPOutput = AuthTOTPSetupDetails;
|
36 |
|
37 |
|
38 |
|
39 | export type SignInOutput = AuthSignInOutput;
|
40 |
|
41 |
|
42 |
|
43 | export type SignInWithCustomAuthOutput = AuthSignInOutput;
|
44 |
|
45 |
|
46 |
|
47 | export type SignInWithSRPOutput = AuthSignInOutput;
|
48 |
|
49 |
|
50 |
|
51 | export type SignInWithUserPasswordOutput = AuthSignInOutput;
|
52 |
|
53 |
|
54 |
|
55 | export type SignInWithCustomSRPAuthOutput = AuthSignInOutput;
|
56 |
|
57 |
|
58 |
|
59 | export type SignUpOutput = AuthSignUpOutput<AuthVerifiableAttributeKey>;
|
60 |
|
61 |
|
62 |
|
63 | export type UpdateUserAttributesOutput = AuthUpdateUserAttributesOutput<UserAttributeKey>;
|
64 |
|
65 |
|
66 |
|
67 | export type SendUserAttributeVerificationCodeOutput = AuthCodeDeliveryDetails<AuthVerifiableAttributeKey>;
|
68 |
|
69 |
|
70 |
|
71 | export type UpdateUserAttributeOutput = AuthUpdateUserAttributeOutput<UserAttributeKey>;
|
72 |
|
73 |
|
74 |
|
75 | export type FetchDevicesOutput = AWSAuthDevice[];
|