@class NSString, NSDictionary, NSMutableDictionary, ACAccount; @interface MFAccount : NSObject { ACAccount *_persistentAccount; struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _persistentAccountLock; NSMutableDictionary *_unsavedAccountProperties; } @property (readonly) ACAccount *accountForRenewingCredentials; @property (readonly) ACAccount *persistentAccount; @property (readonly) ACAccount *parentAccount; @property (readonly) NSString *parentAccountIdentifier; @property (readonly) NSDictionary *properties; @property (readonly) NSString *uniqueId; @property (readonly) NSString *identifier; @property (readonly) NSString *syncStoreIdentifier; @property (readonly) NSString *managedTag; @property (readonly) NSString *type; @property (retain, nonatomic) NSString *username; @property (retain, nonatomic) NSString *hostname; @property (retain, nonatomic) NSString *displayName; @property (copy, nonatomic) NSString *sourceApplicationBundleIdentifier; @property (readonly, copy, nonatomic) NSString *ef_publicDescription; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)accountTypeIdentifier; + (BOOL)usesSSL; + (id)hostname; + (unsigned int)defaultPortNumber; + (unsigned int)defaultSecurePortNumber; + (id)supportedDataclasses; + (id)accountTypeString; + (id)saslProfileName; + (id)displayedShortAccountTypeString; + (id)_accountClass; + (id)_basicPropertyForKey:(id)a0 persistentAccount:(id)a1; + (id)_newPersistentAccount; + (BOOL)_setBasicProperty:(id)a0 forKey:(id)a1 persistentAccount:(id)a2; + (id)accountPropertiesValueForKey:(id)a0 value:(id)a1; + (id)accountWithPersistentAccount:(id)a0; + (id)accountWithProperties:(id)a0; + (id)authSchemesForAccountClass; + (id)displayedAccountTypeString; + (id)excludedAccountPropertyKeys; + (id)existingAccountForUniqueID:(id)a0; + (BOOL)isCommonPortNumber:(unsigned int)a0; + (BOOL)isPredefinedAccountType; + (BOOL)isSSLEditable; + (void *)legacyKeychainProtocol; + (id)newAccountWithDictionary:(id)a0; + (id)predefinedValueForKey:(id)a0; + (id)propertiesWhichRequireValidation; + (void)setShouldHealAccounts:(BOOL)a0; + (BOOL)shouldHealAccounts; - (void)setActive:(BOOL)a0; - (id)accountClass; - (BOOL)usesSSL; - (id)init; - (id)enabledDataclasses; - (id)copyDiagnosticInformation; - (void)setAccountProperty:(id)a0 forKey:(id)a1; - (void)setPortNumber:(unsigned int)a0; - (void)dealloc; - (void)setPassword:(id)a0; - (id)accountPropertyForKey:(id)a0; - (void)setUsesSSL:(BOOL)a0; - (unsigned int)defaultPortNumber; - (unsigned int)portNumber; - (BOOL)isEnabledForDataclass:(id)a0; - (unsigned int)defaultSecurePortNumber; - (id)password; - (struct __CFString { } *)connectionServiceType; - (id)serviceName; - (id)credentialItemForKey:(id)a0; - (void)setCredentialItem:(id)a0 forKey:(id)a1; - (id)networkAccountIdentifier; - (id)_newConnection; - (BOOL)requiresAuthentication; - (BOOL)allowsTrustPrompt; - (id)domain; - (void)setDomain:(id)a0; - (BOOL)isEqual:(id)a0; - (BOOL)isActive; - (id)initWithProperties:(id)a0; - (id)clientCertificates; - (id)copyWithZone:(struct _NSZone { } *)a0; - (BOOL)isManaged; - (void)setClientCertificates:(id)a0; - (id)_password; - (void)removeAccountPropertyForKey:(id)a0; - (id)_credential; - (Class)connectionClass; - (id)valueInAccountPropertiesForKey:(id)a0; - (BOOL)_boolForAccountInfoKey:(id)a0 defaultValue:(BOOL)a1; - (BOOL)_connectAndAuthenticate:(id)a0; - (id)_credentialCreateIfNecessary:(BOOL)a0; - (id)_credentialCreateIfNecessary:(BOOL)a0 error:(id *)a1; - (id)_objectForAccountInfoKey:(id)a0; - (id)_passwordWithError:(id *)a0; - (id)_privacySafeDescription; - (void)_queueAccountInfoDidChange; - (BOOL)_renewCredentialsWithOptions:(id)a0 completion:(id /* block */)a1; - (void)_setAccountProperties:(id)a0; - (BOOL)_shouldTryDirectSSLConnectionOnPort:(unsigned int)a0; - (void)accountInfoDidChange; - (id)alternateConnectionSettings; - (void)applySettingsAsDefault:(id)a0; - (id)authenticatedConnection; - (BOOL)canGoOffline; - (id)certUIService; - (unsigned long long)credentialAccessibility; - (id)customDescriptionForError:(id)a0 authScheme:(id)a1 defaultDescription:(id)a2; - (id)defaultConnectionSettings; - (BOOL)enableAccount; - (BOOL)fetchTokensIfNecessary:(id *)a0; - (id)inaccessiblePasswordErrorWithTitle:(id)a0; - (id)initWithPersistentAccount:(id)a0; - (id)insecureConnectionSettings; - (BOOL)isSyncingNotes; - (id)loginDisabledErrorWithTitle:(id)a0; - (id)missingPasswordErrorWithTitle:(id)a0; - (id)nameForMailboxUid:(id)a0; - (id)oauth2Token; - (void)persistentAccountDidChange:(id)a0 previousAccount:(id)a1; - (id)preferredAuthScheme; - (BOOL)promptUserForWebLoginWithURL:(id)a0 shouldConfirm:(BOOL)a1 completionHandler:(id /* block */)a2; - (void)releaseAllConnections; - (void)releaseAllForcedConnections; - (void)removePersistentAccount; - (void)removeValueInAccountPropertiesForKey:(id)a0; - (BOOL)renewCredentialsWithOptions:(id)a0 completion:(id /* block */)a1; - (void)reportAuthenticationError:(id)a0 authScheme:(id)a1; - (void)savePersistentAccount; - (id)secureConnectionSettings; - (id)secureServiceName; - (void)setPersistentAccount:(id)a0; - (void)setPreferredAuthScheme:(id)a0; - (void)setTryDirectSSL:(BOOL)a0; - (void)setValueInAccountProperties:(id)a0 forKey:(id)a1; - (BOOL)shouldDisplayHostnameInErrorMessages; - (BOOL)shouldEnableAfterError:(id)a0; - (BOOL)shouldFetchACEDBInfoForError:(id)a0; - (BOOL)supportsMailDrop; - (BOOL)setCredentialItem:(id)a0 forKey:(id)a1 error:(id *)a2; - (id)credentialItemForKey:(id)a0 error:(id *)a1; - (BOOL)promptUserForPasswordWithTitle:(id)a0 message:(id)a1 completionHandler:(id /* block */)a2; - (BOOL)setOAuth2Token:(id)a0 refreshToken:(id)a1 error:(id *)a2; @end