Searched refs:appAccountManager (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/basic-services/account/ |
H A D | manage-application-account.md | 18 const appAccountManager = appAccount.createAppAccountManager(); 42 await appAccountManager.createAccount(name, options); 57 appAccountManager.getAllAccounts().then((data: appAccount.AppAccountInfo[]) => { 79 appAccountManager.getCredential(name, credentialType).then((data: string) => { 89 appAccountManager.setCredential(name, credentialType, credential).then(() => { 111 appAccountManager.setCustomData(name, key, value).then(() => { 121 appAccountManager.getCustomData(name, key).then((data: string) => { 144 appAccountManager.setAuthToken(name, authType, token).then(() => { 154 appAccountManager.getAuthToken(name, owner, authType).then((data: string) => { 171 appAccountManager.removeAccount(name).then(() => {
|
/ohos5.0/docs/en/application-dev/basic-services/account/ |
H A D | manage-application-account.md | 18 const appAccountManager = appAccount.createAppAccountManager(); 42 await appAccountManager.createAccount(name, options); 57 appAccountManager.getAllAccounts().then((data: appAccount.AppAccountInfo[]) => { 79 appAccountManager.getCredential(name, credentialType).then((data: string) => { 89 appAccountManager.setCredential(name, credentialType, credential).then(() => { 111 appAccountManager.setCustomData(name, key, value).then(() => { 121 appAccountManager.getCustomData(name, key).then((data: string) => { 144 appAccountManager.setAuthToken(name, authType, token).then(() => { 154 appAccountManager.getAuthToken(name, owner, authType).then((data: string) => { 171 appAccountManager.removeAccount(name).then(() => {
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-appAccount.md | 71 appAccountManager.createAccount('WangWu', (err: BusinessError) => { 170 appAccountManager.createAccount('LiSi', options).then(() => { 390 appAccountManager.removeAccount('Lisi').then(() => { 1409 appAccountManager.off('accountChange', changeOnCallback); 2645 appAccountManager.selectAccountsByOptions(options, 2930 appAccountManager.addAccount('WangWu', (err: BusinessError) => { 2993 appAccountManager.addAccount('LiSi', 'token101').then(()=> { 3112 appAccountManager.deleteAccount('ZhaoLiu').then(() => { 3997 appAccountManager.off('change', () => { 4586 appAccountManager.getAuthenticatorCallback(sessionId, [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-appAccount.md | 71 appAccountManager.createAccount('WangWu', (err: BusinessError) => { 170 appAccountManager.createAccount('LiSi', options).then(() => { 390 appAccountManager.removeAccount('Lisi').then(() => { 1409 appAccountManager.off('accountChange', changeOnCallback); 2645 appAccountManager.selectAccountsByOptions(options, 2930 appAccountManager.addAccount('WangWu', (err: BusinessError) => { 2993 appAccountManager.addAccount('LiSi', 'token101').then(()=> { 3112 appAccountManager.deleteAccount('ZhaoLiu').then(() => { 3997 appAccountManager.off('change', () => { 4586 appAccountManager.getAuthenticatorCallback(sessionId, [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.2.1/ |
H A D | changelogs-account_os_account.md | 44 let appAccountManager: account_appAccount.AppAccountManager = account_appAccount.createAppAccountMa… 47 …appAccountManager.setAppAccess('ZhangSan', 'com.example.accountjsdemo', true, (err: BusinessError)…
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
H A D | napi_app_account_common.h | 190 AppAccountManager *appAccountManager = nullptr; member 198 AppAccountManager *appAccountManager = nullptr; member
|
/ohos5.0/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
H A D | napi_app_account_common.cpp | 855 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&context->appAccountManager)); in ParseParametersBySubscribe() 868 if (subscriberInstance.first == asyncContextForOff->appAccountManager) { in GetSubscriberByUnsubscribe() 909 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&context->appAccountManager)); in ParseParametersByUnsubscribe() 910 if (context->appAccountManager == nullptr) { in ParseParametersByUnsubscribe() 945 auto subscribe = g_AppAccountSubscribers.find(asyncContextForOff->appAccountManager); in UnsubscribeCallbackCompletedCB()
|
H A D | napi_app_account.cpp | 1640 auto subscribe = g_AppAccountSubscribers.find(context->appAccountManager); in IsExitSubscribe() 1661 if (context->appAccountManager == nullptr) { in Subscribe() 1685 g_AppAccountSubscribers[context->appAccountManager].emplace_back(context.get()); in Subscribe() 1693 auto subscribe = g_AppAccountSubscribers.find(context->appAccountManager); in UnsubscribeSync()
|