Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str body ImportFrom alias orelse ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str NameLoad NameLoad body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad orelse Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad NameLoad body Return NameLoad TryExcept body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Pass If CompareEq NameLoad Str body Assign NameStore Str Return Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A Trivial implementation of the UserService. N/A logging N/A os N/A urllib N/A urlparse google.appengine.api apiproxy_stub google.appengine.api user_service_pb N/A N/A N/A N/A N/A os environ get APPENGINE_RUNTIME python27 N/A google.appengine.runtime apiproxy_errors N/A google.appengine.runtime apiproxy_errors N/A _DEFAULT_LOGIN_URL https://www.google.com/accounts/Login?continue=%s N/A _DEFAULT_LOGOUT_URL https://www.google.com/accounts/Logout?continue=%s N/A _DEFAULT_AUTH_DOMAIN gmail.com N/A _OAUTH_CONSUMER_KEY example.com N/A _OAUTH_EMAIL example@example.com N/A _OAUTH_USER_ID 0 N/A _OAUTH_AUTH_DOMAIN _DEFAULT_AUTH_DOMAIN N/A _OAUTH_CLIENT_ID 123456789.apps.googleusercontent.com N/A _OPENID_DEPRECATION_WARNING Open ID 2.0 support in the App Engine Users service is deprecated and will soon be removed. Please see https://cloud.google.com/appengine/docs/deprecations/open_id for details. UserServiceStub N/A N/A apiproxy_stub APIProxyStub N/A N/A Trivial implementation of the UserService. N/A _ACCEPTS_REQUEST_ID True N/A THREADSAFE True __init__ N/A N/A self login_url logout_url service_name auth_domain request_data N/A _DEFAULT_LOGIN_URL _DEFAULT_LOGOUT_URL user _DEFAULT_AUTH_DOMAIN None N/A N/A Initializer.

    Args:
      login_url: String containing the URL to use for logging in.
      logout_url: String containing the URL to use for logging out.
      service_name: Service name expected for all calls.
      auth_domain: The authentication domain for the service e.g. "gmail.com".
      request_data: A apiproxy_stub.RequestData instance used to look up state
          associated with the request that generated an API call.

    Note: Both the login_url and logout_url arguments must contain one format
    parameter, which will be replaced with the continuation URL where the user
    should be redirected after log-in or log-out has been completed.
     N/A N/A N/A N/A super UserServiceStub self __init__ service_name request_data request_data N/A N/A self _login_url login_url N/A N/A self _logout_url logout_url N/A N/A self __scopes None N/A N/A N/A self SetOAuthUser is_admin N/A N/A N/A N/A os environ get OAUTH_IS_ADMIN 0 1 N/A N/A N/A os environ N/A AUTH_DOMAIN auth_domain N/A SetOAuthUser N/A N/A self email domain user_id is_admin scopes client_id N/A _OAUTH_EMAIL _OAUTH_AUTH_DOMAIN _OAUTH_USER_ID False None _OAUTH_CLIENT_ID N/A N/A Set test OAuth user.

    Determines what user is returned by requests to GetOAuthUser.

    Args:
      email: Email address of oauth user.  None indicates that no oauth user
        is authenticated.
      domain: Domain of oauth user.
      user_id: User ID of oauth user.
      is_admin:  Whether the user is an admin.
      scopes: List of scopes that user is authenticated against.
      client_id: Client ID of the OAuth2 request
     N/A N/A self __email email N/A N/A self __domain domain N/A N/A self __user_id user_id N/A N/A self __is_admin is_admin N/A N/A self __scopes scopes N/A N/A self __client_id client_id N/A _Dynamic_CreateLoginURL N/A N/A self request response request_id N/A N/A N/A Trivial implementation of UserService.CreateLoginURL().

    Args:
      request: a CreateLoginURLRequest
      response: a CreateLoginURLResponse
      request_id: A unique string identifying the request associated with the
          API call.
     N/A N/A N/A request has_federated_identity N/A N/A N/A N/A logging warning _OPENID_DEPRECATION_WARNING N/A N/A N/A response set_login_url N/A N/A self _login_url N/A N/A urllib quote N/A N/A self _AddHostToContinueURL N/A N/A request destination_url request_id N/A _Dynamic_CreateLogoutURL N/A N/A self request response request_id N/A N/A N/A Trivial implementation of UserService.CreateLogoutURL().

    Args:
      request: a CreateLogoutURLRequest
      response: a CreateLogoutURLResponse
      request_id: A unique string identifying the request associated with the
          API call.
     N/A N/A N/A response set_logout_url N/A N/A self _logout_url N/A N/A urllib quote N/A N/A self _AddHostToContinueURL N/A N/A request destination_url request_id N/A _Dynamic_GetOAuthUser N/A N/A self request response request_id N/A N/A N/A Trivial implementation of UserService.GetOAuthUser().

    Args:
      request: a GetOAuthUserRequest
      response: a GetOAuthUserResponse
      request_id: A unique string identifying the request associated with the
          API call.
     N/A N/A N/A self __email None N/A N/A N/A N/A apiproxy_errors ApplicationError N/A N/A user_service_pb UserServiceError OAUTH_INVALID_REQUEST N/A N/A N/A N/A self __scopes None N/A N/A authorized_scopes N/A set N/A N/A authorized_scopes N/A N/A N/A set N/A N/A request scopes_list intersection N/A self __scopes N/A N/A authorized_scopes N/A N/A N/A N/A apiproxy_errors ApplicationError N/A N/A user_service_pb UserServiceError OAUTH_INVALID_TOKEN N/A N/A N/A response set_email N/A self __email N/A N/A N/A response set_user_id N/A self __user_id N/A N/A N/A response set_auth_domain N/A self __domain N/A N/A N/A response set_is_admin N/A self __is_admin N/A N/A N/A response set_client_id N/A self __client_id N/A N/A N/A request request_writer_permission N/A N/A N/A N/A response set_is_project_writer N/A self __is_admin N/A scope authorized_scopes N/A N/A N/A N/A response add_scopes scope N/A _Dynamic_CheckOAuthSignature N/A N/A self unused_request response request_id N/A N/A N/A Trivial implementation of UserService.CheckOAuthSignature().

    Args:
      unused_request: a CheckOAuthSignatureRequest
      response: a CheckOAuthSignatureResponse
      request_id: A unique string identifying the request associated with the
          API call.
     N/A N/A N/A response set_oauth_consumer_key _OAUTH_CONSUMER_KEY N/A _AddHostToContinueURL N/A N/A self continue_url request_id N/A N/A N/A Adds the request host to the continue url if no host is specified.

    Args:
      continue_url: the URL which may or may not have a host specified
      request_id: A unique string identifying the request associated with the
          API call.

    Returns:
      string
     N/A N/A protocol host path parameters query fragment N/A N/A urlparse urlparse continue_url N/A N/A host protocol N/A N/A continue_url N/A N/A N/A N/A protocol host _ _ _ _ N/A N/A urlparse urlparse N/A N/A N/A self request_data get_request_url request_id N/A N/A N/A KeyError N/A N/A N/A N/A path N/A N/A path / N/A N/A N/A urlparse urlunparse N/A protocol host path parameters query fragment N/A N/A