Commit Graph

15 Commits

Author SHA1 Message Date
Nathan Mattes 22b9e912f6 Remove unused completion (IOS-192) 2024-02-19 12:09:51 +01:00
Nathan Mattes 460ede4852 User UserIdentification for search and accounts (IOS-192)
Thanks to @kimar!
2023-12-31 12:59:38 +01:00
Nathan Mattes 60aafe6330 Add JSON-based account-persistence (IOS-192)
This is per user.

Also: Fetch authenticated accounts regularly
Also: Move Persistence-stuff to MastodonCore because.
2023-12-31 12:57:56 +01:00
Marcus Kida 1a1eecac64 Delete authentication credentials from Keychain upon logout
Fixes #1181
2023-11-24 21:20:04 +01:00
Nathan Mattes 6df7cf8a80 Don't use core data in memory (for now) 2023-10-11 15:52:05 +02:00
Nathan Mattes c5bba298ac Improve log statement
🤦

Co-authored-by: Marcus Kida <marcus.kida@bearologics.com>
2023-06-13 15:11:50 +02:00
Nathan Mattes 001404b1ae Slightly refactor authentication migration 2023-06-13 15:11:50 +02:00
Nathan Mattes aede20f2c8 Mark migration as succesful only in case of success 2023-06-13 15:11:50 +02:00
Nathan Mattes 183f303065 Move extension to its own file 2023-06-13 15:11:50 +02:00
Marcus Kida 73909005de Fix migration issues with duplicate persistent store 2023-06-13 15:11:50 +02:00
Marcus Kida 55afa02b52 Try migrating old auth to keychain 2023-06-13 15:11:50 +02:00
Marcus Kida 4c9c34b6ce Migrate legacy authentications 2023-06-13 15:11:50 +02:00
Nathan Mattes aa9a6ee701 Make account switching work again 2023-06-13 14:47:43 +02:00
Marcus Kida 06c72a022a Persist Authentication in Keychain 2023-06-13 14:47:43 +02:00
Marcus Kida d570d3ef09 Replace MastodonAuthentication to not be backed by CoreData 2023-06-13 14:47:43 +02:00