Type Alias


Specifies a handler to call when credentials are renewed.


typealias ACAccountStoreCredentialRenewalHandler = (ACAccountCredentialRenewResult, Error?) -> Void


The renewal handler parameters are:


The result of the renewal request.


An error, if one occurred.

See Also

Renewing Account Credentials

func renewCredentials(for: ACAccount!, completion: ACAccountStoreCredentialRenewalHandler!)

Renews account credentials when the credentials are no longer valid.

enum ACAccountCredentialRenewResult

Status codes of credential renewal requests.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software