Return the Bearer Authorization header required in oauth calls :return: a dict with the authorization header
(self, token)
| 177 | ) |
| 178 | |
| 179 | def get_oauth_header(self, token): |
| 180 | """ Return the Bearer Authorization header required in oauth calls |
| 181 | |
| 182 | :return: a dict with the authorization header |
| 183 | """ |
| 184 | return {'Authorization': 'Bearer %s' % token} |
| 185 | |
| 186 | def auth(self, code): |
| 187 | values = { |