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

Side by Side Diff: appengine/components/components/auth/ui/endpoints_api.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: 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 2015 The LUCI Authors. All rights reserved. 1 # Copyright 2015 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 """Endpoints version of is_member API.""" 5 """Endpoints version of is_member API."""
6 6
7 import logging 7 import logging
8 import re 8 import re
9 9
10 import endpoints 10 import endpoints
11 from protorpc import messages 11 from protorpc import messages
12 from protorpc import remote 12 from protorpc import remote
13 13
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 client_id=request.client_id or conf.client_id, 74 client_id=request.client_id or conf.client_id,
75 client_secret=request.client_secret or conf.client_secret, 75 client_secret=request.client_secret or conf.client_secret,
76 redirect_uri=request.redirect_uri or conf.redirect_uri) 76 redirect_uri=request.redirect_uri or conf.redirect_uri)
77 conf.put() 77 conf.put()
78 return conf 78 return conf
79 conf = txn() 79 conf = txn()
80 return OpenIDConfig( 80 return OpenIDConfig(
81 client_id=conf.client_id, 81 client_id=conf.client_id,
82 client_secret='*****' if conf.client_secret else '', 82 client_secret='*****' if conf.client_secret else '',
83 redirect_uri=conf.redirect_uri) 83 redirect_uri=conf.redirect_uri)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698