(self)
| 198 | # instead of authorize_redirect. |
| 199 | @gen.coroutine |
| 200 | def get(self): |
| 201 | if self.get_argument("oauth_token", None): |
| 202 | user = yield self.get_authenticated_user() |
| 203 | if user is None: |
| 204 | raise Exception("user is None") |
| 205 | self.finish(user) |
| 206 | return |
| 207 | yield self.authenticate_redirect() |
| 208 | |
| 209 | |
| 210 | class TwitterClientLoginGenCoroutineHandler(TwitterClientHandler): |
nothing calls this directly
no test coverage detected