提交 cedf07d9 编写于 作者: C cc_ggboy

account ArkTs告警整改

Signed-off-by: Ncc_ggboy <chenweimin8@huawei.com>
上级 d77f5c8d
...@@ -5819,7 +5819,7 @@ addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void; ...@@ -5819,7 +5819,7 @@ addCredential(credentialInfo: CredentialInfo, callback: IIdmCallback): void;
let credentialInfo: account_osAccount.CredentialInfo = { let credentialInfo: account_osAccount.CredentialInfo = {
credType: account_osAccount.AuthType.PIN, credType: account_osAccount.AuthType.PIN,
credSubType: account_osAccount.AuthSubType.PIN_SIX, credSubType: account_osAccount.AuthSubType.PIN_SIX,
token: null token: new Uint8Array([]),
}; };
let userIDM = new account_osAccount.UserIdentityManager(); let userIDM = new account_osAccount.UserIdentityManager();
userIDM.openSession((err: BusinessError, challenge: Uint8Array) => { userIDM.openSession((err: BusinessError, challenge: Uint8Array) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册