in fxa/plugins/requests.py [0:0]
def __init__(self, email, password, scopes=None, client_id=None,
account_server_url=FXA_ACCOUNT_URL,
oauth_server_url=FXA_OAUTH_URL,
cache=True, ttl=DEFAULT_CACHE_EXPIRY):
self.email = email
self.password = password
if scopes is None:
scopes = ['profile']
self.scopes = scopes
self.client_id = client_id
self.account_server_url = account_server_url
self.oauth_server_url = oauth_server_url
self.cache = cache
if self.cache is True:
self.cache = MemoryCache(ttl)