@class SSAccount, NSArray, SSPromise, NSString, ACAccountStore, NSObject, SSKeyValueStore; @protocol OS_dispatch_queue; @interface SSAccountStore : NSObject <AKAppleIDAuthenticationDelegate> @property (retain, nonatomic) NSArray *accountsCache; @property (retain, nonatomic) NSObject<OS_dispatch_queue> *accountsCacheAccessQueue; @property (retain, nonatomic) NSObject<OS_dispatch_queue> *fetchAccountsQueue; @property (nonatomic, getter=isInProcessCacheDisabled) BOOL inProcessCacheDisabled; @property (retain, nonatomic) SSKeyValueStore *keyValueStore; @property (retain, nonatomic) NSObject<OS_dispatch_queue> *metricsQueue; @property (retain, nonatomic) NSObject<OS_dispatch_queue> *notificationQueue; @property (readonly, nonatomic) SSPromise *accountsPromise; @property (readonly, getter=isAuthenticationActive) BOOL authenticationActive; @property (readonly, nonatomic) ACAccountStore *backingAccountStore; @property (readonly, nonatomic) SSAccount *demoAccount; @property (readonly, nonatomic) SSPromise *localAccount; @property (readonly) SSAccount *activeAccount; @property (readonly) SSAccount *activeSandboxAccount; @property (readonly) SSAccount *activeLockerAccount; @property (readonly, copy) NSArray *accounts; @property (readonly, copy) SSAccount *localiTunesAccount; @property (readonly, getter=isExpired) BOOL expired; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (BOOL)_copyKVSDatabaseWithError:(id *)a0; + (void)_setActiveAccountIsManagedAppleIDPreference:(BOOL)a0; + (void)_disableAccountStoreChangedNotifications; + (BOOL)isExpired; + (id)defaultStore; + (id)_createAuthenticationContextForAccount:(id)a0 silentAuthentication:(BOOL)a1 options:(id)a2; + (id)_refreshAccount:(id)a0; + (void)_removeAccountFromUnitTestStore:(id)a0; + (id)_createUpdatedAccount:(id)a0 withAuthenticationResults:(id)a1 options:(id)a2; + (id)_hashedDescriptionFromAccountDictionary:(id)a0; + (void)_enableAccountStoreChangedNotifications; + (id)_unitTestAccountsAccessQueue; + (void)_cleanupActiveAccountsAfterMigrationWithActiveDSID:(id)a0 activeLockerDSID:(id)a1; + (id)_migrateAccountDictionary:(id)a0 fromKeyValueStore:(id)a1 originalActiveDSID:(id)a2 originalActiveLockerDSID:(id)a3 logKey:(id)a4 error:(id *)a5; + (void)resetExpirationForTokenType:(long long)a0; + (BOOL)unitTestModeEnabled; + (BOOL)_isBuddyRunning; + (void)_postAccountsChangedDarwinNotification; + (void)setUnitTestModeEnabled:(BOOL)a0; + (id)existingDefaultStore; + (void)setAuthenticationStartedDate:(id)a0; + (id)_backingAccountForAccount:(id)a0; + (id)_copyKVSDatabasePath; + (void)_addAccountToUnitTestStore:(id)a0; + (BOOL)migrateToAccountsFramework; + (BOOL)_currentProcessLinksUIKit; + (BOOL)_allowSilentPasswordAuthForAccount:(id)a0 withOptions:(id)a1; + (BOOL)isExpiredForTokenType:(long long)a0; + (double)tokenExpirationInterval; + (id)_createAuthenticationController; + (void)_excludeCopyKVSDatabasePathFromBackups; + (BOOL)URLResponseAllowsSilentAuthentication:(id)a0; + (void)_postAccountsChangedInternalDarwinNotification; + (BOOL)_accountDictionaryRepresentsActiveLockerAccount:(id)a0 inKeyValueStore:(id)a1; + (BOOL)_shouldRemoveAccountDictionaryWithoutMigration:(id)a0 reason:(id *)a1; + (BOOL)areAccountStoreChangedNotificationsDisabled; + (void)_removeAccountDictionary:(id)a0 fromKeyValueStore:(id)a1; + (BOOL)_accountDictionaryRepresentsActiveAccount:(id)a0 inKeyValueStore:(id)a1; + (void)resetExpiration; - (id)setActiveAccount:(id)a0; - (id)addAccount:(id)a0; - (void)reloadAccounts; - (void)_recordAnalyticsForMetricsDialogEvent:(id)a0 withTopic:(id)a1; - (void)signOutAllAccounts; - (id)init; - (id)_saveAccount:(id)a0 verifyCredentials:(BOOL)a1; - (void)dealloc; - (void)_postAccountStoreChangeNotification; - (id)accountWithAccountName:(id)a0; - (id)accountWithAltDSID:(id)a0; - (id)_updateAccountWithAuthKitViaSilentPETAuth:(id)a0 options:(id)a1; - (void)getDefaultAccountNameUsingBlock:(id /* block */)a0; - (id)_updateAccountWithAuthKitViaSilentPasswordAuth:(id)a0 options:(id)a1; - (void)removeAllAccountsWithCompletion:(id /* block */)a0; - (BOOL)removeAccount:(id)a0 error:(id *)a1; - (void)_postAuthenticationActivityNotification; - (id)setActiveLockerAccount:(id)a0; - (void)saveAccount:(id)a0 completion:(id /* block */)a1; - (void)clearCachedAccounts; - (BOOL)repairAccountWithBrokenDSID:(id)a0; - (BOOL)authenticationController:(id)a0 shouldContinueWithAuthenticationResults:(id)a1 error:(id)a2 forContext:(id)a3; - (void)resetExpirationForTokenType:(long long)a0; - (id)accountWithAltDSID:(id)a0 uniqueIdentifier:(id)a1 accountName:(id)a2 scope:(long long)a3; - (id)_updateAccountWithAuthKitViaSilentAuth:(id)a0 options:(id)a1; - (void)setAccountCredits:(id)a0 forAccountWithUniqueIdentifier:(id)a1; - (id)_passwordEquivalentTokenFromAlternateAccountWithAltDSID:(id)a0 DSID:(id)a1 username:(id)a2; - (void)_postActiveAccountChangedNotification; - (BOOL)saveAccount:(id)a0 verifyCredentials:(BOOL)a1 error:(id *)a2; - (void)setDefaultAccountName:(id)a0 completionBlock:(id /* block */)a1; - (void).cxx_destruct; - (id)accountWithAccountName:(id)a0 scope:(long long)a1; - (id)_updateAccountWithAuthKitViaPromptAuth:(id)a0 store:(id)a1 options:(id)a2; - (id)iTunesStoreAccountTypePromise; - (void)_setCachedAccounts:(id)a0; - (void)removeAccount:(id)a0 completion:(id /* block */)a1; - (id)updateAccountWithAuthKit:(id)a0 store:(id)a1 options:(id)a2; - (id)_shouldCreateNewAccountForAccount:(id)a0 options:(id)a1; - (BOOL)isExpiredForTokenType:(long long)a0; - (id)iTunesStoreAccountType; - (void)signOutAccount:(id)a0; - (id)_cachedAccounts; - (id)accountWithAltDSID:(id)a0 uniqueIdentifier:(id)a1 accountName:(id)a2; - (id)accountWithUniqueIdentifier:(id)a0 reloadIfNecessary:(BOOL)a1; - (id)accountWithAltDSID:(id)a0 scope:(long long)a1; - (id)_convertPasswordToPET:(id)a0 forAccount:(id)a1 options:(id)a2; - (id)accountWithUniqueIdentifier:(id)a0; - (void)signOutAccount:(id)a0 completion:(id /* block */)a1; - (id)_optionsForProxiedAuthenticationWithVerifyCredentialsOptions:(id)a0; - (void)signOutAllAccountsWithCompletionBlock:(id /* block */)a0; - (id)accountWithUniqueIdentifier:(id)a0 scope:(long long)a1; - (BOOL)saveAccount:(id)a0 error:(id *)a1; - (id)_saveAccountInUnitTestMode:(id)a0 ignoreValidationErrors:(BOOL)a1; - (void)resetExpiration; - (void)removeCookiesForAccount:(id)a0 logKey:(id)a1; - (id)_buyParamsForBuyParamsString:(id)a0; - (void)resetLocalAccount; - (void)saveAccount:(id)a0 verifyCredentials:(BOOL)a1 completion:(id /* block */)a2; @end