How to add authentication to google cloud endpoints?

view story

http://stackoverflow.com – Starting with the Google Cloud Endpoint, tic tac toe example (see https://github.com/GoogleCloudPlatform/appengine-endpoints-tictactoe-java) Then, create an "AppEngine Connected Android Project" via Ellipse in the latest Android Ellipse plugin (see https://developers.google.com/eclipse/docs/endpoints-androidconnected-gae) Now this creates endpoints with no authentication. // @Api(name = "messageEndpoint") //NO AUTHENTICATION; OPEN ENDPOINT! Now try to add authentication using the tic tac toe application as an example. @Api(name = "messageEndpoint", version = "v1", clientIds = {Ids.WEB_ (HowTos)