3
com.canonical.indicators.webcredentials:
4
@short_description: interface for handling login failures.
6
The service implementing this interface keeps track of login failures.
7
Failures are reported (usually by signon-ui) using the ReportFailure method,
8
are listed in the Failures property and can be removed by calling
11
The ClearErrorStatus method can be called to clear the error indicator from
14
<interface name="com.canonical.indicators.webcredentials">
17
@account-id: the libaccounts ID of the account which failed to login.
18
@notification: dictionary of parameters for the OSD notification.
20
Inform the service about a failing account. The @account-id is added to the
21
list of the accounts in the Failures property, and a notification might be
22
displayed to the user.
24
The parameters currently recognized for the @notification argument are:
25
- DisplayName: string, description of the account (usually it's the
28
<method name="ReportFailure">
29
<annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="QVariantMap"/>
30
<arg name="account_id" type="u" direction="in"/>
31
<arg name="notification" type="a{sv}" direction="in"/>
36
@account-ids: the libaccounts IDs of the accounts.
38
Remove the given account IDs from the list of the failed accounts.
40
<method name="RemoveFailures">
41
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QSet<uint>"/>
42
<arg name="account_ids" type="au" direction="in"/>
46
ReauthenticateAccount:
47
@account-id: the libaccounts ID of the account.
48
@extra-parameters: dictionary of extra parameters (typically used to
50
@reauthenticated: %TRUE if the account could be reauthenticated and the
51
failure status has been cleared, %FALSE otherwise.
53
Tries to replay the failed authentications on the account. If all of them
54
succeed, then the account failure is cleared.
56
<method name="ReauthenticateAccount">
57
<annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="QVariantMap"/>
58
<arg name="account_id" type="u" direction="in"/>
59
<arg name="extra_parameters" type="a{sv}" direction="in"/>
60
<arg name="reauthenticated" type="b" direction="out"/>
66
Unsets the error indicator (if any) from the system user menu.
68
<method name="ClearErrorStatus"/>
71
Failures: list of the libaccounts IDs of the failing accounts.
73
<property name="Failures" type="au" access="read">
74
<annotation name="org.qtproject.QtDBus.QtTypeName" value="QSet<uint>"/>
78
ErrorStatus: true if the indicator should display an error status.
80
<property name="ErrorStatus" type="b" access="read"/>