• Home
  • Raw
  • Download

Lines Matching refs:ID

8 The access token information of an app includes the app identifier (**APPID**), user ID, app twin i…
11 - Verifying app permissions based on the token ID before an app accesses sensitive data or calls …
12 - Obtaining access token information (for example, APL) based on the token ID.
50 …Token(const HapInfoParams& info, const HapPolicyParams& policy); | Allocates a token ID to an app.|
51 …g& remoteDeviceID, AccessTokenID remoteTokenID); | Allocates a local token ID to the app of a remo…
53 | int DeleteToken(AccessTokenID tokenID); | Deletes the app's token ID and information.|
55 | int GetTokenTypeFlag(AccessTokenID tokenID); | Obtains the type of a trusted token ID.|
57 | int GetTokenTypeFlag(FullTokenID tokenID); | Obtains the type of a trusted token ID.|
58 …cap); | Checks whether the native process corresponding to the given token ID has the specified di…
59 …t32_t userID, const std::string& bundleName, int32_t instIndex); | Obtains the token ID of an app.|
60 …t32_t userID, const std::string& bundleName, int32_t instIndex); | Obtains the token ID of an app.|
67 …st std::string& permissionName); | Obtains the permissions of the app with the specified token ID.|
68 …::string& permissionName, int flag); | Grants a permission to the app with the specified token ID.|
69 …tring& permissionName, int flag); | Revokes a permission from the app with the specified token ID.|
70 …okenID tokenID); | Clears the user_grant permission status of the app with the specified token ID.|
71 …nst char **dcap, int32_t dacpNum, const char *aplStr); | Obtains the token ID of a native process.|
77 …it calls **GetAccessTokenId** to obtain a token ID, and then calls **SetSelfTokenID** to set the t…
81 - When an app is installed, **AllocHapToken** is called to obtain the token ID of the app.