Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Yeraze/CalendarHangout
/ functions
Functions
465 in github.com/Yeraze/CalendarHangout
⨍
Functions
465
◇
Types & classes
139
↓ 2 callers
Method
iter
(self, domain)
httplib2/__init__.py:734
↓ 2 callers
Method
locked_get
Retrieve credential. The Storage lock must be held when this is called. Returns: oauth2client.client.Credentials
oauth2client/client.py:274
↓ 2 callers
Function
method
(self, **kwargs)
apiclient/discovery.py:568
↓ 2 callers
Method
open_and_lock
Open the file and lock it. Args: timeout: float, How long to try to lock for. delay: float, How long to wait between retries.
oauth2client/locked_file.py:86
↓ 2 callers
Method
request
Updates outgoing requests with a serialized body. Args: headers: dict, request headers path_params: dict, parameters that appear in t
apiclient/model.py:50
↓ 2 callers
Method
response
Gives us a chance to update with new nonces or such returned from the last authorized response. Over-rise this in sub-classes if neces
httplib2/__init__.py:488
↓ 2 callers
Method
resumable
Whether this upload is resumable. Returns: True if resumable upload or False.
apiclient/http.py:164
↓ 2 callers
Method
setproxy
setproxy(proxytype, addr[, port[, rdns[, username[, password]]]]) Sets the proxy to be used. proxytype - The type of the proxy to b
httplib2/socks.py:180
↓ 2 callers
Method
sign
Signs a message. Args: message: string, Message to be signed. Returns: string, The signature of the message for the give
oauth2client/crypt.py:103
↓ 2 callers
Function
sorted
(seq)
httplib2/__init__.py:121
↓ 2 callers
Method
to_str
Prototype object based on the schema, in Python code with comments. Args: from_cache: callable(name, seen), Callable that retrieves an obje
apiclient/schema.py:299
↓ 2 callers
Method
undent
Decrease indentation level.
apiclient/schema.py:235
↓ 2 callers
Method
unlock_and_close
Unlock and close the file.
oauth2client/locked_file.py:95
↓ 2 callers
Method
verify
Verifies a message against a signature. Args: message: string, The message to verify. signature: string, The signature on the m
oauth2client/crypt.py:53
↓ 2 callers
Function
xsrf_secret_key
Return the secret key for use for XSRF protection. If the Site entity does not have a secret key, this method will also create one and persist it
oauth2client/appengine.py:120
↓ 1 callers
Method
_GetValidHostsForCert
Returns a list of valid host globs for an SSL certificate. Args: cert: A dictionary representing an SSL certificate. Return
httplib2/__init__.py:958
↓ 1 callers
Method
_ValidateCertificateHostname
Validates that a given hostname is valid for an SSL certificate. Args: cert: A dictionary representing an SSL certificate.
httplib2/__init__.py:973
↓ 1 callers
Method
__getstate__
Trim the state down to something that can be pickled.
oauth2client/client.py:606
↓ 1 callers
Method
__negotiatesocks4
__negotiatesocks4(self,destaddr,destport) Negotiates a connection through a SOCKS4 server.
httplib2/socks.py:310
↓ 1 callers
Method
__negotiatesocks5
__negotiatesocks5(self,destaddr,destport) Negotiates a connection through a SOCKS5 server.
httplib2/socks.py:199
↓ 1 callers
Method
__rewriteproxy
rewrite HTTP request headers to support non-tunneling proxies (i.e. those which do not support the CONNECT method). This only works f
httplib2/socks.py:153
↓ 1 callers
Method
_add_basic_methods
(self, resourceDesc, rootDesc, schema)
apiclient/discovery.py:896
↓ 1 callers
Method
_add_nested_resources
(self, resourceDesc, rootDesc, schema)
apiclient/discovery.py:912
↓ 1 callers
Method
_add_next_methods
(self, resourceDesc, schema)
apiclient/discovery.py:943
↓ 1 callers
Method
_auth_from_challenge
A generator that creates Authorization objects that can be applied to requests.
httplib2/__init__.py:1222
↓ 1 callers
Method
_build_query
Builds a query string. Args: params: dict, the query parameters Returns: The query parameters properly encoded into an HTTP URI
apiclient/model.py:152
↓ 1 callers
Method
_create_file_if_needed
Create an empty file if necessary. This method will not initialize the file. Instead it implements a simple version of "touch" to ensure the
oauth2client/multistore_file.py:267
↓ 1 callers
Method
_create_file_if_needed
Create an empty file if necessary. This method will not initialize the file. Instead it implements a simple version of "touch" to ensure the
oauth2client/file.py:88
↓ 1 callers
Method
_decode_credential_from_json
Load a credential from our JSON serialization. Args: cred_entry: A dict entry from the data member of our format Returns: (key,
oauth2client/multistore_file.py:377
↓ 1 callers
Function
_decompressContent
(response, new_content)
httplib2/__init__.py:395
↓ 1 callers
Method
_delete_credential
Delete a credential and write the multistore. This must be called when the multistore is locked. Args: key: The key used to retrieve t
oauth2client/multistore_file.py:440
↓ 1 callers
Method
_delete_entity
Delete entity from datastore. Attempts to delete using the key_name stored on the object, whether or not the given key is in the datastore.
oauth2client/appengine.py:425
↓ 1 callers
Method
_deserialize_response
Convert string into httplib2 response and content. Args: payload: string, headers and body as a string. Returns: A pair (resp, c
apiclient/http.py:1123
↓ 1 callers
Function
_entry_disposition
Determine freshness from the Date, Expires and Cache-Control headers. We don't handle the following: 1. Cache-Control: max-stale 2. Age:
httplib2/__init__.py:321
↓ 1 callers
Function
_extract_id_token
Extract the JSON payload from a JWT. Does the extraction w/o checking the signature. Args: id_token: string, OAuth 2.0 id_token. Returns:
oauth2client/client.py:1024
↓ 1 callers
Function
_filter_blank
(i)
apiclient/mimeparse.py:169
↓ 1 callers
Function
_fix_up_media_upload
Updates parameters of API by adding 'media_body' if supported by method. SIDE EFFECTS: If the method supports media upload and has a required body,
apiclient/discovery.py:374
↓ 1 callers
Function
_fix_up_method_description
Updates a method description in a discovery document. SIDE EFFECTS: Changes the parameters dictionary in the method description with extra parame
apiclient/discovery.py:418
↓ 1 callers
Function
_fix_up_parameters
Updates parameters of an API method with values specific to this library. Specifically, adds whatever global parameters are specified by the API to
apiclient/discovery.py:331
↓ 1 callers
Method
_generate_assertion
Generate the assertion string that will be used in the access token request.
oauth2client/client.py:870
↓ 1 callers
Function
_generate_new_xsrf_secret_key
Returns a random XSRF secret key.
oauth2client/appengine.py:114
↓ 1 callers
Method
_generate_refresh_request_body
Generate the body that will be used in the refresh request.
oauth2client/client.py:617
↓ 1 callers
Method
_generate_refresh_request_headers
Generate the headers that will be used in the refresh request.
oauth2client/client.py:627
↓ 1 callers
Method
_get_all_credential_keys
Gets all the registered credential keys in the multistore. Returns: A list of dictionaries corresponding to all the keys currently register
oauth2client/multistore_file.py:407
↓ 1 callers
Method
_get_credential
Get a credential from the multistore. The multistore must be locked. Args: key: The key used to retrieve the credential Returns:
oauth2client/multistore_file.py:415
↓ 1 callers
Method
_get_entity
Retrieve entity from datastore. Uses a different model method for db or ndb models. Returns: Instance of the model corresponding to th
oauth2client/appengine.py:411
↓ 1 callers
Method
_get_proxy_info
Return a ProxyInfo instance (or None) based on the scheme and authority.
httplib2/__init__.py:1600
↓ 1 callers
Method
_get_storage
Get a Storage object to get/set a credential. This Storage is a 'view' into the multistore. Args: key: The key used to retrieve the cr
oauth2client/multistore_file.py:454
↓ 1 callers
Method
_header_to_id
Convert a Content-ID header value to an id. Presumes the Content-ID header conforms to the format that _id_to_header() returns. Args:
apiclient/http.py:1051
↓ 1 callers
Method
_id_to_header
Convert an id to a Content-ID header value. Args: id_: string, identifier of individual request. Returns: A Content-ID header wi
apiclient/http.py:1035
↓ 1 callers
Method
_locked_json_read
Get the raw content of the multistore file. The multistore must be locked when this is called. Returns: The contents of the multistore
oauth2client/multistore_file.py:308
↓ 1 callers
Method
_locked_json_write
Write a JSON serializable data structure to the multistore. The multistore must be locked when this is called. Args: data: The data to
oauth2client/multistore_file.py:320
↓ 1 callers
Method
_log_request
Logs debugging information about the request if requested.
apiclient/model.py:104
↓ 1 callers
Method
_log_response
Logs debugging information about the response if requested.
apiclient/model.py:175
↓ 1 callers
Function
_media_path_url_from_info
Creates an absolute media path URL. Constructed using the API root URI and service path from the discovery document and the relative path for the
apiclient/discovery.py:310
↓ 1 callers
Function
_media_size_to_long
Convert a string media size, such as 10GB or 3TB into an integer. Args: maxSize: string, size as a string, such as 2MB or 7GB. Returns:
apiclient/discovery.py:291
↓ 1 callers
Function
_new_fixed_fetch
(validate_certificate)
httplib2/__init__.py:1082
↓ 1 callers
Method
_new_id
Create a new id. Auto incrementing number that avoids conflicts with ids already used. Returns: string, a new unique id.
apiclient/http.py:1151
↓ 1 callers
Function
_normalize_headers
(headers)
httplib2/__init__.py:263
↓ 1 callers
Method
_normalize_headers
(self, headers)
httplib2/__init__.py:1379
↓ 1 callers
Function
_parse_exchange_token_response
Parses response of an exchange token request. Most providers return JSON but some (e.g. Facebook) return a url-encoded string. Args: conte
oauth2client/client.py:1044
↓ 1 callers
Function
_parse_state_value
Parse the value of the 'state' parameter. Parses the value and validates the XSRF token in the state parameter. Args: state: string, The val
oauth2client/appengine.py:527
↓ 1 callers
Method
_prettyPrintByName
Get pretty printed object prototype from the schema name. Args: name: string, Name of schema in the discovery document. seen: list of
apiclient/schema.py:86
↓ 1 callers
Method
_prettyPrintSchema
Get pretty printed object prototype of schema. Args: schema: object, Parsed JSON schema. seen: list of string, Names of schema alread
apiclient/schema.py:128
↓ 1 callers
Method
_refresh_and_apply_credentials
Refresh the credentials and apply to the request. Args: request: HttpRequest, the request. http: httplib2.Http, the global http objec
apiclient/http.py:1008
↓ 1 callers
Method
_refresh_data_cache
Refresh the contents of the multistore. The multistore must be locked when this is called. Raises: NewerCredentialStoreError: Raised w
oauth2client/multistore_file.py:335
↓ 1 callers
Method
_revoke
Revokes the refresh_token and deletes the store if available. Args: http_request: callable, a callable that matches the method signature of
oauth2client/client.py:712
↓ 1 callers
Method
_serialize_request
Convert an HttpRequest object into a string. Args: request: HttpRequest, the request to serialize. Returns: The request as a str
apiclient/http.py:1074
↓ 1 callers
Function
_ssl_wrap_socket
(sock, key_file, cert_file, disable_validation, ca_certs)
httplib2/__init__.py:70
↓ 1 callers
Method
_to_str_impl
Prototype object based on the schema, in Python code with comments. Args: schema: object, Parsed JSON schema file. Returns: Prot
apiclient/schema.py:239
↓ 1 callers
Method
_updateFromCredential
Update this Credential from another instance.
oauth2client/client.py:602
↓ 1 callers
Method
_update_credential
Update a credential and write the multistore. This must be called when the multistore is locked. Args: key: The key used to retrieve t
oauth2client/multistore_file.py:428
↓ 1 callers
Function
_upper_header_keys
(headers)
apiclient/channel.py:89
↓ 1 callers
Function
_urlsafe_b64decode
(b64string)
oauth2client/client.py:1017
↓ 1 callers
Function
_wsse_username_token
(cnonce, iso_now, password)
httplib2/__init__.py:454
↓ 1 callers
Method
applies_to
(self, hostname)
httplib2/__init__.py:773
↓ 1 callers
Function
build_from_document
Create a Resource for interacting with an API. Same as `build()`, but constructs the Resource object from a discovery document that is it given,
apiclient/discovery.py:211
↓ 1 callers
Method
bypass_host
Has this host been excluded from the proxy config
httplib2/__init__.py:776
↓ 1 callers
Method
callback_handler
RequestHandler for the OAuth 2.0 redirect callback. Usage: app = webapp.WSGIApplication([ ('/index', MyIndexHandler), ..
oauth2client/appengine.py:824
↓ 1 callers
Method
clear
(self)
httplib2/__init__.py:731
↓ 1 callers
Function
createNextMethod
Creates any _next methods for attaching to a Resource. The _next methods allow for easy iteration through list() responses. Args: methodName
apiclient/discovery.py:776
↓ 1 callers
Method
depth
(self, request_uri)
httplib2/__init__.py:474
↓ 1 callers
Method
deserialize
Perform the actual deserialization from response string to Python object. Args: content: string, the body of the HTTP response Ret
apiclient/model.py:222
↓ 1 callers
Function
encode
(c)
httplib2/iri2uri.py:53
↓ 1 callers
Method
execute
Execute the request. Args: http: httplib2.Http, an http object to be used in place of the one the HttpRequest request object wa
apiclient/http.py:663
↓ 1 callers
Function
flow_from_clientsecrets
Create a Flow from a clientsecrets file. Will create the right kind of Flow based on the contents of the clientsecrets file or will raise Invalid
oauth2client/client.py:1314
↓ 1 callers
Function
generate_token
Generates a URL-safe token for the given user, action, time tuple. Args: key: secret key to use. user_id: the user ID of the authenticated
oauth2client/xsrfutil.py:40
↓ 1 callers
Method
get_value_for_datastore
(self, model_instance)
oauth2client/appengine.py:205
↓ 1 callers
Method
getpeername
getpeername() -> address info Returns the IP address and port number of the destination machine (note: getproxypeername returns the pr
httplib2/socks.py:303
↓ 1 callers
Method
has_credentials
True if for the logged in user there are valid access Credentials. Must only be called from with a webapp.RequestHandler subclassed method th
oauth2client/appengine.py:784
↓ 1 callers
Method
has_stream
Does the underlying upload support a streaming interface. Streaming means it is an io.IOBase subclass that supports seek, i.e. seekable() ret
apiclient/http.py:185
↓ 1 callers
Method
inscope
(self, host, request_uri)
httplib2/__init__.py:478
↓ 1 callers
Method
locked_delete
Delete a credential. The Storage lock must be held when this is called.
oauth2client/client.py:294
↓ 1 callers
Function
main
(argv)
hangoutFix.py:73
↓ 1 callers
Method
new_from_json
Utility class method to instantiate a MediaUpload subclass from a JSON representation produced by to_json(). Args: s: string, JSON from
apiclient/http.py:236
↓ 1 callers
Method
next_chunk
Execute the next step of a resumable upload. Can only be used if the method being executed supports media uploads and the MediaUpload object
apiclient/http.py:739
↓ 1 callers
Function
parse_mime_type
Parses a mime-type into its component parts. Carves up a mime-type and returns a tuple of the (type, subtype, params) where 'params' is a dic
apiclient/mimeparse.py:32
↓ 1 callers
Method
prettyPrintByName
Get pretty printed object prototype from the schema name. Args: name: string, Name of schema in the discovery document. Returns:
apiclient/schema.py:114
↓ 1 callers
Method
prettyPrintSchema
Get pretty printed object prototype of schema. Args: schema: object, Parsed JSON schema. Returns: string, A string that contains
apiclient/schema.py:145
↓ 1 callers
Function
proxy_info_from_url
Construct a ProxyInfo from a URL (such as http_proxy env var)
httplib2/__init__.py:813
← previous
next →
101–200 of 465, ranked by callers