| 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 """Authentication and authorization component. | 5 """Authentication and authorization component. |
| 6 | 6 |
| 7 Exports public API of 'auth' component. Each module in 'auth' package can | 7 Exports public API of 'auth' component. Each module in 'auth' package can |
| 8 export a portion of public API by specifying exported symbols in its __all__. | 8 export a portion of public API by specifying exported symbols in its __all__. |
| 9 """ | 9 """ |
| 10 | 10 |
| 11 # Pylint doesn't like relative wildcard imports. | 11 # Pylint doesn't like relative wildcard imports. |
| 12 # pylint: disable=W0401,W0403 | 12 # pylint: disable=W0401,W0403 |
| 13 | 13 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 35 from ui.app import * | 35 from ui.app import * |
| 36 | 36 |
| 37 # Endpoints support is optional, enabled only when endpoints library is | 37 # Endpoints support is optional, enabled only when endpoints library is |
| 38 # specified in app.yaml. | 38 # specified in app.yaml. |
| 39 if endpoints: | 39 if endpoints: |
| 40 from endpoints_support import * | 40 from endpoints_support import * |
| 41 from ui.endpoints_api import AuthService | 41 from ui.endpoints_api import AuthService |
| 42 | 42 |
| 43 # Import 'config' to register lib_config hook. | 43 # Import 'config' to register lib_config hook. |
| 44 import config | 44 import config |
| OLD | NEW |