luxlabs header browser preview


@class WBSDiagnosticStateCollector, NSString, NSArray, NSTimer, NSSet, NSMutableDictionary, NSDictionary, NSObject, WBSAuthenticationServicesAgentProxy, WBSKeychainCredentialNotificationMonitor, NSMutableArray;
@protocol OS_dispatch_queue;

@interface WBSSavedAccountStore : NSObject <WBSOngoingSharingGroupProviderSubscriber, WBSAuthenticationServicesAgentDelegate> {
    NSMutableDictionary *_personalKeychainHighLevelDomainToUsernameToPasswordToSavedAccounts;
    NSMutableDictionary *_personalKeychainUserHandleProtectionSpacePairsToSavedAccountsWithPasskeys;
    NSMutableDictionary *_groupIdentifiersToHighLevelDomainToUsernameToPasswordToSavedAccounts;
    NSMutableDictionary *_groupIdentifiersToUserHandleProtectionSpacePairsToSavedAccountsWithPasskeys;
    NSMutableDictionary *_recentlyDeletedPersonalKeychainHighLevelDomainToUsernameToPasswordToSavedAccounts;
    NSMutableDictionary *_recentlyDeletedPersonalKeychainUserHandleProtectionSpacePairsToSavedAccountsWithPasskeys;
    NSArray *_savedAccountsWithPasswords;
    NSArray *_savedAccounts;
    NSArray *_passkeysDataInPersonalKeychain;
    NSMutableDictionary *_highLevelDomainToLegacyPlatformAuthenticatorCredentials;
    NSDictionary *_groupIdentifiersToPasskeysData;
    WBSKeychainCredentialNotificationMonitor *_keychainMonitor;
    id _keychainNotificationRegistrationToken;
    NSObject<OS_dispatch_queue> *_queue;
    NSArray *_savedAccountsInPersonalKeychain;
    NSMutableDictionary *_groupIdentifiersToSavedAccounts;
    NSArray *_sharedAccountsGroups;
    NSMutableDictionary *_allSavedAccountsHighLevelDomainToUsernameToCredentialTypesToSavedAccounts;
    NSMutableArray *_allRecentlyDeletedSavedAccounts;
    NSMutableArray *_recentlyDeletedSavedAccountsInPersonalKeychain;
    NSArray *_recentlyDeletedPasskeysDataInPersonalKeychain;
    NSMutableDictionary *_sharedGroupIdentifiersToRecentlyDeletedSavedAccounts;
    NSDictionary *_groupIdentifiersToRecentlyDeletedPasskeysData;
    WBSAuthenticationServicesAgentProxy *_authenticationServicesAgentProxy;
    WBSDiagnosticStateCollector *_stateCollector;
    BOOL _shouldIgnoreKeychainUpdates;
    NSTimer *_warmDataStoreAfterResetTimer;
    _Atomic int _didReportKeychainItemsWithInvalidAuthenticationTypes;
    _Atomic int _isMigratingKeychainItemsWithInvalidAuthenticationTypes;
    struct atomic_flag { _Atomic BOOL _Value; } _didReportAccountsWithUnknownContributorID;
}

@property (class, readonly, nonatomic) WBSSavedAccountStore *sharedStore;

@property (readonly, nonatomic) NSArray *sharingGroupsWithSavedAccounts;
@property (readonly, nonatomic) NSArray *sharingGroupsWithRecentlyDeletedSavedAccounts;
@property (readonly, nonatomic) NSArray *sharedSavedAccountsInRecentlyDeletedToNotifyUserAbout;
@property (readonly, nonatomic) WBSAuthenticationServicesAgentProxy *authenticationServicesAgentProxy;
@property (nonatomic) BOOL shouldWarmDataStoreAfterReset;
@property (readonly, nonatomic) NSArray *savedAccountsWithPasswords;
@property (readonly, nonatomic) NSArray *savedAccounts;
@property (readonly, nonatomic) NSArray *savedAccountsWithPasswordsExcludingNeverSaveMarkerPasswords;
@property (readonly, nonatomic) BOOL hasPasswordsEligibleForAutoFill;
@property (readonly, nonatomic) BOOL hasPasskeysEligibleForAutoFill;
@property (readonly, nonatomic) NSSet *highLevelDomainsOfAllSavedAccountsWithPasswordsExcludingNeverSaveMarkerPasswords;
@property (readonly, nonatomic) NSArray *savedAccountsExcludingNeverSaveMarkerPasswords;
@property (readonly, nonatomic) NSSet *highLevelDomainsOfAllSavedAccountsExcludingNeverSaveMarkerPasswords;
@property (readonly, nonatomic) NSSet *highLevelDomainsOfRecentlyDeletedAccounts;
@property (readonly, nonatomic) NSArray *savedAccountsInPersonalKeychain;
@property (readonly, nonatomic) NSArray *savedAccountsInPersonalKeychainExcludingNeverSaveMarkerPasswords;
@property (readonly, nonatomic) NSArray *allRecentlyDeletedSavedAccounts;
@property (readonly, nonatomic) NSArray *recentlyDeletedSavedAccountsInPersonalKeychain;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

+ (void)deletePasskeyWithIdentifier:(id)a0;
+ (id)passkeysData;
+ (id)recentlyDeletedPasskeysData;
+ (void)removeCredentialTypes:(long long)a0 forSavedAccount:(id)a1 forGroup:(id)a2;
+ (void)updateUserVisibleName:(id)a0 forPasskeyWithIdentifier:(id)a1;

- (void)reset;
- (void)dealloc;
- (void)test_createPasskeyWithUserName:(id)a0 displayName:(id)a1 relyingPartyIdentifier:(id)a2 userHandle:(id)a3 completionHandler:(id /* block */)a4;
- (id)savedAccountsForPersistentIdentifiers:(id)a0;
- (void).cxx_destruct;
- (void)newPasskeysAvailableForApplicationIdentifier:(id)a0;
- (void)saveHideMarker:(id)a0 forSavedAccount:(id)a1;
- (void)_addNewGroupToCachedSharingGroups:(id)a0;
- (BOOL)_canMoveSavedAccount:(id)a0 toGroupWithID:(id)a1;
- (void)_fetchSharedAccountsGroups;
- (BOOL)_hasPersonWithParticipantID:(id)a0 contributedSavedAccountsToGroupWithID:(id)a1;
- (BOOL)_moveCredentialTypesToRecentlyDeleted:(long long)a0 fromSavedAccount:(id)a1;
- (BOOL)_moveSavedAccount:(id)a0 toGroupWithID:(id)a1;
- (BOOL)_moveSavedAccountsOriginallyContributedByCurrentUserToPersonalKeychainFromGroupID:(id)a0 isForAlreadyExitedGroup:(BOOL)a1;
- (void)_recordGroupIdentifierForExitCleanup:(id)a0 completionHandler:(id /* block */)a1;
- (BOOL)_recoverRecentlyDeletedSavedAccount:(id)a0;
- (id)_savedAccounts;
- (void)_updateLastOneTimeShareDateforSavedAccountIfNeeded:(id)a0;
- (BOOL)canChangeSavedAccountWithRequest:(id)a0;
- (BOOL)canSaveUser:(id)a0 password:(id)a1 forUserTypedSite:(id)a2 notes:(id)a3 groupID:(id)a4 error:(id *)a5;
- (void)changeSavedAccount:(id)a0 toUser:(id)a1 password:(id)a2;
- (void)changeSavedAccountWithRequest:(id)a0;
- (id)duplicateAccountsWithGroupID:(id)a0;
- (void)getSavedAccountsMatchingCriteria:(id)a0 withSynchronousCompletionHandler:(id /* block */)a1;
- (void)groupProviderReceivedUpdates:(id)a0;
- (id)highLevelDomainsOfSavedAccountsExcludingNeverSaveMarkerPasswordsForGroupID:(id)a0;
- (unsigned long long)numberOfSavedAccountsForHighLevelDomain:(id)a0;
- (id)persistentIdentifierForCredential:(id)a0 protectionSpace:(id)a1;
- (id)recentlyDeletedSavedAccountsForGroupWithID:(id)a0;
- (void)removeCredentialTypes:(long long)a0 forSavedAccount:(id)a1;
- (void)removeHideWarningMarkerForSavedAccount:(id)a0;
- (void)removeSite:(id)a0 fromSavedAccountWithPassword:(id)a1 withCompletion:(id /* block */)a2;
- (void)removeTOTPGeneratorForSavedAccount:(id)a0;
- (void)resetHiddenSecurityRecommendationsWithCompletionHandler:(id /* block */)a0;
- (void)saveTOTPGenerator:(id)a0 forSavedAccount:(id)a1;
- (id)saveUser:(id)a0 password:(id)a1 forProtectionSpace:(id)a2 highLevelDomain:(id)a3 groupID:(id)a4;
- (id)saveUser:(id)a0 password:(id)a1 forUserTypedSite:(id)a2 customTitle:(id)a3 notesEntry:(id)a4 groupID:(id)a5;
- (id)savedAccountsForGroupID:(id)a0;
- (void)setSavedAccountAsDefault:(id)a0 forProtectionSpace:(id)a1 context:(id)a2;
- (void)savedAccountsMatchingCriteria:(id)a0 withCompletionHandler:(id /* block */)a1;
- (void)saveNotesEntry:(id)a0 forSavedAccount:(id)a1;
- (void)_addGroupID:(id)a0 toArrayForUserDefaultsKey:(id)a1;
- (void)_addSavedAccount:(id)a0 toCachedDictionaryForSavedAccountsWithPasskeysForGroupID:(id)a1;
- (void)_addSavedAccount:(id)a0 toCachedDictionaryForSavedAccountsWithPasswordsForGroupID:(id)a1;
- (void)_addSavedAccountToRecentlyDeletedCachedCollections:(id)a0;
- (id)_allInternetPasswordEntriesFromGroupID:(id)a0;
- (id)_allInternetPasswordEntriesFromPersonalKeychain;
- (id)_allPersonalSidecarsForGroupID:(id)a0 fromRecentlyDeleted:(BOOL)a1;
- (id)_allPersonalSidecarsFromPersonalKeychainFromRecentlyDeleted:(BOOL)a0;
- (id)_allSharedSidecarsForGroupID:(id)a0 fromRecentlyDeleted:(BOOL)a1;
- (id)_allSidecarsFromPersonalKeychain;
- (BOOL)_canChangeSavedAccount:(id)a0 toUser:(id)a1 password:(id)a2 forGroupID:(id)a3;
- (BOOL)_canChangeSavedAccountInPersonalKeychain:(id)a0 toUser:(id)a1 password:(id)a2;
- (BOOL)_canMoveSavedAccountWithPasskey:(id)a0 toGroup:(id)a1;
- (BOOL)_canPerformMaintenanceTasks;
- (void)_cleanUpRedundantCredentialsWithoutUsernames;
- (void)_cleanUpSharedSavedAccountsWithUnknownOriginalContributorParticipantIDsIfNecessaryFromRecentlyDeleted:(BOOL)a0;
- (void)_clearExpiredRecentlyDeletedNotificationDates;
- (BOOL)_copySavedAccount:(id)a0 toGroup:(id)a1;
- (BOOL)_deleteSavedAccountsWithUnknownOriginalContributorParticipantIDsFromSavedAccounts:(id)a0 inGroup:(id)a1;
- (id)_diagnosticStateDictionary;
- (void)_ensureDomainsToUsersExists;
- (void)_ensureNoRecentlyDeletedSavedAccountsConflictWithSavedAccount:(id)a0;
- (void)_ensureRecentlyDeletedSavedAccountsAreLoadedOnInternalQueue;
- (void)_fetchAndFilterAllPasskeysData;
- (void)_fetchAndFilterPasskeysData;
- (void)_fetchAndFilterRecentlyDeletedPasskeysData;
- (id)_fetchCurrentAutoFillPasskeysWithCriteria:(id)a0;
- (id)_getSavedAccountMatchesFromSavedAccountTreeMatchesOnInternalQueue:(id)a0 withCriteria:(id)a1 mergingAutoFillPasskeys:(id)a2 nearbyDeviceOptions:(id)a3;
- (id)_getSavedAccountTreeMatchesWithCriteriaOnInternalQueue:(id)a0 relyingPartyURL:(id)a1;
- (id)_getSavedAccountsMatchingCriteriaOnInternalQueue:(id)a0;
- (id)_groupIDArrayForUserDefaultsKey:(id)a0;
- (void)_identifySharedSavedAccountsWithSameUsernameAndHighLevelDomainPairs;
- (BOOL)_isMigratingKeychainItemsWithInvalidAuthenticationTypes;
- (id)_loadAndMergeSavedAccountsFromGroupID:(id)a0 intoAllSavedAccounts:(id)a1;
- (id)_loadAndMergeSavedAccountsFromPersonalKeychainIntoAllSavedAccounts:(id)a0;
- (void)_loadRecentlyDeletedSavedAccounts;
- (void)_loadRecentlyDeletedSavedAccountsFromSharedGroupIDs:(id)a0;
- (void)_loadRecentlyDeletedSavedAccountsInPersonalKeychain;
- (id)_loadSavedAccounts;
- (id)_loadSavedAccountsWithPasskeysFromPasskeyData:(id)a0 forGroupID:(id)a1 fromRecentlyDeleted:(BOOL)a2 withDictionaryForSavedAccountsWithPasskeys:(id)a3;
- (id)_loadSavedAccountsWithPasswordsFromKeychainData:(id)a0 forGroupID:(id)a1 withDictionaryForSavedAccountsWithPasswords:(id)a2 fromRecentlyDeleted:(BOOL)a3;
- (void)_matchSidecars:(id)a0 toSavedAccountsWithPasskeysInDictionary:(id)a1 unmatchedSidecars:(id)a2;
- (void)_matchSidecars:(id)a0 toSavedAccountsWithPasswordsInDictionary:(id)a1 unmatchedSidecars:(id)a2;
- (id)_mergeLoadedSavedAccounts:(id)a0 intoAllSavedAccounts:(id)a1;
- (void)_mergeSavedAccountWithPasskey:(id)a0 toSavedAccountWithPassword:(id)a1;
- (void)_mergeSavedAccountWithPassword:(id)a0 toSavedAccountWithPasskey:(id)a1;
- (id)_mergeSavedAccountsWithPasskeys:(id)a0 andSavedAccountsWithPasswords:(id)a1 usingDictionaryForSavedAccountsWithPasswords:(id)a2 dictionaryForSavedAccountsWithPasskeys:(id)a3;
- (void)_migratePasswordsWithInvalidAuthenticationTypes;
- (void)_moveContributedSavedAccountsBackToPersonalKeychainIfNecessary;
- (BOOL)_moveCredentialTypesToRecentlyDeletedOnInternalQueue:(long long)a0 fromSavedAccount:(id)a1;
- (BOOL)_moveSavedAccountsOriginallyContributedByCurrentUserToPersonalKeychainFromGroupIDOnInternalQueue:(id)a0 isForAlreadyExitedGroup:(BOOL)a1;
- (void)_performCleanupForExitedGroupsIfNecessary:(id /* block */)a0;
- (void)_performLegacySidecarModificationWithChangeRequest:(id)a0 toSavedAccount:(id)a1;
- (void)_performOneTimeMigrationForRadar105843594IfNeeded;
- (void)_performRecentlyDeletedMaintenanceIfNecessary;
- (id)_persistentIdentifierForUser:(id)a0 host:(id)a1;
- (void)_postSavedAccountStoreDidChangeNotification;
- (void)_prewarm;
- (void)_pruneSavedAccountTreeMatchesOnInternalQueue:(id)a0 basedOnUsernameAndPasswordCriteria:(id)a1 autoFillPasskeyIdentifiers:(id)a2;
- (void)_recordGroupIdentifierForMovingContributedCredentialsBackToPersonalKeychain:(id)a0;
- (id)_relyingPartyURLForPasskeyCredentialIdentifierOnInternalQueue:(id)a0;
- (void)_removeCredentialTypes:(long long)a0 forSavedAccount:(id)a1;
- (void)_removeGroupID:(id)a0 fromArrayForUserDefaultsKey:(id)a1;
- (void)_removeSavedAccount:(id)a0 fromCachedCollectionsForCredentialTypes:(long long)a1;
- (void)_removeSavedAccount:(id)a0 fromCachedDictionaryForSavedAccountsWithPasskeysForGroupID:(id)a1;
- (void)_removeSavedAccount:(id)a0 fromCachedDictionaryForSavedAccountsWithPasswordsForGroupID:(id)a1;
- (void)_removeSavedAccount:(id)a0 fromGroupID:(id)a1;
- (void)_removeSavedAccountFromRecentlyDeletedCachedCollections:(id)a0;
- (void)_reportAccountsWithUnknownContributorIDIfNeeded;
- (void)_reportKeychainItemsWithInvalidAuthenticationTypesIfNeeded;
- (void)_resetOnInternalQueue;
- (id)_saveAccountOnInternalQueueWithUser:(id)a0 password:(id)a1 forUserTypedSite:(id)a2 groupID:(id)a3;
- (id)_saveAccountOnInternalQueueWithUser:(id)a0 password:(id)a1 protectionSpace:(id)a2 highLevelDomain:(id)a3 groupID:(id)a4;
- (void)_saveSidecarObjectsOnInternalQueueForSavedAccount:(id)a0 withBlock:(id /* block */)a1;
- (void)_saveSidecarObjectsOnInternalQueueForSavedAccountWithPassword:(id)a0 withBlock:(id /* block */)a1;
- (void)_saveSidecarOnInternalQueueForSavedAccountWithPasskey:(id)a0 withBlock:(id /* block */)a1;
- (id)_saveUser:(id)a0 passkeyCredential:(id)a1 passkeyRelyingPartyID:(id)a2;
- (id)_savedAccountForProtectionSpace:(id)a0 user:(id)a1 password:(id)a2;
- (id)_savedAccountsWithPasswords;
- (BOOL)_shouldUpdateLastUsedDateForSavedAccount:(id)a0 forProtectionSpace:(id)a1 inContext:(id)a2;
- (void)_updateCachedSharedAccountGroupsOnInternalQueue;
- (void)_updateSavedAccountsAndSavedAccountsWithPasswordsDictionary:(id)a0 withChangeFromOldUser:(id)a1 oldPassword:(id)a2 forSavedAccountWithPassword:(id)a3;
- (void)_verifyGroupsInSync;
- (void)_warmDataStoreAfterResetTimerFired:(id)a0;
- (void)_writeSidecarDataForMergedSavedAccount:(id)a0;
- (BOOL)canChangeSavedAccount:(id)a0 toUser:(id)a1 password:(id)a2;
- (BOOL)canSaveUser:(id)a0 password:(id)a1 forProtectionSpace:(id)a2 highLevelDomain:(id)a3 notes:(id)a4 groupID:(id)a5 error:(id *)a6;
- (id)getSavedAccountWithPasskeyCredentialForUserHandle:(id)a0 protectionSpace:(id)a1;
- (id)initAndPrewarmSavedAccounts:(BOOL)a0;
- (id)initWithAuthenticationServicesAgentProxy:(id)a0 shouldPrewarmSavedAccounts:(BOOL)a1;
- (void)performTaskEnsuringAllAccountSourcesAreLoadedOnQueue:(id)a0 task:(id /* block */)a1;
- (id)persistentIdentifierForSavedAccount:(id)a0;
- (void)removeDontSaveMarkerForProtectionSpace:(id)a0;
- (void)removeLegacyPlatformCredentialsForDomains:(id)a0;
- (void)saveCustomTitle:(id)a0 forSavedAccount:(id)a1;
- (id)saveUser:(id)a0 password:(id)a1 forUserTypedSite:(id)a2 groupID:(id)a3;
- (id)saveUser:(id)a0 password:(id)a1 forUserTypedSite:(id)a2 notesEntry:(id)a3 groupID:(id)a4;
- (id)savedAccountForURL:(id)a0 user:(id)a1 password:(id)a2;
- (id)savedAccountForURLCredential:(id)a0 protectionSpace:(id)a1;
- (id)savedAccountForUserTypedSite:(id)a0 userName:(id)a1;
- (id)savedAccountWithAllMetadataForURLCredential:(id)a0 protectionSpace:(id)a1;
- (void)savedAccountWithAllMetadataForURLCredential:(id)a0 protectionSpace:(id)a1 completion:(id /* block */)a2;
- (void)setDontSaveMarkerForSavedAccountsWithProtectionSpace:(id)a0;
- (void)setSavedAccountAsDefault:(id)a0 forProtectionSpace:(id)a1;
- (void)test_reloadAllSavedAccounts;
- (void)test_setSharedAccountsGroups:(id)a0;

@end