oauth2  v2
Classes | Public Member Functions | List of all members
google_oauth2_api::Oauth2Service::UserinfoResource Class Reference

#include <oauth2_service.h>

Classes

class  V2Resource
 

Public Member Functions

 UserinfoResource (Oauth2Service *service)
 
 ~UserinfoResource ()
 
const V2Resourceget_v2 () const
 
UserinfoResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ UserinfoResource()

google_oauth2_api::Oauth2Service::UserinfoResource::UserinfoResource ( Oauth2Service service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~UserinfoResource()

google_oauth2_api::Oauth2Service::UserinfoResource::~UserinfoResource ( )
inline

Standard destructor.

Member Function Documentation

◆ get_v2()

const V2Resource& google_oauth2_api::Oauth2Service::UserinfoResource::get_v2 ( ) const
inline

Gets the v2 resource method factory.

Returns
V2Resource for creating methods.

◆ NewGetMethod()

UserinfoResource_GetMethod * google_oauth2_api::Oauth2Service::UserinfoResource::NewGetMethod ( client::AuthorizationCredential *  _credential_) const

Creates a new UserinfoResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

The documentation for this class was generated from the following files: