| # Copyright 2015 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| """Provides oauth2 decorators in a mockable way.""" |
| |
| from oauth2client.appengine import OAuth2Decorator |
| |
| from dashboard import utils |
| |
| DECORATOR = OAuth2Decorator( |
| client_id='425761728072.apps.googleusercontent.com', |
| client_secret='9g-XlmEFW8ROI01YY6nrQVKq', |
| scope=utils.EMAIL_SCOPE, |
| message='Oauth error occurred!', |
| callback_path='/oauth2callback') |