Exemple #1
0
func (p *YahooContactService) CreateOAuth2Client(settings jsonhelper.JSONObject) (client oauth2_client.OAuth2Client, err error) {
	client = oauth2_client.NewYahooClient()
	client.Initialize(settings)
	return
}
Exemple #2
0
func NewYahooOauth2ClientTester(properties jsonhelper.JSONObject) oauth2_client.OAuth2Client {
	c := oauth2_client.NewYahooClient()
	c.Initialize(properties)
	return c
}
func HandleYahooOauthTestRequest(w http.ResponseWriter, req *http.Request) {
	HandleGenericOauthTestRequest(w, req, oauth2_client.NewYahooClient(), oauth2_client.GET, "yahoo.client.test_url", "", PARSED_YAHOO_TEMPLATE)
}