> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
...
@@ -20,13 +20,13 @@ Creates an **AppAccountManager** instance.
...
@@ -20,13 +20,13 @@ Creates an **AppAccountManager** instance.
| name | string | Yes | Name of the app account to add. |
| name | string | Yes | Name of the app account to add. |
| extraInfo | string | Yes | Additional information (for example, token) of the app account to add. The additional information cannot contain sensitive information about the app account. |
| extraInfo | string | Yes | Additional information (for example, token) of the app account to add. The additional information cannot contain sensitive information about the app account.|
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account and its additional information are added. |
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account and its additional information are added. |
**Example**
**Example**
...
@@ -88,22 +88,22 @@ Adds an app account and its additional information to the account management ser
...
@@ -88,22 +88,22 @@ Adds an app account and its additional information to the account management ser
| name | string | Yes | Name of the app account to add. |
| name | string | Yes | Name of the app account to add. |
| extraInfo | string | Yes | Additional information of the app account to add. The additional information cannot contain sensitive information about the app account. |
| extraInfo | string | Yes | Additional information of the app account to add. The additional information cannot contain sensitive information about the app account.|
**Return Value**
**Return Value**
| Type | Description |
| Type | Description |
| ------------------- | --------------------- |
| ------------------- | --------------------- |
| Promise<void> | Promise used to return the result. |
| Promise<void> | Promise used to return the result.|
**Example**
**Example**
...
@@ -120,18 +120,18 @@ Adds an app account and its additional information to the account management ser
...
@@ -120,18 +120,18 @@ Adds an app account and its additional information to the account management ser
Implicitly adds an app account based on the specified account owner, authentication type, and options. This method uses an asynchronous callback to return the result.
Implicitly adds an app account based on the specified account owner, authentication type, and options. This API uses an asynchronous callback to return the result.
| bundleName | string | Yes | Bundle name of an app. |
| bundleName | string | Yes | Bundle name of an app. |
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account is disabled from accessing the application with the given bundle name. |
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account is disabled from accessing the application with the given bundle name.|
**Example**
**Example**
...
@@ -241,22 +241,22 @@ Disables an app account from accessing an application with the given bundle name
...
@@ -241,22 +241,22 @@ Disables an app account from accessing an application with the given bundle name
| bundleName | string | Yes | Bundle name of an app. |
| bundleName | string | Yes | Bundle name of an app. |
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account is enabled to access the application with the given bundle name. |
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account is enabled to access the application with the given bundle name.|
**Example**
**Example**
...
@@ -298,22 +298,22 @@ Enables an app account to access an application with the given bundle name. This
...
@@ -298,22 +298,22 @@ Enables an app account to access an application with the given bundle name. This
| type | 'change' | Yes | Type of the event to subscribe to. The subscriber will receive a notification when the account owners update their accounts. |
| type | 'change' | Yes | Type of the event to subscribe to. The subscriber will receive a notification when the account owners update their accounts.|
| owners | Array<string> | Yes | Owners of the accounts. |
| owners | Array<string> | Yes | Owners of the accounts. |
| callback | Callback<Array<AppAccountInfo>> | Yes | Callback invoked to return the account change. |
| callback | Callback<Array<AppAccountInfo>> | Yes | Callback invoked to return the account change. |
**Example**
**Example**
...
@@ -942,16 +942,16 @@ Subscribes to the account change event of the specified account owners. This met
...
@@ -942,16 +942,16 @@ Subscribes to the account change event of the specified account owners. This met
Obtains the OAuth access token of an app account based on the specified authentication type. This method uses an asynchronous callback to return the result.
Obtains the OAuth access token of an app account based on the specified authentication type. This API uses an asynchronous callback to return the result.
Obtains information about all OAuth access tokens of an app account visible to the specified app. This method uses an asynchronous callback to return the result.
Obtains information about all OAuth access tokens of an app account visible to the specified app. This API uses an asynchronous callback to return the result.