Commit Graph

12 Commits

Author SHA1 Message Date
Doug c423410cb1 Fix unresponsive soft-logout in the legacy flow. (#6329)
- Delegate logic to the OnboardingCoordinator like the new flow does.
- Reset the credentials on every presentation of authVC.
- Make sure not to set the credentials after deleting the data.
2022-06-21 17:30:10 +01:00
ismailgulek 91b2cdd2e0 Merge branch 'develop' into ismail/6181_auth_soft_logout 2022-06-09 15:46:29 +03:00
ismailgulek f44f9ae1da Use softLogoutCredentials in AuthenticationService, fix blank screen before soft logout 2022-06-09 14:21:13 +03:00
Doug e8e3ad86c8 Add an unrecognised certificate alert to the new authentication flow. 2022-06-09 09:37:57 +01:00
ismailgulek 7cd40c7a26 Pass soft logout credentials on coordinator initialization 2022-06-08 15:59:52 +03:00
ismailgulek c62852a580 Handle provisioning links in AuthenticationService and call delegate method 2022-06-07 16:19:24 +03:00
ismailgulek e142365fa8 Remove bad methods from auth coordinators 2022-06-07 16:17:46 +03:00
Doug 5eb676be30 Handle SSO deep links via the AuthenticationServiceDelegate. 2022-05-25 17:38:21 +01:00
Doug 1b74f87b35 Add Email/Terms/ReCaptcha into the Authentication flow
Replace ReCaptcha navigation delegate with a WKUserContentController.
Move callback property closures onto the MainActor.
Show a loading indicator whilst waiting for the authentication service to start.
Move nextUncompletedStage into FlowResult.
Handle text field actions during authentication.
Remove scroll view tweaks in server selection screen following EMS banner removal.
2022-05-19 11:43:38 +01:00
Doug f2277cbd3d Send the Signup analytics event (#6118)
* Implement the Signup event from AuthenticationViewController.

Use AuthenticationFlow instead of MXKAuthenticationType.
Create new AuthenticationType that aligns with AnalyticsEvent naming.
Add additional cases from AnalyticsEvents.
2022-05-06 13:08:54 +01:00
Doug 8121d6e442 Add SessionVerificationListener. 2022-05-04 19:26:38 +01:00
Doug cc360b4487 Add Authentication Flow WIP.
- Add Registration Screen.
- Add Server Selection Screen.
- Rename AuthenticationCoordinator to LegacyAuthenticationCoordinator.
- Add AuthenticationService and RegistrationWizard.
- Async extensions.
- Add global white and EMS colors to the themes.
- Add tests for server selection and registration screens.
- Accessibility and iPad layout tweaks.
- Remove MainActor from Auth Coordinators/VMs/Views.
(It broke the protocol conformances so now the methods and properties are marked individually.)
2022-05-04 19:26:38 +01:00