| OLD | NEW |
| 1 # Copyright 2014 The LUCI Authors. All rights reserved. | 1 # Copyright 2014 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
| 3 # found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
| 4 | 4 |
| 5 """Integration with webapp2.""" | 5 """Integration with webapp2.""" |
| 6 | 6 |
| 7 # Disable 'Method could be a function.' | 7 # Disable 'Method could be a function.' |
| 8 # pylint: disable=R0201 | 8 # pylint: disable=R0201 |
| 9 | 9 |
| 10 import functools | 10 import functools |
| 11 import json | 11 import json |
| 12 import logging | 12 import logging |
| 13 import urllib | 13 import urllib |
| (...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 @staticmethod | 563 @staticmethod |
| 564 def create_logout_url(request, dest_url): | 564 def create_logout_url(request, dest_url): |
| 565 return openid.create_logout_url(request, dest_url) | 565 return openid.create_logout_url(request, dest_url) |
| 566 | 566 |
| 567 | 567 |
| 568 # See AuthenticatingHandler._get_users_api(). | 568 # See AuthenticatingHandler._get_users_api(). |
| 569 _METHOD_TO_USERS_API = { | 569 _METHOD_TO_USERS_API = { |
| 570 gae_cookie_authentication: GAEUsersAPI, | 570 gae_cookie_authentication: GAEUsersAPI, |
| 571 openid_cookie_authentication: OpenIDAPI, | 571 openid_cookie_authentication: OpenIDAPI, |
| 572 } | 572 } |
| OLD | NEW |