From a84516743cd7751c0ded783bb9d10fb5e84f56a8 Mon Sep 17 00:00:00 2001
From: Joe Gregorio Utility module to import a JSON module
Client for discovery based APIs Errors for the library.
+
+ Utilities for Google App Engine Command-line tools for authenticating via OAuth 1.0 Utilities for OAuth.
Classes to encapsulate a single HTTP request. MIME-Type Parser Model objects for requests and responses. Utilities for OAuth.
+
+
+
+
+
+
+
SocksiPy - Python SOCKS module. Utilities for Google App Engine
An OAuth 2.0 client An OAuth 2.0 client.
apiclient.anyjsonindex
+>index
/home/jcgregorio/projects/google-api-python-client/apiclient/anyjson.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/anyjson.py
Hides all the messy details of exactly where
diff --git a/docs/apiclient.contrib.buzz.html b/docs/apiclient.contrib.buzz.html
index c0180e9..d188914 100644
--- a/docs/apiclient.contrib.buzz.html
+++ b/docs/apiclient.contrib.buzz.html
@@ -8,7 +8,7 @@
apiclient.contrib.buzzindex
+>index
/home/jcgregorio/projects/google-api-python-client/apiclient/contrib/buzz/__init__.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/contrib/buzz/__init__.py
diff --git a/docs/apiclient.contrib.html b/docs/apiclient.contrib.html
index c190bda..1b772a9 100644
--- a/docs/apiclient.contrib.html
+++ b/docs/apiclient.contrib.html
@@ -8,7 +8,7 @@
+>index
apiclient.contribindex
/home/jcgregorio/projects/google-api-python-client/apiclient/contrib/__init__.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/contrib/__init__.py
diff --git a/docs/apiclient.contrib.latitude.html b/docs/apiclient.contrib.latitude.html
index 1aa202d..8b6d296 100644
--- a/docs/apiclient.contrib.latitude.html
+++ b/docs/apiclient.contrib.latitude.html
@@ -8,7 +8,7 @@
+>index
apiclient.contrib.latitudeindex
/home/jcgregorio/projects/google-api-python-client/apiclient/contrib/latitude/__init__.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/contrib/latitude/__init__.py
diff --git a/docs/apiclient.contrib.moderator.html b/docs/apiclient.contrib.moderator.html
index 9f8377b..91aea14 100644
--- a/docs/apiclient.contrib.moderator.html
+++ b/docs/apiclient.contrib.moderator.html
@@ -8,7 +8,7 @@
+>index
apiclient.contrib.moderatorindex
/home/jcgregorio/projects/google-api-python-client/apiclient/contrib/moderator/__init__.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/contrib/moderator/__init__.py
diff --git a/docs/apiclient.discovery.html b/docs/apiclient.discovery.html
index 7df9888..7de89cf 100644
--- a/docs/apiclient.discovery.html
+++ b/docs/apiclient.discovery.html
@@ -8,7 +8,7 @@
+>index
apiclient.discoveryindex
/home/jcgregorio/projects/google-api-python-client/apiclient/discovery.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/discovery.py
A client library for Google's discovery based APIs.
apiclient.errorsindex
+>index
/home/jcgregorio/projects/google-api-python-client/apiclient/errors.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/errors.py
All exceptions defined by the library
@@ -39,6 +39,8 @@ should be defined in this file.
+Data descriptors inherited from exceptions.BaseException:
+
+
+
+
+
+
+
+
+class UnexpectedBodyError(Error)
+
+Exception raised by RequestMockBuilder on unexpected bodies.
+
+
+Methods defined here:
+
+
+
+Data descriptors inherited from Error:
+
+
+Data and other attributes inherited from exceptions.Exception:
+
+
+
+Methods inherited from exceptions.BaseException:
+
+
+
+
+
+
+
+
+
+
+Use of negative indices is not supported.
+
+
+
+
+
+
+
+
+
+
+
+
+Data descriptors inherited from exceptions.BaseException:
+
+
+
+
+
+>index
+
+
+
+class UnexpectedMethodError(Error)
+
+Exception raised by RequestMockBuilder on unexpected calls.
+
+
+Methods defined here:
+
+
+
+Data descriptors inherited from Error:
+
+
+Data and other attributes inherited from exceptions.Exception:
+
+
+
+Methods inherited from exceptions.BaseException:
+
+
+
+
+
+
+
+
+
+
+Use of negative indices is not supported.
+
+
+
+
+
+
+
+
+
+
+
Data descriptors inherited from exceptions.BaseException:
apiclient.ext.appengineindex
/home/jcgregorio/projects/google-api-python-client/apiclient/ext/appengine.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/ext/appengine.py
Utilities for making it easier to use the
diff --git a/docs/apiclient.ext.authtools.html b/docs/apiclient.ext.authtools.html
index 1ebaab0..b1cfd41 100644
--- a/docs/apiclient.ext.authtools.html
+++ b/docs/apiclient.ext.authtools.html
@@ -8,7 +8,7 @@
apiclient.ext.authtoolsindex
+>index
/home/jcgregorio/projects/google-api-python-client/apiclient/ext/authtools.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/ext/authtools.py
Do the OAuth 1.0 Three Legged Dance for
diff --git a/docs/apiclient.ext.file.html b/docs/apiclient.ext.file.html
index 8a8c479..49df8e2 100644
--- a/docs/apiclient.ext.file.html
+++ b/docs/apiclient.ext.file.html
@@ -8,7 +8,7 @@
apiclient.ext.fileindex
+>index
/home/jcgregorio/projects/google-api-python-client/apiclient/ext/file.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/ext/file.py
Utilities for making it easier to work with OAuth 1.0 credentials.
apiclient.extindex
+>index
/home/jcgregorio/projects/google-api-python-client/apiclient/ext/__init__.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/ext/__init__.py
diff --git a/docs/apiclient.html b/docs/apiclient.html
index 00c7d9c..11a41b8 100644
--- a/docs/apiclient.html
+++ b/docs/apiclient.html
@@ -8,7 +8,7 @@
+>index
apiclientindex
/home/jcgregorio/projects/google-api-python-client/apiclient/__init__.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/__init__.py
diff --git a/docs/apiclient.http.html b/docs/apiclient.http.html
index f2d9b11..0cbc0a6 100644
--- a/docs/apiclient.http.html
+++ b/docs/apiclient.http.html
@@ -8,7 +8,7 @@
+>index
apiclient.httpindex
/home/jcgregorio/projects/google-api-python-client/apiclient/http.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/http.py
The classes implement a command pattern, with every
@@ -95,9 +95,11 @@ Data descriptors defined here:
A simple mock of HttpRequest
Pass in a dictionary to the constructor that maps request methodIds to
-tuples of (httplib2.Response, content) that should be returned when that
-method is called. None may also be passed in for the httplib2.Response, in
-which case a 200 OK response will be generated.
+tuples of (httplib2.Response, content, opt_expected_body) that should be
+returned when that method is called. None may also be passed in for the
+httplib2.Response, in which case a 200 OK response will be generated.
+If an opt_expected_body (str or dict) is provided, it will be compared to
+the body and UnexpectedBodyError will be raised on inequality.
Example:
response = '{"data": {"id": "tag:google.c...'
@@ -109,8 +111,9 @@ Example:
apiclient.discovery.build("buzz", "v1", requestBuilder=requestBuilder)
Methods that you do not supply a response for will return a
-200 OK with an empty string as the response content. The methodId
-is taken from the rpcName in the discovery document.
+200 OK with an empty string as the response content or raise an excpetion if
+check_unexpected is set to True. The methodId is taken from the rpcName
+in the discovery document.
For more details see the project wiki.
+>index
@@ -120,7 +123,7 @@ of requestBuilder, which is to build an HttpRequest.execute(). See that method for the description of the
parameters and the expected response.
-
+
+ document.
The constructed object should be a callable object
that can replace the class HttpResponse.
@@ -128,7 +131,9 @@ that can replace the class HttpResponse.
responses - A dictionary that maps methodIds into tuples
of (httplib2.Response, content). The methodId
comes from the 'rpcName' field in the discovery
- document.
+check_unexpected - A boolean setting whether or not UnexpectedMethodError
+ should be raised on unsupplied method.
Data descriptors defined here:
diff --git a/docs/apiclient.mimeparse.html b/docs/apiclient.mimeparse.html
index ac2dbfe..0ce36c1 100644
--- a/docs/apiclient.mimeparse.html
+++ b/docs/apiclient.mimeparse.html
@@ -8,7 +8,7 @@
apiclient.mimeparse (version 0.1.3)index
/home/jcgregorio/projects/google-api-python-client/apiclient/mimeparse.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/mimeparse.py
This module provides basic functions for handling mime-types. It can handle
diff --git a/docs/apiclient.model.html b/docs/apiclient.model.html
index 7dbc430..802ad5d 100644
--- a/docs/apiclient.model.html
+++ b/docs/apiclient.model.html
@@ -8,7 +8,7 @@
apiclient.modelindex
+>index
/home/jcgregorio/projects/google-api-python-client/apiclient/model.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/model.py
Each API may support one or more serializations, such
@@ -78,7 +78,8 @@ Attributes:
Methods defined here:
-
+
+ protocol_buffer: The protocol buffer class used to de-serialize a
+object.
Args:
content: string, the body of the HTTP response
@@ -295,8 +296,8 @@ The serialzed protocol buffer returned in an
de-serialized using the given protocol buffer class.
Args:
- protocol_buffer: The protocol buffer class used to de-serialize a response
- from the API.
+ response from the API.
diff --git a/docs/apiclient.oauth.html b/docs/apiclient.oauth.html
index 5120e80..b019d53 100644
--- a/docs/apiclient.oauth.html
+++ b/docs/apiclient.oauth.html
@@ -8,7 +8,7 @@
apiclient.oauthindex
+>index
/home/jcgregorio/projects/google-api-python-client/apiclient/oauth.py
/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/oauth.py
Utilities for making it easier to work with OAuth.
Args:
- actorEmail: string, Email address of the user who performed the action.
- parameters: string, Event parameters in the form [parameter1 name]:[parameter1 value],[parameter2 name]:[parameter2 value],...
caller: string, Type of the caller.
Allowed values
application_owner - Caller is an application owner.
customer - Caller is a customer.
- maxResults: integer, Number of activity records to be shown in each page.
actorApplicationId: string, Application ID of the application which interacted on behalf of the user while performing the event.
- eventName: string, Name of the event being queried.
- applicationId: string, Application ID of the application on which the event was performed. (required)
- startTime: string, Return events which occured at or after this time.
- endTime: string, Return events which occured at or before this time.
- ipAddress: string, IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.
+ actorIpAddress: string, IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.
+ actorEmail: string, Email address of the user who performed the action.
+ maxResults: integer, Number of activity records to be shown in each page.
continuationToken: string, Next page URL.
+ eventName: string, Name of the event being queried.
+ endTime: string, Return events which occured at or before this time.
+ startTime: string, Return events which occured at or after this time.
+ parameters: string, Event parameters in the form [parameter1 name]:[parameter1 value],[parameter2 name]:[parameter2 value],...
+ applicationId: string, Application ID of the application on which the event was performed. (required)
customerId: string, Represents the customer who is the owner of target object on which action was performed. (required)
diff --git a/docs/dyn/blogger.v2.blogs.html b/docs/dyn/blogger.v2.blogs.html
new file mode 100644
index 0000000..8f5084d
--- /dev/null
+++ b/docs/dyn/blogger.v2.blogs.html
@@ -0,0 +1,31 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/dyn/blogger.v2.comments.html b/docs/dyn/blogger.v2.comments.html
new file mode 100644
index 0000000..526406b
--- /dev/null
+++ b/docs/dyn/blogger.v2.comments.html
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+class Resource(__builtin__.object)
+
+A class for interacting with a resource.
+Methods defined here:
+
+
+
+
+
+
+Args:
+ blogId: string, The ID of the blog to get. (required)
+Data descriptors defined here:
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/dyn/blogger.v2.html b/docs/dyn/blogger.v2.html
new file mode 100644
index 0000000..cb93864
--- /dev/null
+++ b/docs/dyn/blogger.v2.html
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+class Resource(__builtin__.object)
+
+A class for interacting with a resource.
+Methods defined here:
+
+
+
+
+
+
+Args:
+ commentId: string, The ID of the comment to get. (required)
+ postId: string, ID of the post to fetch posts from. (required)
+ blogId: string, ID of the blog to containing the comment. (required)
+
+
+
+Args:
+ startDate: string, Earliest date of comment to fetch.
+ fetchBodies: boolean, Whether the body content of the comments is included.
+ pageToken: string, Continuation token if request is paged.
+ maxResults: integer, Maximum number of comments to include in the result.
+ postId: string, ID of the post to fetch posts from. (required)
+ blogId: string, ID of the blog to fetch comments from. (required)
+
+
+
+Args:
+ previous_request: The request for the previous page.
+ previous_response: The response from the request for the previous page.
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+Data descriptors defined here:
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/dyn/blogger.v2.pages.html b/docs/dyn/blogger.v2.pages.html
new file mode 100644
index 0000000..24b5e8a
--- /dev/null
+++ b/docs/dyn/blogger.v2.pages.html
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+class Resource(__builtin__.object)
+
+A class for interacting with a resource.
+Methods defined here:
+
+
+
+
+
+
+
+
+
+
+
+
+
+Data descriptors defined here:
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/dyn/blogger.v2.posts.html b/docs/dyn/blogger.v2.posts.html
new file mode 100644
index 0000000..8b72531
--- /dev/null
+++ b/docs/dyn/blogger.v2.posts.html
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+class Resource(__builtin__.object)
+
+A class for interacting with a resource.
+Methods defined here:
+
+
+
+
+
+
+Args:
+ pageId: string, The ID of the page to get. (required)
+ blogId: string, ID of the blog containing the page. (required)
+
+
+
+Args:
+ fetchBodies: boolean, Whether to retrieve the Page bodies.
+ blogId: string, ID of the blog to fetch pages from. (required)
+Data descriptors defined here:
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/dyn/blogger.v2.users.blogs.html b/docs/dyn/blogger.v2.users.blogs.html
new file mode 100644
index 0000000..eaabe4e
--- /dev/null
+++ b/docs/dyn/blogger.v2.users.blogs.html
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+class Resource(__builtin__.object)
+
+A class for interacting with a resource.
+Methods defined here:
+
+
+
+
+
+
+Args:
+ postId: string, The ID of the post (required)
+ blogId: string, ID of the blog to fetch the post from. (required)
+
+
+
+Args:
+ startDate: string, Earliest post date to fetch.
+ pageToken: string, Continuation token if the request is paged.
+ maxResults: integer, Maximum number of posts to fetch.
+ fetchBodies: boolean, Whether the body content of posts is included.
+ blogId: string, ID of the blog to fetch posts from. (required)
+
+
+
+Args:
+ previous_request: The request for the previous page.
+ previous_response: The response from the request for the previous page.
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+Data descriptors defined here:
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/dyn/blogger.v2.users.html b/docs/dyn/blogger.v2.users.html
new file mode 100644
index 0000000..7cb34cc
--- /dev/null
+++ b/docs/dyn/blogger.v2.users.html
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+class Resource(__builtin__.object)
+
+A class for interacting with a resource.
+Methods defined here:
+
+
+
+
+
+
+Args:
+ userId: string, ID of the user whose blogs are to be fetched. (required)
+Data descriptors defined here:
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/dyn/shopping.v1.products.html b/docs/dyn/shopping.v1.products.html
index 2a12c9b..4a540ed 100644
--- a/docs/dyn/shopping.v1.products.html
+++ b/docs/dyn/shopping.v1.products.html
@@ -25,6 +25,7 @@ Args:
+
+
+
+class Resource(__builtin__.object)
+
+A class for interacting with a resource.
+Methods defined here:
+
+
+
+
+
+
+
+
+Args:
+ userId: string, The ID of the user to get. (required)
+Data descriptors defined here:
+
+
+
source: string, Query source (required)
recommendations_include: string, Recommendation specification
debug_enabled: boolean, Google Internal
+ location: string, Location used to determine tax and shipping
debug_searchRequest: boolean, Google Internal
productId: string, Id of product (required)
productIdType: string, Type of productId (required)
@@ -59,6 +60,7 @@ Args:
source: string, Query source (required)
useCase: string, One of CommerceSearchUseCase, ShoppingApiUseCase
debug_geocodeResponse: boolean, Google Internal
+ location: string, Location used to determine tax and shipping
categories_include: string, Category specification
debug_searchRequest: boolean, Google Internal
relatedQueries_enabled: boolean, Whether to return related queries
diff --git a/docs/httplib2.html b/docs/httplib2.html
index 271d87f..e02bd39 100644
--- a/docs/httplib2.html
+++ b/docs/httplib2.html
@@ -8,7 +8,7 @@
httplib2 (version 0.7.0)index
+>index
/home/jcgregorio/projects/google-api-python-client/httplib2/__init__.py
/usr/local/google/home/jcgregorio/projects/apiclient/httplib2/__init__.py
diff --git a/docs/httplib2.socks.html b/docs/httplib2.socks.html
index e124e0f..4f65a85 100644
--- a/docs/httplib2.socks.html
+++ b/docs/httplib2.socks.html
@@ -8,7 +8,7 @@
+>index
httplib2.socksindex
/home/jcgregorio/projects/google-api-python-client/httplib2/socks.py
/usr/local/google/home/jcgregorio/projects/apiclient/httplib2/socks.py
Version 1.00
diff --git a/docs/oauth2client.appengine.html b/docs/oauth2client.appengine.html
index e3cba8b..1607892 100644
--- a/docs/oauth2client.appengine.html
+++ b/docs/oauth2client.appengine.html
@@ -8,7 +8,7 @@
oauth2client.appengineindex
+>index
/home/jcgregorio/projects/google-api-python-client/oauth2client/appengine.py
/usr/local/google/home/jcgregorio/projects/apiclient/oauth2client/appengine.py
Utilities for making it easier to use OAuth 2.0 on Google App Engine.
google.appengine.ext.db
httplib2
-logging
google.appengine.api.memcache
-pickle
-simplejson
+pickle
+simplejson
time
-google.appengine.api.users
-google.appengine.ext.webapp
+google.appengine.api.users
+google.appengine.ext.webapp
@@ -121,6 +120,10 @@ Args:
token_uri: string, URI for token endpoint. For convenience
defaults to Google's endpoints but any OAuth 2.0 provider can be used.
+
+Class methods defined here:
+
+
Methods inherited from oauth2client.client.OAuth2Credentials:
@@ -141,27 +144,42 @@ Example:
h = httplib2.Http()
h = credentials.authorize(h)
-You can't create a new OAuth
-subclass of httplib2.Authenication because
-it never gets passed the absolute URI, which is
-needed for signing. So instead we have to overload
-'request' with a closure that adds in the
-Authorization header and then calls the original version
-of 'request()'.
+You can't create a new OAuth subclass of httplib2.Authenication
+because it never gets passed the absolute URI, which is needed for
+signing. So instead we have to overload 'request' with a closure
+that adds in the Authorization header and then calls the original
+version of 'request()'.
-
+
+
+
+ has expired and been refreshed. This implementation uses
Args:
- store: callable, a callable that when passed a Credential
- will store the credential back to where it came from.
+ store: Storage, an implementation of Stroage object.
This is needed to store the latest access_token if it
- has expired and been refreshed.
+ locking to check for updates before updating the
+ access_token.
Data descriptors inherited from oauth2client.client.OAuth2Credentials:
-
+
+
+If the token_expiry isn't set, we assume the token doesn't expire.
+Class methods inherited from oauth2client.client.Credentials:
+
+
+representation produced by to_json().
+
+Args:
+ s: string, JSON from to_json().
+
+Returns:
+ An instance of the subclass of Credentials that was serialized with
+ to_json().
Data descriptors inherited from oauth2client.client.Credentials:
+
+Data and other attributes inherited from oauth2client.client.Credentials:
+
+
-
@@ -515,8 +537,11 @@ Methods defined here:
Data and other attributes defined here:
+Subclasses must define an authorize() method that applies the credentials to
-Subclasses must define an authorize() method
-that applies the credentials to an HTTP transport.
+an HTTP transport.
+
+Subclasses must also specify a classmethod named 'from_json' that takes a JSON
+string as input and returns an instaniated Crentials object.
Methods inherited from google.appengine.ext.db.Property:
@@ -902,6 +927,31 @@ Returns:
Args:
credentials: Credentials, the credentials to store.
+
+Methods inherited from oauth2client.client.Storage:
+
+
+
+
+This lock is not reentrant.
+
+
+
+The Storage lock must be held when this is called.
+
+Returns:
+ oauth2client.client.Credentials
+
+
+
+The Storage lock must be held when this is called.
+
+Args:
+ credentials: Credentials, the credentials to store.
+
+
+Trying to release a lock that isn't held will result in a
+RuntimeError.
Data descriptors inherited from oauth2client.client.Storage:
oauth2client.clientindex
/home/jcgregorio/projects/google-api-python-client/oauth2client/client.py
+>index
/usr/local/google/home/jcgregorio/projects/apiclient/oauth2client/client.py
+
-Tools for interacting with OAuth 2.0 protected
-resources.
| - | Credentials object for OAuth 2.0 + Credentials object for OAuth 2.0. | -Credentials can be applied to an httplib2.Http object using the authorize() -method, which then signs each request from that object with the OAuth 2.0 -access token. This set of credentials is for the use case where you have -acquired an OAuth 2.0 access_token from another place such as a JavaScript -client or another web application, and wish to use it from Python. Because -only the access_token is present it can not be refreshed and will in time +Credentials can be applied to an httplib2.Http object using the +authorize() method, which then signs each request from that object +with the OAuth 2.0 access token. This set of credentials is for the +use case where you have acquired an OAuth 2.0 access_token from +another place such as a JavaScript client or another web +application, and wish to use it from Python. Because only the +access_token is present it can not be refreshed and will in time expire. AccessTokenCredentials objects may be safely pickled and unpickled. @@ -123,6 +123,10 @@ Notes: store: callable, a callable that when passed a Credential will store the credential back to where it came from. + +Class methods defined here: +
Methods inherited from OAuth2Credentials:
h = httplib2.Http() h = credentials.authorize(h) -You can't create a new OAuth -subclass of httplib2.Authenication because -it never gets passed the absolute URI, which is -needed for signing. So instead we have to overload -'request' with a closure that adds in the -Authorization header and then calls the original version -of 'request()'. +You can't create a new OAuth subclass of httplib2.Authenication +because it never gets passed the absolute URI, which is needed for +signing. So instead we have to overload 'request' with a closure +that adds in the Authorization header and then calls the original +version of 'request()'. -
Data descriptors inherited from OAuth2Credentials: -
+Class methods inherited from Credentials: + Data descriptors inherited from Credentials: +Data and other attributes inherited from Credentials: + | ||
| - | Abstract Credentials object used for OAuth 2.0 assertion grants + Abstract Credentials object used for OAuth 2.0 assertion grants. | -This credential does not require a flow to instantiate because it represents -a two legged flow, and therefore has all of the required information to -generate and refresh its own access tokens. It must be subclassed to -generate the appropriate assertion string. +This credential does not require a flow to instantiate because it +represents a two legged flow, and therefore has all of the required +information to generate and refresh its own access tokens. It must +be subclassed to generate the appropriate assertion string. AssertionCredentials objects may be safely pickled and unpickled. | ||
| @@ -318,7 +341,7 @@ generate the appropriate assertion string. | ||||
| Base class for all Credentials objects. -Subclasses must define an authorize() method -that applies the credentials to an HTTP transport. | ||
Methods defined here:
+Class methods defined here: +
Data descriptors defined here:
+Data and other attributes defined here: + | ||
| - | Credentials object for OAuth 2.0 + Credentials object for OAuth 2.0. | Credentials can be applied to an httplib2.Http object using the authorize() method, which then signs each request from that object with the OAuth 2.0 @@ -564,21 +642,20 @@ access token. Methods defined here:
+Class methods defined here: +
Data descriptors defined here: -
+Class methods inherited from Credentials: + Data descriptors inherited from Credentials: +Data and other attributes inherited from Credentials: + | ||
+
| diff --git a/docs/oauth2client.django_orm.html b/docs/oauth2client.django_orm.html index 2b1d7d3..19fb474 100644 --- a/docs/oauth2client.django_orm.html +++ b/docs/oauth2client.django_orm.html @@ -281,6 +281,31 @@ Returns: Args: credentials: Credentials, the credentials to store. + +Methods inherited from oauth2client.client.Storage: +
Data descriptors inherited from oauth2client.client.Storage:
| oauth2client.file index | /home/jcgregorio/projects/google-api-python-client/oauth2client/file.py | ||
Utilities for OAuth.
Utilities for making it easier to work with OAuth 2.0
@@ -21,8 +21,9 @@ credentials.
| pickle + | simplejson | threading - |
+
| @@ -60,11 +61,36 @@ Methods defined here: Returns: oauth2client.client.Credentials -
| ||||
|