I'm currently working on an application that will make use of AccountManager and AbstractAccountAuthenticator. I used the SampleSync sample as basis but I still don't get some things.
First I'd like to explain what I'm currently doing so I know if what I'm doing is fine. The api I currently use doesn't have passwords or authtoken. I use a webview to authenticate. In my response I have a (session_id, user_id and secret). Once I get those values, I do a first call to get some UserInfo. (only for user creation) Then I have: username, user_id, session_id, secret. I set the account name to Username and Password to user_id and I add session_id and secret as userData. Since the most unpriviliged function to get my credentials is getAuthToken. In this function I return a semicolon separated string of these 3 values. For example: "93458;sowen;sjfdhlksjdfhskljdfh". So I'd like to know when getAuthToken is called. I only saw it being called once after user creation. My problem is that I have an invalid token and it never gets renewed. I do call invalidateAuthToken but it doesn't do anything and it never call getAuthToken again. So according to the docs, invalidateAuthToken does nothing if a token isn't cached. Since my authToken is invalid and never calls again getAuthToken, why isn't it being invalidated. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

