-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust: - Made AuthIssues it's own state and not just a "sub-state" of Disconnected. - Split up the [StateV2.start_over] into [StateManager.disconnect] and [StateManager.logout_from_auth_issues]. Kotlin: - Flattened out FxaAuthState so that each possible state is just an object with no fields - Renamed `AuthStateChanged` to `AuthEvent`. I think this is a better name because the auth state doesn't always change. - Added support for the AUTH_ISSUES state and logoutFromAuthIssues - Updated the unit tests to test all possible actions from all possible states. - Handled some corner cases better in FxaActionProcessor, for example if one OAuth flow is in-progress and a second BeginOAuthFlow action fails, we now stay in the AUTHENTICATING state rather than go back to DISCONNECTED.
- Loading branch information
Showing
10 changed files
with
562 additions
and
527 deletions.
There are no files selected for viewing
This file contains 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 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 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.