func (p *YahooContactService) CreateOAuth2Client(settings jsonhelper.JSONObject) (client oauth2_client.OAuth2Client, err error) { client = oauth2_client.NewYahooClient() client.Initialize(settings) return }
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) }