Type Alias

ACAccountStoreCredentialRenewalHandler

Specifies a handler to call when credentials are renewed.

Declaration

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

Discussion

The renewal handler parameters are:

renewResult

The result of the renewal request.

error

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