1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.internal.browser.browser_credentials</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.browser.html"><font color="#ffffff">browser</font></a>.browser_credentials</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/browser/browser_credentials.py">telemetry/internal/browser/browser_credentials.py</a></font></td></tr></table> 13 <p><tt># Copyright 2012 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.codepen_credentials_backend.html">telemetry.internal.backends.codepen_credentials_backend</a><br> 24<a href="telemetry.internal.backends.facebook_credentials_backend.html">telemetry.internal.backends.facebook_credentials_backend</a><br> 25</td><td width="25%" valign=top><a href="telemetry.internal.backends.google_credentials_backend.html">telemetry.internal.backends.google_credentials_backend</a><br> 26<a href="json.html">json</a><br> 27</td><td width="25%" valign=top><a href="logging.html">logging</a><br> 28<a href="telemetry.testing.options_for_unittests.html">telemetry.testing.options_for_unittests</a><br> 29</td><td width="25%" valign=top><a href="os.html">os</a><br> 30<a href="telemetry.core.util.html">telemetry.core.util</a><br> 31</td></tr></table></td></tr></table><p> 32<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 33<tr bgcolor="#ee77aa"> 34<td colspan=3 valign=bottom> <br> 35<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 36 37<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 38<td width="100%"><dl> 39<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> 40</font></dt><dd> 41<dl> 42<dt><font face="helvetica, arial"><a href="telemetry.internal.browser.browser_credentials.html#BrowserCredentials">BrowserCredentials</a> 43</font></dt></dl> 44</dd> 45<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>) 46</font></dt><dd> 47<dl> 48<dt><font face="helvetica, arial"><a href="telemetry.internal.browser.browser_credentials.html#CredentialsError">CredentialsError</a> 49</font></dt></dl> 50</dd> 51</dl> 52 <p> 53<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 54<tr bgcolor="#ffc8d8"> 55<td colspan=3 valign=bottom> <br> 56<font color="#000000" face="helvetica, arial"><a name="BrowserCredentials">class <strong>BrowserCredentials</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> 57 58<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 59<td width="100%">Methods defined here:<br> 60<dl><dt><a name="BrowserCredentials-Add"><strong>Add</strong></a>(self, credentials_type, data)</dt></dl> 61 62<dl><dt><a name="BrowserCredentials-AddBackend"><strong>AddBackend</strong></a>(self, backend)</dt></dl> 63 64<dl><dt><a name="BrowserCredentials-CanLogin"><strong>CanLogin</strong></a>(self, credentials_type)</dt></dl> 65 66<dl><dt><a name="BrowserCredentials-IsLoggedIn"><strong>IsLoggedIn</strong></a>(self, credentials_type)</dt></dl> 67 68<dl><dt><a name="BrowserCredentials-LoginNeeded"><strong>LoginNeeded</strong></a>(self, tab, credentials_type)</dt></dl> 69 70<dl><dt><a name="BrowserCredentials-LoginNoLongerNeeded"><strong>LoginNoLongerNeeded</strong></a>(self, tab, credentials_type)</dt></dl> 71 72<dl><dt><a name="BrowserCredentials-WarnIfMissingCredentials"><strong>WarnIfMissingCredentials</strong></a>(self, page)</dt></dl> 73 74<dl><dt><a name="BrowserCredentials-__init__"><strong>__init__</strong></a>(self, backends<font color="#909090">=None</font>)</dt></dl> 75 76<hr> 77Data descriptors defined here:<br> 78<dl><dt><strong>__dict__</strong></dt> 79<dd><tt>dictionary for instance variables (if defined)</tt></dd> 80</dl> 81<dl><dt><strong>__weakref__</strong></dt> 82<dd><tt>list of weak references to the object (if defined)</tt></dd> 83</dl> 84<dl><dt><strong>credentials_path</strong></dt> 85</dl> 86</td></tr></table> <p> 87<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 88<tr bgcolor="#ffc8d8"> 89<td colspan=3 valign=bottom> <br> 90<font color="#000000" face="helvetica, arial"><a name="CredentialsError">class <strong>CredentialsError</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr> 91 92<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 93<td colspan=2><tt>Error that can be thrown when logging in.<br> </tt></td></tr> 94<tr><td> </td> 95<td width="100%"><dl><dt>Method resolution order:</dt> 96<dd><a href="telemetry.internal.browser.browser_credentials.html#CredentialsError">CredentialsError</a></dd> 97<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> 98<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> 99<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 100</dl> 101<hr> 102Data descriptors defined here:<br> 103<dl><dt><strong>__weakref__</strong></dt> 104<dd><tt>list of weak references to the object (if defined)</tt></dd> 105</dl> 106<hr> 107Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 108<dl><dt><a name="CredentialsError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#CredentialsError-__init__">__init__</a>(...) initializes x; see help(type(x)) for signature</tt></dd></dl> 109 110<hr> 111Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> 112<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#CredentialsError-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> 113 114<hr> 115Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 116<dl><dt><a name="CredentialsError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#CredentialsError-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> 117 118<dl><dt><a name="CredentialsError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#CredentialsError-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> 119 120<dl><dt><a name="CredentialsError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#CredentialsError-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> 121 122<dl><dt><a name="CredentialsError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#CredentialsError-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> 123 <br> 124Use of negative indices is not supported.</tt></dd></dl> 125 126<dl><dt><a name="CredentialsError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> 127 128<dl><dt><a name="CredentialsError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#CredentialsError-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> 129 130<dl><dt><a name="CredentialsError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#CredentialsError-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> 131 132<dl><dt><a name="CredentialsError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> 133 134<dl><dt><a name="CredentialsError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#CredentialsError-__str__">__str__</a>() <==> str(x)</tt></dd></dl> 135 136<dl><dt><a name="CredentialsError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> 137 138<hr> 139Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> 140<dl><dt><strong>__dict__</strong></dt> 141</dl> 142<dl><dt><strong>args</strong></dt> 143</dl> 144<dl><dt><strong>message</strong></dt> 145</dl> 146</td></tr></table></td></tr></table> 147</body></html>