Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
5b50345d
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5b50345d
编写于
8月 15, 2022
作者:
1
15829070344
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【账号】头协议补充
Signed-off-by:
N
15829070344
<
hehaitao5@huawei.com
>
上级
8eeb1b8d
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
130 addition
and
67 deletion
+130
-67
account/appaccount/actsaccounttest/src/main/js/test/AppAccess.test.js
...ccount/actsaccounttest/src/main/js/test/AppAccess.test.js
+1
-0
account/appaccount/actsaccounttest/src/main/js/test/Authenticator.test.js
...nt/actsaccounttest/src/main/js/test/Authenticator.test.js
+1
-1
account/appaccount/actsaccounttest/src/main/js/test/OAuthToken.test.js
...count/actsaccounttest/src/main/js/test/OAuthToken.test.js
+69
-65
account/appaccount/actsaccounttest/src/main/js/test/OnOff.js
account/appaccount/actsaccounttest/src/main/js/test/OnOff.js
+1
-1
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/Common/utils.js
...ctsaccountauthenticator/entry/src/main/js/Common/utils.js
+15
-0
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/MainAbility/app.js
...accountauthenticator/entry/src/main/js/MainAbility/app.js
+14
-0
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/MainAbility/pages/index/index.js
...icator/entry/src/main/js/MainAbility/pages/index/index.js
+15
-0
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/ServiceAbility/service.js
...authenticator/entry/src/main/js/ServiceAbility/service.js
+14
-0
未找到文件。
account/appaccount/actsaccounttest/src/main/js/test/AppAccess.test.js
100755 → 100644
浏览文件 @
5b50345d
...
...
@@ -204,6 +204,7 @@ export default function ActsAccountAppAccess() {
console
.
debug
(
"
====>enableAppAccess 0700 err:
"
+
JSON
.
stringify
(
err
));
expect
(
err
).
assertEqual
(
null
);
appAccountManager
.
disableAppAccess
(
"
AppAccess_callback_account
"
,
enableBundle
,
(
err
)
=>
{
console
.
debug
(
"
====>disableAppAccess 0700 err:
"
+
JSON
.
stringify
(
err
));
expect
(
err
).
assertEqual
(
null
)
appAccountManager
.
deleteAccount
(
"
AppAccess_callback_account
"
,
(
err
)
=>
{
console
.
debug
(
"
====>delete Account ActsAccountAppAccess_0700 err:
"
+
JSON
.
stringify
(
err
));
...
...
account/appaccount/actsaccounttest/src/main/js/test/Authenticator.test.js
浏览文件 @
5b50345d
...
...
@@ -376,7 +376,7 @@ export default function ActsAccountAppAccess() {
appAccountManager
.
getAccountCredential
(
name
,
"
PIN
"
).
then
((
data
)
=>
{
console
.
debug
(
"
====>ActsAccountDeleteAccountCredential_0200 getAccountCredential_data:
"
+
JSON
.
stringify
(
data
));
appAccountManager
.
deleteAccountCredential
(
name
,
"
PIN
"
).
then
((
data
)
=>
{
console
.
debug
(
"
====>ActsAccountDeleteAccountCredential_0200 data:
"
+
JSON
.
stringify
(
data
));
//expect undefined assertEqual true
console
.
debug
(
"
====>ActsAccountDeleteAccountCredential_0200 data:
"
+
JSON
.
stringify
(
data
));
try
{
appAccountManager
.
deleteAccount
(
name
)
console
.
debug
(
'
====>ActsAccountDeleteAccountCredential_0200 deleteAccount_success
'
)
...
...
account/appaccount/actsaccounttest/src/main/js/test/OAuthToken.test.js
浏览文件 @
5b50345d
...
...
@@ -503,37 +503,37 @@ export default function ActsAccountOAuthToken() {
it
(
'
ActsAccountOAuthToken_8100
'
,
0
,
async
function
(
done
)
{
var
limitName
=
''
;
for
(
var
i
=
0
;
i
<
LENGTHLIMIT
+
1
;
i
++
){
limitName
+=
'
c
'
;
}
console
.
debug
(
"
====>ActsAccountOAuthToken_8100 start====
"
);
var
appAccountManager
=
account
.
createAppAccountManager
();
console
.
debug
(
"
====>ActsAccountOAuthToken_8100 getAllOAuthTokens start====
"
);
appAccountManager
.
getAllOAuthTokens
(
limitName
,
OWNERSELF
,(
err
,
ArrayData
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_8100 getAllOAuthTokens err:
"
+
JSON
.
stringify
(
err
));
console
.
debug
(
"
====>ActsAccountOAuthToken_8100 getAllOAuthTokens ArrayData:
"
+
JSON
.
stringify
(
ArrayData
));
expect
(
err
.
code
!=
0
).
assertEqual
(
true
);
expect
(
ArrayData
).
assertEqual
(
null
);
console
.
debug
(
"
====>ActsAccountOAuthToken_8100 ====
"
);
done
();
});
});
it
(
'
ActsAccountOAuthToken_8200
'
,
0
,
async
function
(
done
)
{
console
.
debug
(
"
====>ActsAccountOAuthToken_8200 start====
"
);
var
appAccountManager
=
account
.
createAppAccountManager
();
console
.
debug
(
"
====>ActsAccountOAuthToken_8200 getAllOAuthTokens start====
"
);
appAccountManager
.
getAllOAuthTokens
(
""
,
OWNERSELF
,(
err
,
ArrayData
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_8200 getAllOAuthTokens err:
"
+
JSON
.
stringify
(
err
));
console
.
debug
(
"
====>ActsAccountOAuthToken_8200 getAllOAuthTokens ArrayData:
"
+
JSON
.
stringify
(
ArrayData
));
expect
(
err
.
code
!=
0
).
assertEqual
(
true
);
expect
(
ArrayData
).
assertEqual
(
null
);
console
.
debug
(
"
====>ActsAccountOAuthToken_8200 ====
"
);
done
();
});
it
(
'
ActsAccountOAuthToken_8100
'
,
0
,
async
function
(
done
)
{
var
limitName
=
''
;
for
(
var
i
=
0
;
i
<
LENGTHLIMIT
+
1
;
i
++
){
limitName
+=
'
c
'
;
}
console
.
debug
(
"
====>ActsAccountOAuthToken_8100 start====
"
);
var
appAccountManager
=
account
.
createAppAccountManager
();
console
.
debug
(
"
====>ActsAccountOAuthToken_8100 getAllOAuthTokens start====
"
);
appAccountManager
.
getAllOAuthTokens
(
limitName
,
OWNERSELF
).
then
((
ArrayData
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_8100 getAllOAuthTokens ArrayData:
"
+
JSON
.
stringify
(
ArrayData
));
expect
(
ArrayData
.
length
).
assertEqual
(
0
);
console
.
debug
(
"
====>ActsAccountOAuthToken_8100 ====
"
);
done
();
}).
catch
((
err
)
=>
{
expect
(
err
.
code
!=
0
).
assertEqual
(
true
);
done
();
})
});
it
(
'
ActsAccountOAuthToken_8200
'
,
0
,
async
function
(
done
)
{
console
.
debug
(
"
====>ActsAccountOAuthToken_8200 start====
"
);
var
appAccountManager
=
account
.
createAppAccountManager
();
console
.
debug
(
"
====>ActsAccountOAuthToken_8200 getAllOAuthTokens start====
"
);
appAccountManager
.
getAllOAuthTokens
(
""
,
OWNERSELF
,(
err
,
ArrayData
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_8200 getAllOAuthTokens err:
"
+
JSON
.
stringify
(
err
));
console
.
debug
(
"
====>ActsAccountOAuthToken_8200 getAllOAuthTokens ArrayData:
"
+
JSON
.
stringify
(
ArrayData
));
expect
(
err
.
code
!=
0
).
assertEqual
(
true
);
console
.
debug
(
"
====>ActsAccountOAuthToken_8200 ====
"
);
done
();
});
});
it
(
'
ActsAccountOAuthToken_8300
'
,
0
,
async
function
(
done
)
{
console
.
debug
(
"
====>ActsAccountOAuthToken_8300 start====
"
);
...
...
@@ -1053,13 +1053,13 @@ export default function ActsAccountOAuthToken() {
await
appAccountManager
.
setOAuthToken
(
"
account_promise_setDeleteGet
"
,
"
new_authType
"
,
"
promise_setDeleteGet_token
"
);
console
.
debug
(
"
====>getOAuthToken ActsAccountOAuthToken_1200 start====
"
);
var
data1
_b
eforeDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
old_authType
"
);
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 data1
_beforeDel:
"
+
data1_b
eforeDel
);
var
data1
B
eforeDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
old_authType
"
);
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 data1
BeforeDel:
"
+
data1B
eforeDel
);
expect
(
data1_beforeDel
).
assertEqual
(
"
promise_setDeleteGet_token
"
);
console
.
debug
(
"
====>getOAuthToken ActsAccountOAuthToken_1200 start====
"
);
var
data2
_b
eforeDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
new_authType
"
);
console
.
debug
(
"
====>getOAuthToken getNew ActsAccountOAuthToken_1200 data2
_beforeDel:
"
+
data2_b
eforeDel
);
expect
(
data2
_
beforeDel
).
assertEqual
(
"
promise_setDeleteGet_token
"
);
var
data2
B
eforeDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
new_authType
"
);
console
.
debug
(
"
====>getOAuthToken getNew ActsAccountOAuthToken_1200 data2
BeforeDel:
"
+
data2B
eforeDel
);
expect
(
data2beforeDel
).
assertEqual
(
"
promise_setDeleteGet_token
"
);
console
.
debug
(
"
====>deleteOAuthToken deleteOld ActsAccountOAuthToken_1200 start====
"
);
try
{
...
...
@@ -1072,8 +1072,8 @@ export default function ActsAccountOAuthToken() {
console
.
debug
(
"
====>getOAuthToken ActsAccountOAuthToken_1200 start====
"
);
try
{
var
data1
_
AfterDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
old_authType
"
,);
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 data1_AfterDel:
"
+
data1
_
AfterDel
);
var
data1AfterDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
old_authType
"
,);
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 data1_AfterDel:
"
+
data1AfterDel
);
expect
().
assertFail
();
}
catch
(
err
){
...
...
@@ -1083,8 +1083,8 @@ export default function ActsAccountOAuthToken() {
console
.
debug
(
"
====>getOAuthToken ActsAccountOAuthToken_1200 start====
"
);
try
{
var
data2_AfterDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
new_authType
"
,);
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 data2_AfterDel:
"
+
data2
_
AfterDel
);
expect
(
data2
_
AfterDel
).
assertEqual
(
"
promise_setDeleteGet_token
"
);
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 data2_AfterDel:
"
+
data2AfterDel
);
expect
(
data2AfterDel
).
assertEqual
(
"
promise_setDeleteGet_token
"
);
}
catch
(
err
){
console
.
debug
(
"
====>getOAuthToken getNew ActsAccountOAuthToken_1200 err:
"
+
JSON
.
stringify
(
err
));
...
...
@@ -1101,8 +1101,8 @@ export default function ActsAccountOAuthToken() {
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 start====
"
);
try
{
var
data1
_
AgainDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
old_authType
"
,);
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 data1_AgainDel:
"
+
data1
_
AgainDel
);
var
data1AgainDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
old_authType
"
,);
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 data1_AgainDel:
"
+
data1AgainDel
);
expect
().
assertFail
();
}
catch
(
err
){
...
...
@@ -1111,8 +1111,8 @@ export default function ActsAccountOAuthToken() {
}
console
.
debug
(
"
====>getOAuthToken getNew ActsAccountOAuthToken_1200 start====
"
);
try
{
var
data2
_
AgainDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
new_authType
"
,);
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 data2_AgainDel:
"
+
data2
_
AgainDel
);
var
data2AgainDel
=
await
appAccountManager
.
getOAuthToken
(
"
account_promise_setDeleteGet
"
,
OWNERSELF
,
"
new_authType
"
,);
console
.
debug
(
"
====>getOAuthToken getOld ActsAccountOAuthToken_1200 data2_AgainDel:
"
+
data2AgainDel
);
expect
().
assertFail
();
}
catch
(
err
){
...
...
@@ -2457,13 +2457,16 @@ export default function ActsAccountOAuthToken() {
it
(
'
ActsAccountOAuthToken_9200
'
,
0
,
async
function
(
done
)
{
console
.
debug
(
"
====>ActsAccountOAuthToken_9200 start====
"
);
var
appAccountManager
=
account
.
createAppAccountManager
();
appAccountManager
.
getAuthenticatorCallback
(
"
test_sessionId
"
,(
err
,
databack
)
=>
{
var
appAccountManager
=
account
.
createAppAccountManager
();
appAccountManager
.
getAuthenticatorCallback
(
"
test_sessionId
"
).
then
((
databack
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_9200 getAuthenticatorCallback data:
"
+
JSON
.
stringify
(
databack
))
expect
(
databack
).
assertEqual
(
undefined
);
done
();
}).
catch
((
err
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_9200 getAuthenticatorCallback err:
"
+
JSON
.
stringify
(
err
));
expect
(
err
.
code
!=
0
).
assertEqual
(
true
);
expect
(
databack
).
assertEqual
(
null
);
done
();
});
})
});
it
(
'
ActsAccountOAuthToken_9300
'
,
0
,
async
function
(
done
)
{
...
...
@@ -2564,33 +2567,33 @@ export default function ActsAccountOAuthToken() {
it
(
'
ActsAccountOAuthToken_9900
'
,
0
,
async
function
(
done
)
{
console
.
debug
(
"
====>ActsAccountOAuthToken_9900 start====
"
);
var
appAccountManager
=
account
.
createAppAccountManager
();
appAccountManager
.
addAccount
(
"
account_setOAuthTokenVisibility_name
"
,(
err
,)
=>
{
var
appAccountManager
=
account
.
createAppAccountManager
();
appAccountManager
.
addAccount
(
"
account_setOAuthTokenVisibility_name
"
,(
err
,)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_9900 addAccount err:
"
+
JSON
.
stringify
(
err
));
expect
(
err
).
assertEqual
(
null
);
appAccountManager
.
setOAuthTokenVisibility
(
"
account_setOAuthTokenVisibility_name
"
,
"
authType
"
,
"
test_BundleName
"
,
true
,(
err
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_9900 setOAuthTokenVisibility err:
"
+
JSON
.
stringify
(
err
));
expect
(
err
).
assertEqual
(
null
);
expect
(
err
).
assertEqual
(
null
);
appAccountManager
.
setOAuthTokenVisibility
(
"
account_setOAuthTokenVisibility_name
"
,
"
authType
"
,
"
test_BundleName
"
,
true
).
then
(()
=>
{
appAccountManager
.
getOAuthToken
(
"
account_setOAuthTokenVisibility_name
"
,
OWNERSELF
,
"
authType
"
,(
err
,
data
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_9900 getOAuthToken err:
"
+
JSON
.
stringify
(
err
));
console
.
debug
(
"
====>ActsAccountOAuthToken_9900 getOAuthToken data:
"
+
data
);
expect
(
err
.
code
!=
0
).
assertEqual
(
true
);
expect
(
data
).
assertEqual
(
null
);
expect
(
err
.
code
!=
0
).
assertEqual
(
true
);
appAccountManager
.
getOAuthList
(
"
account_setOAuthTokenVisibility_name
"
,
"
authType
"
,(
err
,
dataArray
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_9900 getOAuthList err:
"
+
JSON
.
stringify
(
err
));
expect
(
err
).
assertEqual
(
null
);
expect
(
err
).
assertEqual
(
null
);
console
.
debug
(
"
====>ActsAccountOAuthToken_9900 getOAuthList dataArray:
"
+
JSON
.
stringify
(
dataArray
));
expect
(
dataArray
.
length
).
assertEqual
(
1
);
expect
(
dataArray
[
0
]).
assertEqual
(
"
test_BundleName
"
);
appAccountManager
.
deleteAccount
(
"
account_setOAuthTokenVisibility_name
"
,(
err
)
=>
{
expect
(
dataArray
[
0
]).
assertEqual
(
"
test_BundleName
"
);
appAccountManager
.
deleteAccount
(
"
account_setOAuthTokenVisibility_name
"
,(
err
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_9900 deleteAccount err:
"
+
JSON
.
stringify
(
err
));
expect
(
err
).
assertEqual
(
null
);
expect
(
err
).
assertEqual
(
null
);
console
.
debug
(
"
====>ActsAccountOAuthToken_9900 end====
"
);
done
();
});
});
});
});
}).
catch
((
err
)
=>
{
expect
(
err
).
assertEqual
(
null
);
done
();
})
});
});
...
...
@@ -3257,13 +3260,14 @@ export default function ActsAccountOAuthToken() {
it
(
'
ActsAccountOAuthToken_12700
'
,
0
,
async
function
(
done
)
{
console
.
debug
(
"
====>ActsAccountOAuthToken_12700 start====
"
);
var
appAccountManager
=
account
.
createAppAccountManager
();
appAccountManager
.
getOAuthList
(
""
,
"
authType
"
,(
err
,
dataArray
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_12700 getOAuthList err:
"
+
JSON
.
stringify
(
err
));
console
.
debug
(
"
====>ActsAccountOAuthToken_12700 getOAuthList dataArray:
"
+
JSON
.
stringify
(
dataArray
));
appAccountManager
.
getOAuthList
(
""
,
"
authType
"
).
then
((
dataArray
)
=>
{
console
.
debug
(
"
====>ActsAccountOAuthToken_12700 getOAuthList dataArray:
"
+
JSON
.
stringify
(
dataArray
));
expect
(
dataArray
.
length
).
assertEqual
(
0
);
done
();
}).
catch
((
err
)
=>
{
expect
(
err
.
code
!=
0
).
assertEqual
(
true
);
expect
(
dataArray
).
assertEqual
(
null
);
done
();
})
;
})
});
it
(
'
ActsAccountOAuthToken_12800
'
,
0
,
async
function
(
done
)
{
...
...
account/appaccount/actsaccounttest/src/main/js/test/OnOff.js
100755 → 100644
浏览文件 @
5b50345d
...
...
@@ -326,7 +326,7 @@ export default function ActsAccountChangeOnOff() {
await
appAccountManager
.
enableAppAccess
(
"
onoff_delete
"
,
"
com.example.actsaccountsceneonoff
"
);
function
unSubscriberCallback
(
err
){
console
.
debug
(
"
====>unsubscribe 0500 err:
"
+
JSON
.
stringify
(
err
));
expect
(
err
.
code
).
assertEqual
(
0
);
expect
(
err
).
assertEqual
(
null
);
done
();
}
function
subscriberCallback
(
err
,
data
){
...
...
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/Common/utils.js
浏览文件 @
5b50345d
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
account_appAccount
from
'
@ohos.account.appAccount
'
;
import
rpc
from
'
@ohos.rpc
'
;
...
...
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/MainAbility/app.js
浏览文件 @
5b50345d
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export
default
{
onCreate
()
{
console
.
info
(
"
Application onCreate
"
);
...
...
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/MainAbility/pages/index/index.js
浏览文件 @
5b50345d
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export
default
{
data
:
{
title
:
"
Hello World
"
...
...
account/appaccount/sceneProject/actsaccountauthenticator/entry/src/main/js/ServiceAbility/service.js
浏览文件 @
5b50345d
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
account_appAccount
from
'
@ohos.account.appAccount
'
;
import
{
MyAuthenticator
}
from
'
../Common/utils
'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录