- raise NotImplementedError
-
-# An implementation using username and password.
-class UserPassAuth(Auth):
- def __init__(self, username, password):
- self.username = username
- self.password = password
-
- def encode_params(self, base_url, method, params):
- # We could consider automatically converting unicode to utf8 strings
- # before encoding...
- return urllib.urlencode(params)