Module Expr Str Assign NameStore Str Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Import alias identifier ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Utilities for OAuth.

Utilities for making it easier to work with OAuth 2.0
credentials.
 N/A __author__ jcgregorio@google.com (Joe Gregorio) N/A threading N/A N/A N/A simplejson N/A N/A N/A ImportError N/A N/A N/A django.utils simplejson N/A N/A N/A ImportError N/A N/A json simplejson client Storage BaseStorage client Credentials Storage N/A BaseStorage N/A N/A Store and retrieve a single credential to and from a file. __init__ N/A N/A self filename N/A N/A N/A N/A self _filename filename N/A N/A self _lock N/A N/A threading Lock N/A acquire_lock N/A N/A self N/A N/A N/A Acquires any lock necessary to access this Storage.

    This lock is not reentrant. N/A N/A N/A N/A self _lock acquire N/A release_lock N/A N/A self N/A N/A N/A Release the Storage lock.

    Trying to release a lock that isn't held will result in a
    RuntimeError.
     N/A N/A N/A N/A self _lock release N/A locked_get N/A N/A self N/A N/A N/A Retrieve Credential from file.

    Returns:
      oauth2client.client.Credentials
     N/A credentials None N/A N/A N/A f N/A open N/A self _filename r N/A content N/A N/A f read N/A N/A N/A f close N/A N/A N/A IOError N/A N/A credentials N/A N/A N/A credentials N/A N/A Credentials new_from_json content N/A N/A N/A credentials set_store self N/A N/A N/A ValueError N/A N/A N/A credentials N/A locked_put N/A N/A self credentials N/A N/A N/A Write Credentials to file.

    Args:
      credentials: Credentials, the credentials to store.
     N/A f N/A open N/A self _filename w N/A N/A N/A f write N/A N/A credentials to_json N/A N/A N/A f close N/A N/A