From 8c544ab0e7b010aff25993134dab3338473de2b1 Mon Sep 17 00:00:00 2001 From: Jooseok Song Date: Fri, 15 Sep 2017 16:15:23 +0900 Subject: [PATCH] [TCSACR-81][csapi-account-manager][Add] Added new property to get account handle PS3: Reviewed (also removed cell merging from the tables, due to upcoming Markdown conversion) Change-Id: Ifa47c8cb09c0899986d8dcbaef8ded0be46e6f84 --- org.tizen.guides/html/dotnet/account.htm | 89 ++++++++++++++++++++++---------- 1 file changed, 61 insertions(+), 28 deletions(-) diff --git a/org.tizen.guides/html/dotnet/account.htm b/org.tizen.guides/html/dotnet/account.htm index 0df5273..13391e8 100644 --- a/org.tizen.guides/html/dotnet/account.htm +++ b/org.tizen.guides/html/dotnet/account.htm @@ -74,7 +74,7 @@
Note Account providers, such as Google and Facebook, represent specific service provider-related information or protocol that provides the user accounts. To add, update, or remove an accounts, you must register a specific account provider for all your applications belonging to the same package. -

To register an account provider, define the account provider information in the Account tab of the manifest editor, and implement the account application control.

+

To register an account provider, define the account provider information in the Account tab of the manifest editor, and implement the account application control.

If the application has defined the account provider information and implements the appcontrol for the account provider, the account provider is automatically registered when the application is installed.

@@ -536,93 +536,120 @@ Dictionary<string, string> labels = AccountProvider.GetLabelsByAppId(appId Account property Data type - Mandatory - Description + Mandatory + Description User name - String - Yes + String + Yes Identity of an account.

If the display name and email ID are not set for an account, the user name is shown for the account on the Accounts screen in the Setting application.

Display name - No + String + No Display name of an account. -

Display name is shown for the account on the Accounts screen in the Setting application.

+

Display name is shown for the account on the Accounts screen in the Setting application.

Email ID - Email ID of an account. + String + No + Email ID of an account.

If the display name is not set for an account, the email ID is shown for the account on the Accounts screen in the Setting application.

Package name - One of an account package IDs, like the app ID. + String + No + One of an account package IDs, like the app ID.

If the package name is not set for an account, the app ID is used as a package name.

Icon path + String + No Icon path of an account.

The icon is shown through the registered icon path as an account icon on the Accounts screen in the Setting application.

Domain name + String + No Domain name of an account. Access token + String + No Access token of an account. Auth type - Integer + Integer + No Authentication type, such as oauth or xauth. Capability - Key-value string-integer pairs + Key-value string-integer pairs + No Capability of an account. Secret - Integer + Integer + No The secret value is used to decide whether the account is shown on the Accounts screen in the Setting application. Sync support + Integer + No Current synchronization status. Source - String + String + No Source of an account. User text + String + No String array, which you can use freely. User int - Integer + Integer + No Integer array, which you can use freely. Custom - Key-value string pairs + Key-value string pairs + No Key-value pairs, which you can use freely. + + Safe account handle + SafeAccountHandle + No + Read-only account handle of an account. + @@ -634,44 +661,50 @@ Dictionary<string, string> labels = AccountProvider.GetLabelsByAppId(appId Account property Data type - Mandatory + Mandatory Description Multiple accounts support bool - Yes + Yes Indicates whether multiple accounts are supported. Icon - String + String + Yes File path of the account provider icon. -

The icon size is:

- +

Since the icon is used in Settings > Accounts, place the icon in a shared directory.

+ Small icon + String + Yes File path of the account provider icon. -

The icon size is:

- +

Since the small icon is used in other applications, place the icon in a shared directory.

Display name + String + Yes Display name of the account provider. Capabilities - No + String + No Capability of the account provider.

Capability can be a liaison between an account application and another application. If an account application registers a capability in the manifest file, other applications know that the account application has the capability. And if an account application gives an account a capability, other applications know that the account has the capability.

Several service-specific capabilities are defined for the Tizen.Account.AccountManager.AccountService class:

-- 2.7.4