Reputation: 411
I'm curious as to why some apps use the Authenticator components (eg. Github, Twitter, Yahoo) and other apps don't (eg. Amazon, FourSquare, PayPal). Has anyone done analysis on what the downside of using the AccountManager classes? If you chose not to implement an AccountAuthenticator why did you make that decision?
Are there best practices regarding when one should plug into the AccountManager vs handling your own authentication/sessions?
Upvotes: 2
Views: 238
Reputation: 3277
Pros:
Cons:
I would recommend that developers just use the AccountManager for UI practicality (adding/removing accounts), but not for actual token management. Manage your tokens within your own app utility classes.
Note: The PayPal app in the Samsung app store now uses AccountManager.
Upvotes: 2