1 | import { AuthVerifiableAttributeKey } from '@aws-amplify/core/internals/utils';
|
2 | import { ConfirmResetPasswordOptions, ConfirmSignInOptions, ConfirmSignUpOptions, MFAPreference, ResendSignUpCodeOptions, ResetPasswordOptions, SendUserAttributeVerificationCodeOptions, SignInOptions, SignUpOptions, UpdateUserAttributeOptions, UpdateUserAttributesOptions, UserAttributeKey, VerifiableUserAttributeKey, VerifyTOTPSetupOptions } from '../types';
|
3 | import { AuthConfirmResetPasswordInput, AuthConfirmSignInInput, AuthConfirmSignUpInput, AuthConfirmUserAttributeInput, AuthDeleteUserAttributesInput, AuthForgetDeviceInput, AuthResendSignUpCodeInput, AuthResetPasswordInput, AuthSendUserAttributeVerificationCodeInput, AuthSignInInput, AuthSignInWithRedirectInput, AuthSignOutInput, AuthSignUpInput, AuthUpdatePasswordInput, AuthUpdateUserAttributeInput, AuthUpdateUserAttributesInput, AuthVerifyTOTPSetupInput } from '../../../types';
|
4 |
|
5 |
|
6 |
|
7 | export type ConfirmResetPasswordInput = AuthConfirmResetPasswordInput<ConfirmResetPasswordOptions>;
|
8 |
|
9 |
|
10 |
|
11 | export type ConfirmSignInInput = AuthConfirmSignInInput<ConfirmSignInOptions>;
|
12 |
|
13 |
|
14 |
|
15 | export type ConfirmSignUpInput = AuthConfirmSignUpInput<ConfirmSignUpOptions>;
|
16 |
|
17 |
|
18 |
|
19 | export type ConfirmUserAttributeInput = AuthConfirmUserAttributeInput<AuthVerifiableAttributeKey>;
|
20 |
|
21 |
|
22 |
|
23 | export type ResendSignUpCodeInput = AuthResendSignUpCodeInput<ResendSignUpCodeOptions>;
|
24 |
|
25 |
|
26 |
|
27 | export type ResetPasswordInput = AuthResetPasswordInput<ResetPasswordOptions>;
|
28 |
|
29 |
|
30 |
|
31 | export type SignInInput = AuthSignInInput<SignInOptions>;
|
32 |
|
33 |
|
34 |
|
35 | export type SignInWithCustomAuthInput = AuthSignInInput<SignInOptions>;
|
36 |
|
37 |
|
38 |
|
39 | export type SignInWithCustomSRPAuthInput = AuthSignInInput<SignInOptions>;
|
40 |
|
41 |
|
42 |
|
43 | export type SignInWithSRPInput = AuthSignInInput<SignInOptions>;
|
44 |
|
45 |
|
46 |
|
47 | export type SignInWithUserPasswordInput = AuthSignInInput<SignInOptions>;
|
48 |
|
49 |
|
50 |
|
51 | export type SignInWithRedirectInput = AuthSignInWithRedirectInput;
|
52 |
|
53 |
|
54 |
|
55 | export type SignOutInput = AuthSignOutInput;
|
56 |
|
57 |
|
58 |
|
59 | export type SignUpInput = AuthSignUpInput<SignUpOptions<UserAttributeKey>>;
|
60 |
|
61 |
|
62 |
|
63 | export interface UpdateMFAPreferenceInput {
|
64 | sms?: MFAPreference;
|
65 | totp?: MFAPreference;
|
66 | }
|
67 |
|
68 |
|
69 |
|
70 | export type UpdatePasswordInput = AuthUpdatePasswordInput;
|
71 |
|
72 |
|
73 |
|
74 | export type UpdateUserAttributesInput = AuthUpdateUserAttributesInput<UserAttributeKey, UpdateUserAttributesOptions>;
|
75 |
|
76 |
|
77 |
|
78 | export type VerifyTOTPSetupInput = AuthVerifyTOTPSetupInput<VerifyTOTPSetupOptions>;
|
79 |
|
80 |
|
81 |
|
82 | export type SendUserAttributeVerificationCodeInput = AuthSendUserAttributeVerificationCodeInput<VerifiableUserAttributeKey, SendUserAttributeVerificationCodeOptions>;
|
83 |
|
84 |
|
85 |
|
86 | export type UpdateUserAttributeInput = AuthUpdateUserAttributeInput<UserAttributeKey, UpdateUserAttributeOptions>;
|
87 |
|
88 |
|
89 |
|
90 | export type DeleteUserAttributesInput = AuthDeleteUserAttributesInput<UserAttributeKey>;
|
91 |
|
92 |
|
93 |
|
94 | export type ForgetDeviceInput = AuthForgetDeviceInput;
|