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

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -