Package u1rest :: Package lib :: Package auth :: Module simpleauth :: Class FileStoreAuthenticator
[hide private]
[frames] | no frames]

Class FileStoreAuthenticator

source code

                object --+    
                         |    
baseauth.BaseAuthenticator --+
                             |
                            FileStoreAuthenticator

A file based Authenticator.

Instance Methods [hide private]
 
__init__(self, filename='credentialfile.txt')
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
load_credentials(self)
Load the oauth credentials.
source code
 
create_and_save_credentials(self, token_name, email, password)
Create an file for credentials.
source code

Inherited from baseauth.BaseAuthenticator: get_auth_headers, get_consumer_and_token, get_request_token, simple_signed_get_request

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from baseauth.BaseAuthenticator (private): _credentials

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename='credentialfile.txt')
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

load_credentials(self)

source code 

Load the oauth credentials.

Overrides: baseauth.BaseAuthenticator.load_credentials

create_and_save_credentials(self, token_name, email, password)

source code 

Create an file for credentials.

Parameters:
  • token_name - A Name to give the OAuth Token.
  • email - Your SSO Email.
  • password - Your SSO Password.