def _get_temp_credential(self):
		# POST to request temporary credentials
		# sample request: POST to https://sandbox.evernote.com/oauth?oauth_consumer_key=en_oauth_test&oauth_signature=1ca0956605acc4f2%26&oauth_signature_method=PLAINTEXT&oauth_timestamp=1288364369&oauth_nonce=d3d9446802a44259&oauth_callback=https%3A%2F%2Ffoo.com%2Fsettings%2Findex.php%3Faction%3DoauthCallback
		# sample response: oauth_token=en_oauth_test.12BF8802654.687474703A2F2F6C6F63616C686F73742F7E736574682F4544414D576562546573742F696E6465782E7068703F616374696F6E3D63616C6C6261636B.1FFF88DC670B03799613E5AC956B6E6D&oauth_token_secret=&oauth_callback_confirmed=true
		# need to keep oauth_token value
		params = {
			'oauth_consumer_key': _consumerKey,
			'oauth_signature': _consumerSecret + '&', # Evernote does not use oauth_token_secret
			'oauth_signature_method': 'PLAINTEXT',
			'oauth_callback': self.local_server.url # The browser will redirect here upon authorization.
		}
		response = urllib2.urlopen(self.oauth_url, data = urllib.urlencode(params))
		result = parse_qs(response.read())
		self.temp_credential = result['oauth_token'][0]
	def _get_real_credential(self):
		# POST to exchange temporary authorized credential for real one
		# sample request: POST to https://sandbox.evernote.com/oauth?oauth_consumer_key=en_oauth_test&oauth_signature=1ca0956605acc4f2%26&oauth_signature_method=PLAINTEXT&oauth_timestamp=1288364923&oauth_nonce=755d38e6d163e820&oauth_token=en_oauth_test.12BF8888B3F.687474703A2F2F6C6F63616C686F73742F7E736574682F4544414D576562546573742F696E6465782E7068703F616374696F6E3D63616C6C6261636B.C3118B25D0F89531A375382BEEEDD421&oauth_verifier=DF427565AF5473BBE3D85D54FB4D63A4
		# (with oauth_token and oauth_verifier from authorization)
		# sample response: oauth_token=S%3Ds4%3AU%3Da1%3AE%3D12bfd68c6b6%3AC%3D12bf8426ab8%3AP%3D7%3AA%3Den_oauth_test%3AH%3D3df9cf6c0d7bc410824c80231e64dbe1&oauth_token_secret=&edam_noteStoreUrl=https%3A%2F%2Fsandbox.evernote.com%2Fedam%2Fnote%2Fshard%2Fs4&edam_userId=161
		params = {
			'oauth_consumer_key': _consumerKey,
			'oauth_signature': _consumerSecret + '&',
			'oauth_signature_method': 'PLAINTEXT',
			'oauth_token': self.temp_credential,
			'oauth_verifier': self.oauth_verifier
		}
		response = urllib.urlopen(self.oauth_url, data = urllib.urlencode(params))
		# need to url-decode and keep the oauth_token and edam_noteStoreUrl values
		result = parse_qs(response.read())
		return (result['oauth_token'][0], result['edam_noteStoreUrl'][0])