One Logo Pool Ball
Accounts · IOS API REFERENCE

ACAccountStore

class · iOS 6.0+ · Deprecated in iOS 15.0 · SDK 27.1

class ACAccountStore

Members (9)

method · iOS 6.0+ · Deprecated in iOS 15.0

accountType

TypeScript
accountType(typeIdentifier?: (string) | null): (ACAccountType) | null
Swift declaration
func accountType(withAccountTypeIdentifier typeIdentifier: String!) -> ACAccountType!
method · iOS 6.0+ · Deprecated in iOS 15.0

account

TypeScript
account(identifier?: (string) | null): (ACAccount) | null
Swift declaration
func account(withIdentifier identifier: String!) -> ACAccount!
method · iOS 6.0+ · Deprecated in iOS 15.0

accounts

TypeScript
accountsWith(accountType?: (ACAccountType) | null): (Array<unknown>) | null
Swift declaration
func accounts(with accountType: ACAccountType!) -> [Any]!
init

init

TypeScript
static init(): ACAccountStore
Swift declaration
init()
method · iOS 6.0+ · Deprecated in iOS 15.0

removeAccount

TypeScript
removeAccount(account?: (ACAccount) | null, completionHandler?: (((arg0: boolean, arg1: (NativeError) | null) => void)) | null): void
Swift declaration
func removeAccount(_ account: ACAccount!) async throws -> Bool
method · iOS 6.0+ · Deprecated in iOS 15.0

renewCredentials

TypeScript
renewCredentials(account?: (ACAccount) | null, completionHandler?: (((arg0: ACAccountCredentialRenewResult, arg1: (NativeError) | null) => void)) | null): void
Swift declaration
func renewCredentials(for account: ACAccount!) async throws -> ACAccountCredentialRenewResult
method · iOS 6.0+ · Deprecated in iOS 15.0

requestAccessToAccounts

TypeScript
requestAccessToAccounts(accountType?: (ACAccountType) | null, options?: (NativeMap<unknown, unknown>) | null, completion?: (((arg0: boolean, arg1: (NativeError) | null) => void)) | null): void
Swift declaration
func requestAccessToAccounts(with accountType: ACAccountType!, options: [AnyHashable : Any]! = [:]) async throws -> Bool
method · iOS 6.0+ · Deprecated in iOS 15.0

saveAccount

TypeScript
saveAccount(account?: (ACAccount) | null, completionHandler?: (((arg0: boolean, arg1: (NativeError) | null) => void)) | null): void
Swift declaration
func saveAccount(_ account: ACAccount!) async throws -> Bool
get · iOS 6.0+ · Deprecated in iOS 15.0

accounts

TypeScript
get accounts(): (_Foundation_NSArray) | null
Swift declaration
weak var accounts: NSArray! { get }

Skipped declarations

No declarations were skipped in this snapshot.

All Accounts types →