telemetry.internal.backends.google_credentials_backend
index
telemetry/internal/backends/google_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)
GoogleCredentialsBackend
GoogleCredentialsBackend2

 
class GoogleCredentialsBackend(telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend)
    
Method resolution order:
GoogleCredentialsBackend
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 GoogleCredentialsBackend2(GoogleCredentialsBackend)
    Google credential backend for google2 credential.
 
 
Method resolution order:
GoogleCredentialsBackend2
GoogleCredentialsBackend
telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
__builtin__.object

Data descriptors defined here:
credentials_type

Data descriptors inherited from GoogleCredentialsBackend:
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.