-
Notifications
You must be signed in to change notification settings - Fork 261
fix(auth)!: Fetch Auth Session offline behavior #2585
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
Merged
Merged
Changes from 10 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
de04055
feat(auth): update fetch auth session behavior
Jordan-Nelson db43e95
fix(auth): remove getAWSCredentials arg from native plugin
Jordan-Nelson c728e66
chore: update federateToIdentityPool test
Jordan-Nelson 09bf02a
chore: CognitoAuthSessionResult doc comments
Jordan-Nelson 2075777
chore: add/update tests for fetchAuthSession
Jordan-Nelson 453b6f2
chore: add tests for unauth access, fix failing tests
Jordan-Nelson 558dbfe
chore: update fetchAuthSession integ tests
Jordan-Nelson c8a0992
fix(authenticator)!: Update authenticator offline behavior
Jordan-Nelson c022843
chore: add comment to CognitoAuthSession
Jordan-Nelson 36c880d
chore: update failing android test
Jordan-Nelson 5c6aadf
chore: expose results from CognitoAuthSession, throw AuthExceptions
Jordan-Nelson 3a5806b
chore: make tests more realistic
Jordan-Nelson 0130b1a
chore: make AWSResult AWSDebuggable
Jordan-Nelson 116c625
chore: early exit for no identity pool
Jordan-Nelson f2ee6f3
chore: update CognitoAuthSession.toJson
Jordan-Nelson 165e56f
chore: add doc comment to AWSResultType
Jordan-Nelson ed256cd
chore: update fetchAuthSession stub
Jordan-Nelson 63700c1
chore: undo sample app changes
Jordan-Nelson 17dc8b9
chore: simplify AuthProvider
Jordan-Nelson 381931c
chore: revert changes to SignedOutException
Jordan-Nelson 0ad80c3
chore: add valueOrNull to AWSResult
Jordan-Nelson 16524b8
chore: add back members to CognitoAuthSession, update toJson
Jordan-Nelson 84a3ee9
chore: add getAWSCredentials back as deprecated
Jordan-Nelson d220427
chore: remove empty CognitoSessionOptions
Jordan-Nelson c3cf041
chore: refactor exception handling
Jordan-Nelson 760f539
chore: force unwrap awsCredentials & identityId
Jordan-Nelson 2a94899
chore: update authenticator to catch Exception not object
Jordan-Nelson 9c4ec36
chore: add stacktrace to AWSResult
Jordan-Nelson dc791a5
fix: amplify_test
Jordan-Nelson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/auth/amplify_auth_cognito/example/ios/unit_tests/NativeAuthPluginTests.swift
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 4 additions & 9 deletions
13
packages/auth/amplify_auth_cognito/lib/src/native_auth_plugin.g.dart
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...ain/kotlin/com/amazonaws/amplify/amplify_auth_cognito/NativeAuthPluginBindingsPigeon.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.