Lines Matching refs:appAccountManager
33 let appAccountManager: appAccount.AppAccountManager = appAccount.createAppAccountManager();
71 appAccountManager.createAccount('WangWu', (err: BusinessError) => {
116 appAccountManager.createAccount('LiSi', options, (err: BusinessError) => {
170 appAccountManager.createAccount('LiSi', options).then(() => {
235 appAccountManager.createAccountImplicitly('com.example.accountjsdemo', {
304 appAccountManager.createAccountImplicitly('com.example.accountjsdemo', options, {
343 appAccountManager.removeAccount('ZhaoLiu', (err: BusinessError) => {
390 appAccountManager.removeAccount('Lisi').then(() => {
433 …appAccountManager.setAppAccess('ZhangSan', 'com.example.accountjsdemo', true, (err: BusinessError)…
483 appAccountManager.setAppAccess('ZhangSan', 'com.example.accountjsdemo', true).then(() => {
524 appAccountManager.checkAppAccess('ZhangSan', 'com.example.accountjsdemo',
573 …appAccountManager.checkAppAccess('ZhangSan', 'com.example.accountjsdemo').then((isAccessible: bool…
617 appAccountManager.setDataSyncEnabled('ZhangSan', true, (err: BusinessError) => {
664 appAccountManager .setDataSyncEnabled('ZhangSan', true).then(() => {
707 appAccountManager.checkDataSyncEnabled('ZhangSan', (err: BusinessError, isEnabled: boolean) => {
757 appAccountManager.checkDataSyncEnabled('ZhangSan').then((isEnabled: boolean) => {
799 appAccountManager.setCredential('ZhangSan', 'PIN_SIX', 'xxxxxx', (err: BusinessError) => {
848 appAccountManager.setCredential('ZhangSan', 'PIN_SIX', 'xxxxxx').then(() => {
890 … appAccountManager.getCredential('ZhangSan', 'PIN_SIX', (err: BusinessError, result: string) => {
939 appAccountManager.getCredential('ZhangSan', 'PIN_SIX').then((credential: string) => {
982 appAccountManager.setCustomData('ZhangSan', 'age', '12', (err: BusinessError) => {
1032 appAccountManager.setCustomData('ZhangSan', 'age', '12').then(() => {
1074 appAccountManager.getCustomData('ZhangSan', 'age', (err: BusinessError, data: string) => {
1123 appAccountManager.getCustomData('ZhangSan', 'age').then((data: string) => {
1168 let value = appAccountManager.getCustomDataSync('ZhangSan', 'age');
1202 appAccountManager.getAllAccounts((err: BusinessError, data: appAccount.AppAccountInfo[]) => {
1240 appAccountManager.getAllAccounts().then((data: appAccount.AppAccountInfo[]) => {
1279 appAccountManager.getAccountsByOwner('com.example.accountjsdemo2',
1326 appAccountManager.getAccountsByOwner('com.example.accountjsdemo2').then((
1368 appAccountManager.on('accountChange', ['com.example.actsaccounttest'], changeOnCallback);
1404 appAccountManager.on('accountChange', ['com.example.actsaccounttest'], changeOnCallback);
1409 appAccountManager.off('accountChange', changeOnCallback);
1473 appAccountManager.auth('LiSi', 'com.example.accountjsdemo', 'getSocialData', {
1543 appAccountManager.auth('LiSi', 'com.example.accountjsdemo', 'getSocialData', options, {
1585 appAccountManager.getAuthToken('LiSi', 'com.example.accountjsdemo', 'getSocialData',
1636 …appAccountManager.getAuthToken('LiSi', 'com.example.accountjsdemo', 'getSocialData').then((token: …
1679 appAccountManager.setAuthToken('LiSi', 'getSocialData', 'xxxx', (err: BusinessError) => {
1729 appAccountManager.setAuthToken('LiSi', 'getSocialData', 'xxxx').then(() => {
1773 appAccountManager.deleteAuthToken('LiSi', 'com.example.accountjsdemo', 'getSocialData', 'xxxxx',
1825 …appAccountManager.deleteAuthToken('LiSi', 'com.example.accountjsdemo', 'getSocialData', 'xxxxx').t…
1870 …appAccountManager.setAuthTokenVisibility('LiSi', 'getSocialData', 'com.example.accountjsdemo', tru…
1923 …appAccountManager.setAuthTokenVisibility('LiSi', 'getSocialData', 'com.example.accountjsdemo', tru…
1966 appAccountManager.checkAuthTokenVisibility('LiSi', 'getSocialData', 'com.example.accountjsdemo',
2017 …appAccountManager.checkAuthTokenVisibility('LiSi', 'getSocialData', 'com.example.accountjsdemo').t…
2059 appAccountManager.getAllAuthTokens('LiSi', 'com.example.accountjsdemo',
2108 appAccountManager.getAllAuthTokens('LiSi', 'com.example.accountjsdemo').then((
2151 …appAccountManager.getAuthList('LiSi', 'getSocialData', (err: BusinessError, authList: string[]) =>…
2200 appAccountManager.getAuthList('LiSi', 'getSocialData').then((authList: string[]) => {
2244 …appAccountManager.getAuthCallback(sessionId, (err: BusinessError, callback: appAccount.AuthCallbac…
2307 appAccountManager.getAuthCallback(sessionId).then((callback: appAccount.AuthCallback) => {
2359 appAccountManager.queryAuthenticatorInfo('com.example.accountjsdemo',
2407 appAccountManager.queryAuthenticatorInfo('com.example.accountjsdemo').then((
2454 appAccountManager.checkAccountLabels('zhangsan', 'com.example.accountjsdemo', labels,
2508 appAccountManager.checkAccountLabels('zhangsan', 'com.example.accountjsdemo', labels).then((
2551 appAccountManager.deleteCredential('zhangsan', 'PIN_SIX', (err: BusinessError) => {
2600 appAccountManager.deleteCredential('zhangsan', 'PIN_SIX').then(() => {
2645 appAccountManager.selectAccountsByOptions(options,
2697 …appAccountManager.selectAccountsByOptions(options).then((accountArr: appAccount.AppAccountInfo[]) …
2741 appAccountManager.verifyCredential('zhangsan', 'com.example.accountjsdemo', {
2794 appAccountManager.verifyCredential('zhangsan', 'com.example.accountjsdemo', options, {
2840 appAccountManager.setAuthenticatorProperties('com.example.accountjsdemo', {
2890 appAccountManager.setAuthenticatorProperties('com.example.accountjsdemo', options, {
2930 appAccountManager.addAccount('WangWu', (err: BusinessError) => {
2959 appAccountManager.addAccount('LiSi', 'token101', (err: BusinessError) => {
2993 appAccountManager.addAccount('LiSi', 'token101').then(()=> {
3048 appAccountManager.addAccountImplicitly('com.example.accountjsdemo', 'getSocialData', {}, {
3078 appAccountManager.deleteAccount('ZhaoLiu', (err: BusinessError) => {
3112 appAccountManager.deleteAccount('ZhaoLiu').then(() => {
3143 …appAccountManager.disableAppAccess('ZhangSan', 'com.example.accountjsdemo', (err: BusinessError) =…
3178 appAccountManager.disableAppAccess('ZhangSan', 'com.example.accountjsdemo').then(() => {
3210 …appAccountManager.enableAppAccess('ZhangSan', 'com.example.accountjsdemo', (err: BusinessError) =>…
3245 appAccountManager.enableAppAccess('ZhangSan', 'com.example.accountjsdemo').then(() => {
3278 …appAccountManager.checkAppAccountSyncEnable('ZhangSan', (err: BusinessError, result: boolean) => {
3315 appAccountManager.checkAppAccountSyncEnable('ZhangSan').then((data: boolean) => {
3348 …appAccountManager.setAccountCredential('ZhangSan', 'credentialType001', 'credential001', (err: Bus…
3384 …appAccountManager.setAccountCredential('ZhangSan', 'credentialType001', 'credential001').then(() =…
3417 appAccountManager.setAccountExtraInfo('ZhangSan', 'Tk002', (err: BusinessError) => {
3453 appAccountManager.setAccountExtraInfo('ZhangSan', 'Tk002').then(() => {
3487 appAccountManager.setAppAccountSyncEnable('ZhangSan', true, (err: BusinessError) => {
3524 appAccountManager .setAppAccountSyncEnable('ZhangSan', true).then(() => {
3558 appAccountManager.setAssociatedData('ZhangSan', 'k001', 'v001', (err: BusinessError) => {
3595 appAccountManager.setAssociatedData('ZhangSan', 'k001', 'v001').then(() => {
3627 …appAccountManager.getAllAccessibleAccounts((err: BusinessError, data: appAccount.AppAccountInfo[])…
3658 appAccountManager.getAllAccessibleAccounts().then((data: appAccount.AppAccountInfo[]) => {
3692 …appAccountManager.getAllAccounts(selfBundle, (err: BusinessError, data: appAccount.AppAccountInfo[…
3730 appAccountManager.getAllAccounts(selfBundle).then((data: appAccount.AppAccountInfo[]) => {
3762 …appAccountManager.getAccountCredential('ZhangSan', 'credentialType001', (err: BusinessError, resul…
3798 appAccountManager.getAccountCredential('ZhangSan', 'credentialType001').then((data: string) => {
3829 appAccountManager.getAccountExtraInfo('ZhangSan', (err: BusinessError, result: string) => {
3864 appAccountManager.getAccountExtraInfo('ZhangSan').then((data: string) => {
3896 appAccountManager.getAssociatedData('ZhangSan', 'k001', (err: BusinessError, result: string) => {
3932 appAccountManager.getAssociatedData('ZhangSan', 'k001').then((data: string) => {
3966 appAccountManager.on('change', ['com.example.actsaccounttest'], changeOnCallback);
3997 appAccountManager.off('change', () => {
4002 appAccountManager.on('change', ['com.example.actsaccounttest'], changeOnCallback);
4058 appAccountManager.authenticate('LiSi', 'com.example.accountjsdemo', 'getSocialData', {}, {
4090 appAccountManager.getOAuthToken('LiSi', 'com.example.accountjsdemo', 'getSocialData',
4128 …appAccountManager.getOAuthToken('LiSi', 'com.example.accountjsdemo', 'getSocialData').then((data: …
4161 appAccountManager.setOAuthToken('LiSi', 'getSocialData', 'xxxx', (err: BusinessError) => {
4197 appAccountManager.setOAuthToken('LiSi', 'getSocialData', 'xxxx').then(() => {
4231 appAccountManager.deleteOAuthToken('LiSi', 'com.example.accountjsdemo', 'getSocialData', 'xxxxx',
4269 …appAccountManager.deleteOAuthToken('LiSi', 'com.example.accountjsdemo', 'getSocialData', 'xxxxx').…
4303 …appAccountManager.setOAuthTokenVisibility('LiSi', 'getSocialData', 'com.example.accountjsdemo', tr…
4341 …appAccountManager.setOAuthTokenVisibility('LiSi', 'getSocialData', 'com.example.accountjsdemo', tr…
4374 appAccountManager.checkOAuthTokenVisibility('LiSi', 'getSocialData', 'com.example.accountjsdemo',
4412 …appAccountManager.checkOAuthTokenVisibility('LiSi', 'getSocialData', 'com.example.accountjsdemo').…
4445 appAccountManager.getAllOAuthTokens('LiSi', 'com.example.accountjsdemo',
4482 appAccountManager.getAllOAuthTokens('LiSi', 'com.example.accountjsdemo').then((
4515 appAccountManager.getOAuthList('LiSi', 'getSocialData', (err: BusinessError, data: string[]) => {
4551 appAccountManager.getOAuthList('LiSi', 'getSocialData').then((data: string[]) => {
4586 appAccountManager.getAuthenticatorCallback(sessionId,
4636 appAccountManager.getAuthenticatorCallback(sessionId).then((
4675 appAccountManager.getAuthenticatorInfo('com.example.accountjsdemo',
4711 appAccountManager.getAuthenticatorInfo('com.example.accountjsdemo').then((
4918 let appAccountManager: appAccount.AppAccountManager = appAccount.createAppAccountManager();
4920 appAccountManager.getAuthCallback(sessionId).then((callback: appAccount.AuthCallback) => {
4996 let appAccountManager: appAccount.AppAccountManager = appAccount.createAppAccountManager();
4998 appAccountManager.getAuthCallback(sessionId).then((callback: appAccount.AuthCallback) => {
5035 let appAccountManager: appAccount.AppAccountManager = appAccount.createAppAccountManager();
5037 …appAccountManager.getAuthenticatorCallback(sessionId).then((callback: appAccount.AuthenticatorCall…