Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

HostedClientLogin

Stay organized with collections Save and categorize content based on your preferences.
com.google.appengine.tools.remoteapi

Class HostedClientLogin

  • java.lang.Object
    • com.google.appengine.tools.remoteapi.HostedClientLogin


  • public class HostedClientLogin
    extends java.lang.Object
    ClientLogin implementation for use inside an App Engine container. We use URLFetchService to issue HTTP requests since that's the only way to do it from inside App Engine.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      java.util.List<Cookie> login(java.lang.String host, java.lang.String email, java.lang.String password)
      Deprecated. 
      ClientLogin authentication is deprecated and will soon be shut down. Use OAuth2.0 instead to obtain credentials.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HostedClientLogin

        public HostedClientLogin()
    • Method Detail

      • login

        @Deprecated
        public java.util.List<Cookie> login(java.lang.String host,
                                                        java.lang.String email,
                                                        java.lang.String password)
                                                 throws java.io.IOException
        Deprecated. ClientLogin authentication is deprecated and will soon be shut down. Use OAuth2.0 instead to obtain credentials.
        Authenticates the user using ClientLogin. This requires two HTTP requests, one to get a token from Google and one to exchange it for cookies from App Engine.
        Throws:
        java.io.IOException