Exemplo n.º 1
0
func (p *LinkedInContactService) CreateOAuth2Client(settings jsonhelper.JSONObject) (client oauth2_client.OAuth2Client, err os.Error) {
	client = oauth2_client.NewLinkedInClient()
	client.Initialize(settings)
	return
}
func HandleLinkedInOauthTestRequest(w http.ResponseWriter, req *http.Request) {
	HandleGenericOauthTestRequest(w, req, oauth2_client.NewLinkedInClient(), oauth2_client.GET, "linkedin.client.test_url", "", PARSED_LINKEDIN_TEMPLATE)
}
Exemplo n.º 3
0
func NewLinkedInOauth2ClientTester(properties jsonhelper.JSONObject) oauth2_client.OAuth2Client {
	c := oauth2_client.NewLinkedInClient()
	c.Initialize(properties)
	return c
}