Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
cc37afd8
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
cc37afd8
编写于
6月 20, 2022
作者:
A
Annie_wang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update docs
Signed-off-by:
N
Annie_wang
<
annie.wangli@huawei.com
>
上级
0729632e
变更
6
展开全部
显示空白变更内容
内联
并排
Showing
6 changed file
with
183 addition
and
136 deletion
+183
-136
en/application-dev/reference/apis/js-apis-appAccount.md
en/application-dev/reference/apis/js-apis-appAccount.md
+3
-3
en/application-dev/security/Readme-EN.md
en/application-dev/security/Readme-EN.md
+6
-3
en/application-dev/security/accesstoken-guidelines.md
en/application-dev/security/accesstoken-guidelines.md
+1
-1
en/application-dev/security/accesstoken-overview.md
en/application-dev/security/accesstoken-overview.md
+35
-129
en/application-dev/security/figures/permission-application-process.png
...n-dev/security/figures/permission-application-process.png
+0
-0
en/application-dev/security/permission-list.md
en/application-dev/security/permission-list.md
+138
-0
未找到文件。
en/application-dev/reference/apis/js-apis-appAccount.md
浏览文件 @
cc37afd8
# App Account Management
>  **NOTE**<br
/
>
>  **NOTE**<br>
> 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.
...
...
@@ -26,7 +26,7 @@ Creates an **AppAccountManager** instance.
**Example**
```
js
var
appAccountManager
=
a
ccount
.
createAppAccountManager
();
const
appAccountManager
=
account_appA
ccount
.
createAppAccountManager
();
```
## AppAccountManager
...
...
@@ -387,7 +387,7 @@ Checks whether an app account allows application data synchronization. This meth
### setAccountCredential
setAccountCredential(name: string, credentialType: string, credential: string,
callback: AsyncCallback
<
void
>
): void
setAccountCredential(name: string, credentialType: string, credential: string,callback: AsyncCallback
<
void
>
): void
Sets a credential for an app account. This method uses an asynchronous callback to return the result.
...
...
en/application-dev/security/Readme-EN.md
浏览文件 @
cc37afd8
# Security
-
Access Control
-
[
Access Control Overview
](
accesstoken-overview.md
)
-
[
Access Control Development
](
accesstoken-guidelines.md
)
-
[
Permission List
](
permission-list.md
)
-
User Authentication
-
[
User Authentication Overview
](
userauth-overview.md
)
-
[
User Authentication Development
](
userauth-guidelines.md
)
...
...
@@ -9,8 +14,6 @@
-
[
HUKS Development
](
huks-guidelines.md
)
-
hapsigntool
-
[
hapsigntool Overview
](
hapsigntool-overview.md
)
-
[
hapsigntool Guide
](
hapsigntool-guidelines.md
)
-
Access Control
-
[
Access Control Overview
](
accesstoken-overview.md
)
-
[
Access Control Development
](
accesstoken-guidelines.md
)
\ No newline at end of file
en/application-dev/security/accesstoken-guidelines.md
浏览文件 @
cc37afd8
...
...
@@ -43,7 +43,7 @@ Declare the permissions required by the app one by one in the **config.json** fi
```
json
{
"module"
:
{
"reques
e
tPermissions"
:[
"requestPermissions"
:[
{
"name"
:
"ohos.permission.PERMISSION1"
,
"reason"
:
"$string:reason"
,
...
...
en/application-dev/security/accesstoken-overview.md
浏览文件 @
cc37afd8
此差异已折叠。
点击以展开。
en/application-dev/security/figures/permission-application-process.png
0 → 100644
浏览文件 @
cc37afd8
61.7 KB
en/application-dev/security/permission-list.md
0 → 100644
浏览文件 @
cc37afd8
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录