Home
last modified time | relevance | path

Searched refs:FIELD_USER_ID (Results 1 – 21 of 21) sorted by relevance

/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetregisterinfo_fuzzer/
Ddevauthservgetregisterinfo_fuzzer.cpp29 AddStringToJson(json, FIELD_USER_ID, "123"); in GenerateReqJson()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/
Daccount_related_group_auth.c80 const char *peerUserId = GetStringFromJson(sendToSelf, FIELD_USER_ID); in GetUserIdForAccount()
85 if (AddStringToJson(returnToSelf, FIELD_USER_ID, peerUserId) != HC_SUCCESS) { in GetUserIdForAccount()
172 const char *peerUserId = GetStringFromJson(param, FIELD_USER_ID); in GetAccountCandidateGroup()
338 const char *peerUserId = GetStringFromJson(receiveData, FIELD_USER_ID); in GetAccountReqParams()
344 if (AddStringToJson(reqParam, FIELD_USER_ID, peerUserId) != HC_SUCCESS) { in GetAccountReqParams()
381 const char *peerUserId = GetStringFromJson(data, FIELD_USER_ID); in QueryAuthGroupForServer()
595 const char *peerUserId = GetStringFromJson(sendToSelf, FIELD_USER_ID); in PrepareTrustedDeviceInfo()
/base/security/access_token/services/accesstokenmanager/main/cpp/include/database/
Dtoken_field_const.h27 const static std::string FIELD_USER_ID; variable
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
Dtoken_field_const.cpp21 const std::string TokenFiledConst::FIELD_USER_ID = "user_id"; member in OHOS::Security::AccessToken::TokenFiledConst
Dsqlite_storage.cpp59 TokenFiledConst::FIELD_TOKEN_ID, TokenFiledConst::FIELD_USER_ID, in SqliteStorage()
296 .append(TokenFiledConst::FIELD_USER_ID) in CreateHapTokenInfoTable()
/base/security/device_auth/services/authenticators/src/account_related/
Daccount_module.c138 const char *userId = GetStringFromJson(in, FIELD_USER_ID); in ProcessAsyTokens()
170 const char *userId = GetStringFromJson(in, FIELD_USER_ID); in ProcessSymTokens()
/base/security/device_auth/services/group_manager/src/group_operation/identical_account_group/
Didentical_account_group.c146 const char *userId = GetStringFromJson(jsonParams, FIELD_USER_ID); in ImportSelfToken()
167 if (AddStringToJson(credJson, FIELD_USER_ID, userId) != HC_SUCCESS) { in ImportSelfToken()
190 const char *userId = GetStringFromJson(jsonParams, FIELD_USER_ID); in GenerateAddTokenParams()
204 if (AddStringToJson(addParams, FIELD_USER_ID, userId) != HC_SUCCESS) { in GenerateAddTokenParams()
217 if (AddStringToJson(delParams, FIELD_USER_ID, StringGet(&entry->userId)) != HC_SUCCESS) { in GenerateDelTokenParams()
480 const char *userId = GetStringFromJson(deviceInfo, FIELD_USER_ID); in CheckUserIdValid()
/base/security/access_token/services/common/database/test/unittest/
Ddatabase_test.cpp206 genericValues.Put(TokenFiledConst::FIELD_USER_ID, 100);
258 genericValues.Put(TokenFiledConst::FIELD_USER_ID, 100);
278 conditions.Put(TokenFiledConst::FIELD_USER_ID, 100);
362 conditions.Put(TokenFiledConst::FIELD_USER_ID, 100);
391 modifyColumns.emplace_back(TokenFiledConst::FIELD_USER_ID);
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_client_task.c59 …GOTO_IF_ERR(AddStringToJson(sendToPeer, FIELD_USER_ID, (const char *)innerTask->params.userIdSelf)… in AsyAuthClientStepOne()
141 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in AsyAuthClientStepTwo()
193 GOTO_IF_ERR(AddStringToJson(sendToSelf, FIELD_USER_ID, (const char *)task->params.userIdPeer)); in SendFinalToOut()
Dpake_v2_auth_server_task.c90 GOTO_ERR_AND_SET_RET(AddStringToJson(sendToPeer, FIELD_USER_ID, in PrepareAsyServerStepOneData()
123 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in AsyAuthServerStepOne()
184 GOTO_IF_ERR(AddStringToJson(sendToSelf, FIELD_USER_ID, (const char *)task->params.userIdPeer)); in SendFinalToOut()
/base/security/device_auth/services/group_manager/src/group_operation/across_account_group/
Dacross_account_group.c223 const char *userId = GetStringFromJson(jsonParams, FIELD_USER_ID); in AssertSharedUserIdValid()
261 const char *userId = GetStringFromJson(deviceInfo, FIELD_USER_ID); in GenerateAddTokenParams()
275 if (AddStringToJson(addParams, FIELD_USER_ID, userId) != HC_SUCCESS) { in GenerateAddTokenParams()
288 if (AddStringToJson(delParams, FIELD_USER_ID, StringGet(&entry->userId)) != HC_SUCCESS) { in GenerateDelTokenParams()
485 const char *userId = GetStringFromJson(deviceInfo, FIELD_USER_ID); in CheckUserIdValid()
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_server_task.c41 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in ParseIsoAuthClientBeginMsg()
115 if (AddStringToJson(sendToPeer, FIELD_USER_ID, params->userIdSelf) != CLIB_SUCCESS) { in PackIsoAuthServerGetTokenMsg()
Diso_auth_client_task.c94 if (AddStringToJson(sendToPeer, FIELD_USER_ID, params->userIdSelf) != CLIB_SUCCESS) { in PackIsoAuthClientBeginMsg()
168 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in ParseIsoAuthServerGetTokenMsg()
Diso_auth_task_common.c397 if (AddStringToJson(sendToSelf, FIELD_USER_ID, params->userIdPeer) != CLIB_SUCCESS) { in AuthIsoSendFinalToOut()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Dhap_token_info_inner.cpp99 outGenericValues.Put(TokenFiledConst::FIELD_USER_ID, tokenInfoBasic_.userID); in TranslationIntoGenericValues()
113 tokenInfoBasic_.userID = inGenericValues.GetInt(TokenFiledConst::FIELD_USER_ID); in RestoreHapTokenBasicInfo()
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/
Dasy_token_manager.c76 const char *userId = GetStringFromJson(pkInfoJson, FIELD_USER_ID); in GeneratePkInfoFromJson()
395 const char *userId = GetStringFromJson(pkInfoJson, FIELD_USER_ID); in GenerateServerPkAlias()
850 const char *userId = GetStringFromJson(pkInfoJson, FIELD_USER_ID); in CheckDevicePk()
898 const char *userIdFromPk = GetStringFromJson(pkInfoJson, FIELD_USER_ID); in CheckUserId()
911 const char *userId = GetStringFromJson(in, FIELD_USER_ID); in CheckCredValidity()
1004 const char *userId = GetStringFromJson(in, FIELD_USER_ID); in GetRegisterProof()
1045 GOTO_ERR_AND_SET_RET(AddStringToJson(out, FIELD_USER_ID, userId), ret); in GetRegisterProof()
Dsym_token_manager.c80 const char *userId = GetStringFromJson(tokenJson, FIELD_USER_ID); in CreateSymTokenByJson()
228 if (AddStringToJson(tokenJson, FIELD_USER_ID, token->userId) != HC_SUCCESS) { in GenerateJsonFromToken()
/base/security/device_auth/interfaces/innerkits/
Ddevice_auth.h56 #define FIELD_USER_ID "userId" macro
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c404 if (AddStringToJson(json, FIELD_USER_ID, userId) != HC_SUCCESS) { in AddUserIdToReturnIfAccountGroup()
845 const char *userId = GetStringFromJson(jsonParams, FIELD_USER_ID); in AssertUserIdExist()
1145 const char *oriUserId = GetStringFromJson(jsonParams, FIELD_USER_ID); in GetUserIdFromJson()
/base/security/device_auth/test/unittest/deviceauth/source/
Ddeviceauth_standard_test.cpp332 AddStringToJson(json, FIELD_USER_ID, TEST_USER_ID); in CreateDemoIdenticalAccountGroup()
363 AddStringToJson(json, FIELD_USER_ID, TEST_USER_ID_AUTH); in CreateDemoSymClientIdenticalAccountGroup()
392 AddStringToJson(json, FIELD_USER_ID, TEST_USER_ID_AUTH); in CreateDemoSymServerIdenticalAccountGroup()
/base/security/access_token/services/accesstokenmanager/
Daccesstoken_manager_service.map286 "OHOS::Security::AccessToken::TokenFiledConst::FIELD_USER_ID";