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