1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.internal.backends.google_credentials_backend</title> 4<meta charset="utf-8"> 5</head><body bgcolor="#f0f0f8"> 6 7<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 8<tr bgcolor="#7799ee"> 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> 16<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> 21 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> 29 30<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 31<td width="100%"><dl> 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>) 33</font></dt><dd> 34<dl> 35<dt><font face="helvetica, arial"><a href="telemetry.internal.backends.google_credentials_backend.html#GoogleCredentialsBackend">GoogleCredentialsBackend</a> 36</font></dt><dd> 37<dl> 38<dt><font face="helvetica, arial"><a href="telemetry.internal.backends.google_credentials_backend.html#GoogleCredentialsBackend2">GoogleCredentialsBackend2</a> 39</font></dt></dl> 40</dd> 41</dl> 42</dd> 43</dl> 44 <p> 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> 49 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> 55</dl> 56<hr> 57Data descriptors defined here:<br> 58<dl><dt><strong>credentials_type</strong></dt> 59</dl> 60<dl><dt><strong>logged_in_javascript</strong></dt> 61<dd><tt>Evaluates to true iff already logged in.</tt></dd> 62</dl> 63<dl><dt><strong>login_form_id</strong></dt> 64</dl> 65<dl><dt><strong>login_input_id</strong></dt> 66</dl> 67<dl><dt><strong>password_input_id</strong></dt> 68</dl> 69<dl><dt><strong>url</strong></dt> 70</dl> 71<hr> 72Methods 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> 74 75<dl><dt><a name="GoogleCredentialsBackend-IsLoggedIn"><strong>IsLoggedIn</strong></a>(self)</dt></dl> 76 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> 78 <br> 79Raises:<br> 80 RuntimeError: if could not get credential information.</tt></dd></dl> 81 82<dl><dt><a name="GoogleCredentialsBackend-LoginNoLongerNeeded"><strong>LoginNoLongerNeeded</strong></a>(self, tab)</dt></dl> 83 84<dl><dt><a name="GoogleCredentialsBackend-__init__"><strong>__init__</strong></a>(self)</dt></dl> 85 86<hr> 87Data 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> 90</dl> 91<dl><dt><strong>__weakref__</strong></dt> 92<dd><tt>list of weak references to the object (if defined)</tt></dd> 93</dl> 94<dl><dt><strong>login_button_javascript</strong></dt> 95<dd><tt>Some sites have custom JS to log in.</tt></dd> 96</dl> 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> 102 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> 105<tr><td> </td> 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> 111</dl> 112<hr> 113Data descriptors defined here:<br> 114<dl><dt><strong>credentials_type</strong></dt> 115</dl> 116<hr> 117Data 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> 120</dl> 121<dl><dt><strong>login_form_id</strong></dt> 122</dl> 123<dl><dt><strong>login_input_id</strong></dt> 124</dl> 125<dl><dt><strong>password_input_id</strong></dt> 126</dl> 127<dl><dt><strong>url</strong></dt> 128</dl> 129<hr> 130Methods 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> 132 133<dl><dt><a name="GoogleCredentialsBackend2-IsLoggedIn"><strong>IsLoggedIn</strong></a>(self)</dt></dl> 134 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> 136 <br> 137Raises:<br> 138 RuntimeError: if could not get credential information.</tt></dd></dl> 139 140<dl><dt><a name="GoogleCredentialsBackend2-LoginNoLongerNeeded"><strong>LoginNoLongerNeeded</strong></a>(self, tab)</dt></dl> 141 142<dl><dt><a name="GoogleCredentialsBackend2-__init__"><strong>__init__</strong></a>(self)</dt></dl> 143 144<hr> 145Data 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> 148</dl> 149<dl><dt><strong>__weakref__</strong></dt> 150<dd><tt>list of weak references to the object (if defined)</tt></dd> 151</dl> 152<dl><dt><strong>login_button_javascript</strong></dt> 153<dd><tt>Some sites have custom JS to log in.</tt></dd> 154</dl> 155</td></tr></table></td></tr></table> 156</body></html>