Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(storage): add multi-bucket feature support #5681

Merged
merged 25 commits into from
Dec 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e847d8a
feat(core): add storage bucket type (#5478)
NikaHsn Sep 20, 2024
3fecfa4
updating storage_outputs class for multi-bucket support
Sep 17, 2024
10aee0b
seperated bucket out into its own class instead of using a map
Sep 17, 2024
95f3e55
made bucket_output class a proper output class like the others in amp…
Sep 18, 2024
06cad0a
added doc comments and changed name of bucket class
Sep 18, 2024
565c46d
Update auth.dart
ekjotmultani Sep 18, 2024
dc03882
added trailing commas to pass ci test
Sep 18, 2024
6a3ea1d
Delete devtools_options.yaml
ekjotmultani Sep 18, 2024
f6b8cb3
ran dart format on two failing files
Sep 18, 2024
9246fff
updated resource.ts and backend.ts for multiple buckets in our infra-…
Sep 24, 2024
600e725
updated resource.ts and backend.ts for multiple buckets in our infra-…
Sep 24, 2024
2753202
feat(storage): update s3 storage service to support multiple s3 clien…
NikaHsn Sep 25, 2024
0658d24
feat(storage): update uploadData API to accept optional storage bucke…
NikaHsn Oct 14, 2024
9d4f747
feat(storage): multi bucket get properties api (#5577)
ekjotmultani Oct 24, 2024
8b7e5b8
feat(storage): multi bucket remove (#5598)
Equartey Oct 28, 2024
670f8eb
feat(storage): multi bucket download data (#5599)
Equartey Oct 28, 2024
f9083d4
feat(storage): multi bucket upload file (#5600)
Equartey Oct 29, 2024
fc1293c
chore(storage): add e2e tests for upload data api (#5622)
NikaHsn Nov 1, 2024
59ebae6
feat(storage): multi bucket list api (#5576)
ekjotmultani Nov 4, 2024
ef95d1f
feat(storage): multi bucket remove many api (#5633)
NikaHsn Nov 6, 2024
fcc011d
feat(storage): multi bucket get url (#5659)
Equartey Nov 11, 2024
a487307
feat(storage): multi bucket download file api (#5656)
ekjotmultani Nov 12, 2024
7a46411
feat(storage): multi bucket copy (#5674)
tyllark Nov 19, 2024
0db2d4f
chore(storage): test data to use clear random names for bucket info (…
NikaHsn Nov 26, 2024
4622de3
chore(ci): rebase with main to fix the failing tests
Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update auth.dart
ekjotmultani authored and Nika Hassani committed Dec 3, 2024
commit 565c46dbb5ee401600b285547fc697562752c24a
6 changes: 3 additions & 3 deletions packages/amplify_core/doc/lib/auth.dart
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ Future<void> _handleSignInResult(SignInResult result) async {
// #enddocregion handle-signin, handle-confirm-signin-sms, handle-confirm-signin-new-password, handle-confirm-signin-custom-challenge, handle-confirm-signin-reset-password, handle-confirm-signin-confirm-signup, handle-confirm-signin-done, handle-confirm-signin-mfa-selection, handle-confirm-signin-totp-setup, handle-confirm-signin-totp-code, handle-confirm-signin-email-code, handle-confirm-signin-mfa-setup-selection, handle-confirm-signin-email-setup
// #docregion handle-confirm-signin-mfa-selection
case AuthSignInStep.continueSignInWithMfaSelection:
final allowedMfaTypes = result.nextStep.allowedMfaTypes;
final allowedMfaTypes = result.nextStep.allowedMfaTypes!;
final selection = await _promptUserPreference(allowedMfaTypes);
return _handleMfaSelection(selection);
// #enddocregion handle-confirm-signin-mfa-selection
@@ -126,7 +126,7 @@ Future<void> _handleSignInResult(SignInResult result) async {
// #enddocregion handle-confirm-signin-mfa-setup-selection
// #docregion handle-confirm-signin-totp-setup
case AuthSignInStep.continueSignInWithTotpSetup:
final totpSetupDetails = result.nextStep.totpSetupDetails;
final totpSetupDetails = result.nextStep.totpSetupDetails!;
final setupUri = totpSetupDetails.getSetupUri(appName: 'MyApp');
safePrint('Open URI to complete setup: $setupUri');
// #enddocregion handle-confirm-signin-totp-setup
@@ -276,7 +276,7 @@ Future<void> signOutGlobally() async {
if (result is CognitoCompleteSignOut) {
safePrint('Sign out completed successfully');
} else if (result is CognitoPartialSignOut) {
final globalSignOutException = result.globalSignOutException;
final globalSignOutException = result.globalSignOutException!;
final accessToken = globalSignOutException.accessToken;
// Retry the global sign out using the access token, if desired
// ...