API

Basics

class pyoauth2.client.Storage
get()

Abstract implementation for getting credentials from actual storage. Inherited class must implement concretes for

save()

Abstract implementation for storing credentials into storage defined in inherited subclasses, such as file, database, on-memory and so on.

class pyoauth2.client.FileStorage(filename)
get()

Retrieve credentials from filename as python dictionary object

save(data)

Save credential data into pre-defined file