telemetry.internal.backends.facebook_credentials_backend
index
telemetry/internal/backends/facebook_credentials_backend.py

# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

 
Modules
       
telemetry.internal.backends.form_based_credentials_backend

 
Classes
       
telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend(__builtin__.object)
FacebookCredentialsBackend
FacebookCredentialsBackend2

 
class FacebookCredentialsBackend(telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend)
    
Method resolution order:
FacebookCredentialsBackend
telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
__builtin__.object

Data descriptors defined here:
credentials_type
logged_in_javascript
Evaluates to true iff already logged in.
login_form_id
login_input_id
password_input_id
url

Methods inherited from telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend:
IsAlreadyLoggedIn(self, tab)
IsLoggedIn(self)
LoginNeeded(self, tab, action_runner, config)
Logs in to a test account.
 
Raises:
  RuntimeError: if could not get credential information.
LoginNoLongerNeeded(self, tab)
__init__(self)

Data descriptors inherited from telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
login_button_javascript
Some sites have custom JS to log in.

 
class FacebookCredentialsBackend2(FacebookCredentialsBackend)
    Facebook credential backend for https client.
 
 
Method resolution order:
FacebookCredentialsBackend2
FacebookCredentialsBackend
telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
__builtin__.object

Data descriptors defined here:
credentials_type
url

Data descriptors inherited from FacebookCredentialsBackend:
logged_in_javascript
Evaluates to true iff already logged in.
login_form_id
login_input_id
password_input_id

Methods inherited from telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend:
IsAlreadyLoggedIn(self, tab)
IsLoggedIn(self)
LoginNeeded(self, tab, action_runner, config)
Logs in to a test account.
 
Raises:
  RuntimeError: if could not get credential information.
LoginNoLongerNeeded(self, tab)
__init__(self)

Data descriptors inherited from telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
login_button_javascript
Some sites have custom JS to log in.