Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: appengine/components/components/auth/config.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 """Auth component configuration hooks. 5 """Auth component configuration hooks.
6 6
7 Application that use 'auth' component can override settings defined here by 7 Application that use 'auth' component can override settings defined here by
8 adding the following lines to appengine_config.py: 8 adding the following lines to appengine_config.py:
9 9
10 components_auth_UI_APP_NAME = 'My service name' 10 components_auth_UI_APP_NAME = 'My service name'
11 11
12 Code flow when this is used: 12 Code flow when this is used:
13 * GAE app starts and loads a module with main WSGI app. 13 * GAE app starts and loads a module with main WSGI app.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 from .ui import ui 62 from .ui import ui
63 63
64 with _config_lock: 64 with _config_lock:
65 if not _config_called: 65 if not _config_called:
66 # Customize auth UI to show where it's running. 66 # Customize auth UI to show where it's running.
67 if not _config.UI_CUSTOM_CONFIG: 67 if not _config.UI_CUSTOM_CONFIG:
68 ui.configure_ui(_config.UI_APP_NAME) 68 ui.configure_ui(_config.UI_APP_NAME)
69 # Mark as successfully completed. 69 # Mark as successfully completed.
70 _config_called = True 70 _config_called = True
71 return _config 71 return _config
OLDNEW
« no previous file with comments | « appengine/components/components/auth/change_log_test.py ('k') | appengine/components/components/auth/delegation.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698