android - Should I use GoogleAuthUtil to call my backend to secure the communication even I don't need to use the logged Google user? -


i writing game user sends score server maintain.

i want secure score has been submitted game app, not curl request or other mean of http request not started app.

i read this entry in android developer blog , thought needed implement this, i'm not sure.

along score, user send player name typed in edittext player name. means users identified name choose, not google account username. neither client nor server need access google user account @ time.

is meant want, or used guarantee 1 http has been performed device of specific google user account?

what should pass email gettoken(email, scope) method?

my users won't have android accountmanager account.

after more diving have concluded that:

  • the email googleauthutil#gettoken() expects email of user's google account. can programmatically retrieved via accountpicker class. explained here.

  • i use method authenticate server calls, think if not plan use user google account information , don't plan use google cloud endpoints, work simpler. moreover, if used authenticate calls depend on google, not being able release app in amazon market, user may not have google account (kindle fire).


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -