AFNetworking/AFOAuth2Client — pull request #37 by jmig (2013-05-10 22:47:53+00:00)
Title: Allow to (optionnaly) set Keychain Service Name

When using AFOAuth2Client and storing credentials on Mac OS X, a popup is presented to the user with the following text:
"NameOfTheApp wants to use your confidential information stored in "AFOAuthCredentialService" in your keychain. Do you want to allow access to this item?

Always Allow, Deny, Allow"

This is not user friendly and would be better for the user to present the Name of the App (most of them don't know how awesome is AFNetworking).

Also I needed to access some data in the keychain stored by a previous version of my app with a different service name.

So I expose 3 new methods, that allows you to specify the identifier AND the service name.
I kept the original AFKeychainQueryDictionaryWithIdentifier method in case people have specific usage of this method, but maybe we can remove it as it is totally internal.