Accounts manages user accounts and their stored credentials in the system Accounts database, brokering authenticated access to external services on iOS and macOS. You work with the database through ACAccountStore, which retrieves and saves ACAccount objects; each account carries an ACAccountType describing the service it belongs to and an ACAccountCredential holding its authentication material. When a credential must be refreshed, the framework reports the outcome with ACAccountCredentialRenewResult, and surfaces failures through ACErrorCode.
Accessing the Accounts Database 3
Read and write accounts and their types through the system Accounts database.
- ClACAccountStoreAn object that provides access to and manages the accounts stored in the system Accounts database.
- ClACAccountAn object that represents a user account stored in the system Accounts database.
- ClACAccountTypeAn object that describes the service an account belongs to.
Authenticating Accounts 2
Hold and renew the credentials that authorize access to an account's service.
- ClACAccountCredentialAn object that holds the authentication material used to access an account's service.
- EnACAccountCredentialRenewResultConstants that report the outcome of a request to renew an account's credential.
Handling Errors 1
Identify failures reported while working with accounts and credentials.
- StACErrorCodeConstants that identify errors encountered while accessing accounts and credentials.
Type Aliases 4
- TyACAccountStoreSaveCompletionHandler
- TyACAccountStoreRemoveCompletionHandler
- TyACAccountStoreRequestAccessCompletionHandler
- TyACAccountStoreCredentialRenewalHandler