Adrià Vilanova MartÃnez | f19ea43 | 2024-01-23 20:20:52 +0100 | [diff] [blame^] | 1 | #!/usr/bin/python |
| 2 | # |
| 3 | # Copyright 2016 Google Inc. All Rights Reserved. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | |
| 18 | """Google Cloud Endpoints module.""" |
| 19 | |
| 20 | # pylint: disable=wildcard-import |
| 21 | from __future__ import absolute_import |
| 22 | |
| 23 | import logging |
| 24 | |
| 25 | from protorpc import message_types |
| 26 | from protorpc import messages |
| 27 | from protorpc import remote |
| 28 | |
| 29 | from .api_config import api, method |
| 30 | from .api_config import AUTH_LEVEL, EMAIL_SCOPE |
| 31 | from .api_config import Issuer, LimitDefinition, Namespace |
| 32 | from .api_exceptions import * |
| 33 | from .apiserving import * |
| 34 | from .constants import API_EXPLORER_CLIENT_ID |
| 35 | from .endpoints_dispatcher import * |
| 36 | from . import message_parser |
| 37 | from .resource_container import ResourceContainer |
| 38 | from .users_id_token import get_current_user, get_verified_jwt, convert_jwks_uri |
| 39 | from .users_id_token import InvalidGetUserCall |
| 40 | from .users_id_token import SKIP_CLIENT_ID_CHECK |
| 41 | |
| 42 | __version__ = '4.8.0' |
| 43 | |
| 44 | _logger = logging.getLogger(__name__) |
| 45 | _logger.setLevel(logging.INFO) |