2 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.internal.backends.google_credentials_backend
</title>
5 </head><body bgcolor=
"#f0f0f8">
7 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"heading">
9 <td valign=bottom
> <br>
10 <font color=
"#ffffff" face=
"helvetica, arial"> <br><big><big><strong><a href=
"telemetry.html"><font color=
"#ffffff">telemetry
</font></a>.
<a href=
"telemetry.internal.html"><font color=
"#ffffff">internal
</font></a>.
<a href=
"telemetry.internal.backends.html"><font color=
"#ffffff">backends
</font></a>.google_credentials_backend
</strong></big></big></font></td
11 ><td align=right valign=bottom
12 ><font color=
"#ffffff" face=
"helvetica, arial"><a href=
".">index
</a><br><a href=
"../telemetry/internal/backends/google_credentials_backend.py">telemetry/internal/backends/google_credentials_backend.py
</a></font></td></tr></table>
13 <p><tt>#
Copyright
2013 The
Chromium
Authors.
All
rights
reserved.
<br>
14 #
Use
of
this
source
code
is
governed
by
a
BSD-style
license
that
can
be
<br>
15 #
found
in
the
LICENSE
file.
</tt></p>
17 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
18 <tr bgcolor=
"#aa55cc">
19 <td colspan=
3 valign=bottom
> <br>
20 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Modules
</strong></big></font></td></tr>
22 <tr><td bgcolor=
"#aa55cc"><tt> </tt></td><td> </td>
23 <td width=
"100%"><table width=
"100%" summary=
"list"><tr><td width=
"25%" valign=top
><a href=
"telemetry.internal.backends.form_based_credentials_backend.html">telemetry.internal.backends.form_based_credentials_backend
</a><br>
24 </td><td width=
"25%" valign=top
></td><td width=
"25%" valign=top
></td><td width=
"25%" valign=top
></td></tr></table></td></tr></table><p>
25 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
26 <tr bgcolor=
"#ee77aa">
27 <td colspan=
3 valign=bottom
> <br>
28 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Classes
</strong></big></font></td></tr>
30 <tr><td bgcolor=
"#ee77aa"><tt> </tt></td><td> </td>
32 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.backends.form_based_credentials_backend.html#FormBasedCredentialsBackend">telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
</a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
35 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.backends.google_credentials_backend.html#GoogleCredentialsBackend">GoogleCredentialsBackend
</a>
38 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.backends.google_credentials_backend.html#GoogleCredentialsBackend2">GoogleCredentialsBackend2
</a>
45 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
46 <tr bgcolor=
"#ffc8d8">
47 <td colspan=
3 valign=bottom
> <br>
48 <font color=
"#000000" face=
"helvetica, arial"><a name=
"GoogleCredentialsBackend">class
<strong>GoogleCredentialsBackend
</strong></a>(
<a href=
"telemetry.internal.backends.form_based_credentials_backend.html#FormBasedCredentialsBackend">telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
</a>)
</font></td></tr>
50 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
51 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
52 <dd><a href=
"telemetry.internal.backends.google_credentials_backend.html#GoogleCredentialsBackend">GoogleCredentialsBackend
</a></dd>
53 <dd><a href=
"telemetry.internal.backends.form_based_credentials_backend.html#FormBasedCredentialsBackend">telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
</a></dd>
54 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
57 Data descriptors defined here:
<br>
58 <dl><dt><strong>credentials_type
</strong></dt>
60 <dl><dt><strong>logged_in_javascript
</strong></dt>
61 <dd><tt>Evaluates
to
true
iff
already
logged
in.
</tt></dd>
63 <dl><dt><strong>login_form_id
</strong></dt>
65 <dl><dt><strong>login_input_id
</strong></dt>
67 <dl><dt><strong>password_input_id
</strong></dt>
69 <dl><dt><strong>url
</strong></dt>
72 Methods inherited from
<a href=
"telemetry.internal.backends.form_based_credentials_backend.html#FormBasedCredentialsBackend">telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
</a>:
<br>
73 <dl><dt><a name=
"GoogleCredentialsBackend-IsAlreadyLoggedIn"><strong>IsAlreadyLoggedIn
</strong></a>(self, tab)
</dt></dl>
75 <dl><dt><a name=
"GoogleCredentialsBackend-IsLoggedIn"><strong>IsLoggedIn
</strong></a>(self)
</dt></dl>
77 <dl><dt><a name=
"GoogleCredentialsBackend-LoginNeeded"><strong>LoginNeeded
</strong></a>(self, tab, action_runner, config)
</dt><dd><tt>Logs
in
to
a
test
account.
<br>
80 RuntimeError:
if
could
not
get
credential
information.
</tt></dd></dl>
82 <dl><dt><a name=
"GoogleCredentialsBackend-LoginNoLongerNeeded"><strong>LoginNoLongerNeeded
</strong></a>(self, tab)
</dt></dl>
84 <dl><dt><a name=
"GoogleCredentialsBackend-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
87 Data descriptors inherited from
<a href=
"telemetry.internal.backends.form_based_credentials_backend.html#FormBasedCredentialsBackend">telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
</a>:
<br>
88 <dl><dt><strong>__dict__
</strong></dt>
89 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
91 <dl><dt><strong>__weakref__
</strong></dt>
92 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
94 <dl><dt><strong>login_button_javascript
</strong></dt>
95 <dd><tt>Some
sites
have
custom
JS
to
log
in.
</tt></dd>
97 </td></tr></table> <p>
98 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
99 <tr bgcolor=
"#ffc8d8">
100 <td colspan=
3 valign=bottom
> <br>
101 <font color=
"#000000" face=
"helvetica, arial"><a name=
"GoogleCredentialsBackend2">class
<strong>GoogleCredentialsBackend2
</strong></a>(
<a href=
"telemetry.internal.backends.google_credentials_backend.html#GoogleCredentialsBackend">GoogleCredentialsBackend
</a>)
</font></td></tr>
103 <tr bgcolor=
"#ffc8d8"><td rowspan=
2><tt> </tt></td>
104 <td colspan=
2><tt>Google
credential
backend
for
google2
credential.
<br> </tt></td></tr>
106 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
107 <dd><a href=
"telemetry.internal.backends.google_credentials_backend.html#GoogleCredentialsBackend2">GoogleCredentialsBackend2
</a></dd>
108 <dd><a href=
"telemetry.internal.backends.google_credentials_backend.html#GoogleCredentialsBackend">GoogleCredentialsBackend
</a></dd>
109 <dd><a href=
"telemetry.internal.backends.form_based_credentials_backend.html#FormBasedCredentialsBackend">telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
</a></dd>
110 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
113 Data descriptors defined here:
<br>
114 <dl><dt><strong>credentials_type
</strong></dt>
117 Data descriptors inherited from
<a href=
"telemetry.internal.backends.google_credentials_backend.html#GoogleCredentialsBackend">GoogleCredentialsBackend
</a>:
<br>
118 <dl><dt><strong>logged_in_javascript
</strong></dt>
119 <dd><tt>Evaluates
to
true
iff
already
logged
in.
</tt></dd>
121 <dl><dt><strong>login_form_id
</strong></dt>
123 <dl><dt><strong>login_input_id
</strong></dt>
125 <dl><dt><strong>password_input_id
</strong></dt>
127 <dl><dt><strong>url
</strong></dt>
130 Methods inherited from
<a href=
"telemetry.internal.backends.form_based_credentials_backend.html#FormBasedCredentialsBackend">telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
</a>:
<br>
131 <dl><dt><a name=
"GoogleCredentialsBackend2-IsAlreadyLoggedIn"><strong>IsAlreadyLoggedIn
</strong></a>(self, tab)
</dt></dl>
133 <dl><dt><a name=
"GoogleCredentialsBackend2-IsLoggedIn"><strong>IsLoggedIn
</strong></a>(self)
</dt></dl>
135 <dl><dt><a name=
"GoogleCredentialsBackend2-LoginNeeded"><strong>LoginNeeded
</strong></a>(self, tab, action_runner, config)
</dt><dd><tt>Logs
in
to
a
test
account.
<br>
138 RuntimeError:
if
could
not
get
credential
information.
</tt></dd></dl>
140 <dl><dt><a name=
"GoogleCredentialsBackend2-LoginNoLongerNeeded"><strong>LoginNoLongerNeeded
</strong></a>(self, tab)
</dt></dl>
142 <dl><dt><a name=
"GoogleCredentialsBackend2-__init__"><strong>__init__
</strong></a>(self)
</dt></dl>
145 Data descriptors inherited from
<a href=
"telemetry.internal.backends.form_based_credentials_backend.html#FormBasedCredentialsBackend">telemetry.internal.backends.form_based_credentials_backend.FormBasedCredentialsBackend
</a>:
<br>
146 <dl><dt><strong>__dict__
</strong></dt>
147 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
149 <dl><dt><strong>__weakref__
</strong></dt>
150 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
152 <dl><dt><strong>login_button_javascript
</strong></dt>
153 <dd><tt>Some
sites
have
custom
JS
to
log
in.
</tt></dd>
155 </td></tr></table></td></tr></table>