Package oauth2client :: Module appengine :: Class CredentialsNDBModel
[hide private]
[frames] | no frames]

Class CredentialsNDBModel

source code


NDB Model for storage of OAuth 2.0 Credentials

Since this model uses the same kind as CredentialsModel and has a property
which can serialize and deserialize Credentials correctly, it can be used
interchangeably with a CredentialsModel to access, insert and delete the
same entities. This simply provides an NDB model for interacting with the
same data the DB model interacts with.

Storage of the model is keyed by the user.user_id().

Class Methods [hide private]
 
_get_kind(cls)
Return the kind name for this class.
source code
Class Variables [hide private]
  credentials = CredentialsNDBProperty()