Status codes of credential renewal requests.


enum ACAccountCredentialRenewResult : Int



case renewed

The account’s credentials have been renewed and are now associated with the account.

case rejected

Renewal failed because the user revoked your access to their account.

case failed

A non-user-initiated cancel of the prompt. Try again.

See Also

Renewing Account Credentials

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

Renews account credentials when the credentials are no longer valid.

typealias ACAccountStoreCredentialRenewalHandler

Specifies a handler to call when credentials are renewed.

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