Example #1
0
func (p *GooglePlusContactService) CreateOAuth2Client(settings jsonhelper.JSONObject) (client oauth2_client.OAuth2Client, err os.Error) {
	client = oauth2_client.NewGooglePlusClient()
	client.Initialize(settings)
	return
}
Example #2
0
func NewGooglePlusOauth2ClientTester(properties jsonhelper.JSONObject) oauth2_client.OAuth2Client {
	c := oauth2_client.NewGooglePlusClient()
	c.Initialize(properties)
	return c
}
func HandleGooglePlusOauthTestRequest(w http.ResponseWriter, req *http.Request) {
	HandleGenericOauthTestRequest(w, req, oauth2_client.NewGooglePlusClient(), oauth2_client.GET, "googleplus.client.test_url", "", PARSED_GOOGLEPLUS_TEMPLATE)
}