func HandleSmugMugOauthTestRequest(w http.ResponseWriter, req *http.Request) {
	HandleGenericOauthTestRequest(w, req, oauth2_client.NewSmugMugClient(), oauth2_client.GET, "smugmug.client.test_url", "", PARSED_SMUGMUG_TEMPLATE)
}
Example #2
0
func (p *SmugMugContactService) CreateOAuth2Client(settings jsonhelper.JSONObject) (client oauth2_client.OAuth2Client, err os.Error) {
	client = oauth2_client.NewSmugMugClient()
	client.Initialize(settings)
	return
}
Example #3
0
func NewSmugMugOauth2ClientTester(properties jsonhelper.JSONObject) oauth2_client.OAuth2Client {
	c := oauth2_client.NewSmugMugClient()
	c.Initialize(properties)
	return c
}