Google OAuth2 API v2 (revision 32)



com.google.api.services.oauth2
Class Oauth2.Userinfo

java.lang.Object
  extended by com.google.api.services.oauth2.Oauth2.Userinfo
Enclosing class:
Oauth2

public class Oauth2.Userinfo
extends Object

The "userinfo" collection of methods.


Nested Class Summary
 class Oauth2.Userinfo.Get
           
 class Oauth2.Userinfo.V2
          The "v2" collection of methods.
 
Constructor Summary
Oauth2.Userinfo()
           
 
Method Summary
 Oauth2.Userinfo.Get get()
          Create a request for the method "userinfo.get".
 Oauth2.Userinfo.V2 v2()
          An accessor for creating requests from the V2 collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Oauth2.Userinfo

public Oauth2.Userinfo()
Method Detail

get

public Oauth2.Userinfo.Get get()
                        throws IOException
Create a request for the method "userinfo.get". This request holds the parameters needed by the the oauth2 server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Returns:
the request
Throws:
IOException

v2

public Oauth2.Userinfo.V2 v2()
An accessor for creating requests from the V2 collection.

The typical use is:

   Oauth2 oauth2 = new Oauth2(...);
   Oauth2.V2.List request = oauth2.v2().list(parameters ...)
 

Returns:
the resource collection