(self)
| 220 | class TwitterClientLoginGenCoroutineHandler(TwitterClientHandler): |
| 221 | @gen.coroutine |
| 222 | def get(self): |
| 223 | if self.get_argument("oauth_token", None): |
| 224 | user = yield self.get_authenticated_user() |
| 225 | self.finish(user) |
| 226 | else: |
| 227 | # New style: with @gen.coroutine the result must be yielded |
| 228 | # or else the request will be auto-finished too soon. |
| 229 | yield self.authorize_redirect() |
| 230 | |
| 231 | |
| 232 | class TwitterClientShowUserHandler(TwitterClientHandler): |
nothing calls this directly
no test coverage detected