コード例 #1
0
ファイル: linkedin.go プロジェクト: pombredanne/dsocial.go
func (p *LinkedInContactService) CreateOAuth2Client(settings jsonhelper.JSONObject) (client oauth2_client.OAuth2Client, err os.Error) {
	client = oauth2_client.NewLinkedInClient()
	client.Initialize(settings)
	return
}
コード例 #2
0
func HandleLinkedInOauthTestRequest(w http.ResponseWriter, req *http.Request) {
	HandleGenericOauthTestRequest(w, req, oauth2_client.NewLinkedInClient(), oauth2_client.GET, "linkedin.client.test_url", "", PARSED_LINKEDIN_TEMPLATE)
}
コード例 #3
0
ファイル: linkedin.go プロジェクト: pomack/oauth2_client.go
func NewLinkedInOauth2ClientTester(properties jsonhelper.JSONObject) oauth2_client.OAuth2Client {
	c := oauth2_client.NewLinkedInClient()
	c.Initialize(properties)
	return c
}