Is there a way to detect if an ACAccount
has a valid credential?
The use case is to ensure that an ACAccount
that was previously retrieved using requestAccessToAccountsWithType
is still valid. I have registered for ACAccountStoreDidChangeNotification
but I'm not confident that will cover all cases in which a credential could become invalid (for example a server side change to the account?).