google app engine - Protecting a Endpoints method -


I want to preserve my end point only Allow my Android app to use this endpoint method I use this purpose How can I archive? I do not want to ask the user to provide credentials.

I provided clients but the user parameter is always visible on the backend. I am following this instruction

Thank you very much.

I believe that this is a known issue, and soon the user object will populate properly , But for now, you can use the following solutions to get a valid user object:

  OAuthService oauth = OAuthServiceFactory.getOAuthService (); User = oauth.getCurrentUser ();  

This issue is based on the comment in the public issue tracker thread for the related issue.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -