Set the signature parameter to the result of build_signature.
(self, signature_method, consumer, token)
| 216 | return '%s://%s%s' % (scheme, netloc, path) |
| 217 | |
| 218 | def sign_request(self, signature_method, consumer, token): |
| 219 | """Set the signature parameter to the result of build_signature.""" |
| 220 | # Set the signature method. |
| 221 | self.set_parameter('oauth_signature_method', |
| 222 | signature_method.get_name()) |
| 223 | # Set the signature. |
| 224 | self.set_parameter('oauth_signature', |
| 225 | self.build_signature(signature_method, |
| 226 | consumer, token)) |
| 227 | |
| 228 | def build_signature(self, signature_method, consumer, token): |
| 229 | """Calls the build signature method within the signature method.""" |
no test coverage detected