/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_pin_auth.cpp | 60 std::string authToken = "123456"; in HWTEST_F() local 61 int32_t ret = pinAuth->ShowAuthInfo(authToken, authManager); in HWTEST_F() 76 std::string authToken = jsonObject.dump(); in HWTEST_F() local 77 int32_t ret = pinAuth->ShowAuthInfo(authToken, authManager); in HWTEST_F() 92 std::string authToken = jsonObject.dump(); in HWTEST_F() local 93 int32_t ret = pinAuth->ShowAuthInfo(authToken, nullptr); in HWTEST_F() 108 std::string authToken = jsonObject.dump(); in HWTEST_F() local 109 int32_t ret = pinAuth->ShowAuthInfo(authToken, authManager); in HWTEST_F() 122 std::string authToken = ""; in HWTEST_F() local 123 int32_t ret = pinAuth->StartAuth(authToken, nullpt in HWTEST_F() 136 std::string authToken = ""; HWTEST_F() local [all...] |
/foundation/distributedhardware/device_manager/ext/pin_auth/src/ |
H A D | pin_auth.cpp | 38 int32_t PinAuth::ShowAuthInfo(std::string &authToken, std::shared_ptr<DmAuthManager> authManager) in ShowAuthInfo() argument 40 nlohmann::json jsonObject = nlohmann::json::parse(authToken, nullptr, false); in ShowAuthInfo() 52 int32_t PinAuth::StartAuth(std::string &authToken, std::shared_ptr<DmAuthManager> authManager) in StartAuth() argument
|
/foundation/distributedhardware/device_manager/test/commonfuzztest/pinauth_fuzzer/ |
H A D | pinauth_fuzzer.cpp | 37 std::string authToken(reinterpret_cast<const char*>(data), size); in PinAuthFuzzTest() 39 pinauth->ShowAuthInfo(authToken, authManager); in PinAuthFuzzTest() 40 pinauth->StartAuth(authToken, authManager); in PinAuthFuzzTest()
|
/foundation/distributedhardware/device_manager/services/implementation/include/authentication/ |
H A D | authentication.h | 27 virtual int32_t ShowAuthInfo(std::string &authToken, std::shared_ptr<DmAuthManager> authManager) = 0; 28 virtual int32_t StartAuth(std::string &authToken, std::shared_ptr<DmAuthManager> authManager) = 0;
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/mock/ |
H A D | user_idm_client_impl_mock.h | 38 virtual void DeleteCredential(int32_t userId, uint64_t credentialId, const std::vector<uint8_t> &authToken, 40 virtual void DeleteUser(int32_t userId, const std::vector<uint8_t> &authToken, 61 const std::vector<uint8_t> &authToken, const std::shared_ptr<UserIdmClientCallback> &callback)); 62 MOCK_METHOD3(DeleteUser, void(int32_t userId, const std::vector<uint8_t> &authToken,
|
/foundation/filemanagement/storage_service/services/storage_daemon/mock/ |
H A D | user_idm_client_impl_mock.cpp | 66 const std::vector<uint8_t> &authToken, const std::shared_ptr<UserIdmClientCallback> &callback) in DeleteCredential() 68 return IUserIdmClientMoc::userIdmClientMoc->DeleteCredential(userId, credentialId, authToken, callback); in DeleteCredential() 71 void UserIdmClientImpl::DeleteUser(int32_t userId, const std::vector<uint8_t> &authToken, in DeleteUser() argument 74 return IUserIdmClientMoc::userIdmClientMoc->DeleteUser(userId, authToken, callback); in DeleteUser() 65 DeleteCredential(int32_t userId, uint64_t credentialId, const std::vector<uint8_t> &authToken, const std::shared_ptr<UserIdmClientCallback> &callback) DeleteCredential() argument
|
/foundation/distributedhardware/device_manager/ext/pin_auth/include/ |
H A D | pin_auth.h | 39 int32_t ShowAuthInfo(std::string &authToken, std::shared_ptr<DmAuthManager> authManager) override; 46 int32_t StartAuth(std::string &authToken, std::shared_ptr<DmAuthManager> authManager) override;
|
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/src/ |
H A D | dm_native_util.cpp | 303 char authToken[DM_NAPI_BUF_LENGTH] = ""; in JsToBindParam() local 304 JsObjectToString(env, object, "authToken", authToken, sizeof(authToken)); in JsToBindParam() 324 jsonObj[PARAM_KEY_AUTH_TOKEN] = std::string(authToken); in JsToBindParam() 427 std::string authToken = bindParamObj[PARAM_KEY_AUTH_TOKEN].get<std::string>(); in InsertMapParames() local 428 bindParamMap.insert(std::pair<std::string, std::string>(PARAM_KEY_AUTH_TOKEN, authToken)); in InsertMapParames()
|
/foundation/filemanagement/storage_service/services/storage_manager/client/ |
H A D | storage_manager_client.cpp | 100 int32_t StorageManagerClient::UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, in UpdateUseAuthWithRecoveryKey() argument 112 return client->UpdateUseAuthWithRecoveryKey(authToken, newSecret, secureUid, userId, plainText); in UpdateUseAuthWithRecoveryKey()
|
/foundation/filemanagement/storage_service/services/storage_manager/include/crypto/ |
H A D | filesystem_crypto.h | 34 int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
|
/foundation/filemanagement/storage_service/services/storage_manager/include/client/ |
H A D | storage_manager_client.h | 35 static int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | recover_manager.h | 44 uint8_t authToken[AUTH_TOKEN_LEN]; member
|
/foundation/filemanagement/storage_service/services/storage_manager/crypto/test/ |
H A D | filesystem_crypto_test.cpp | 500 std::vector<uint8_t> authToken; in HWTEST_F() local 505 uint32_t result = fileSystemCrypto_->UpdateUseAuthWithRecoveryKey(authToken, newSecret, secureUid, in HWTEST_F() 510 result = fileSystemCrypto_->UpdateUseAuthWithRecoveryKey(authToken, newSecret, secureUid, in HWTEST_F()
|
/foundation/filemanagement/storage_service/services/storage_daemon/client/include/ |
H A D | storage_daemon_client.h | 47 static int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/ |
H A D | key_manager_mock.cpp | 46 int32_t KeyManager::UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, in UpdateUseAuthWithRecoveryKey() argument
|
/foundation/filemanagement/storage_service/services/storage_manager/crypto/ |
H A D | filesystem_crypto.cpp | 92 int32_t FileSystemCrypto::UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, in UpdateUseAuthWithRecoveryKey() argument 106 err = sdCommunication->UpdateUseAuthWithRecoveryKey(authToken, newSecret, secureUid, userId, plainText); in UpdateUseAuthWithRecoveryKey()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/ |
H A D | dm_device_info.h | 220 std::string authToken;
member
|
/foundation/filemanagement/storage_service/services/storage_daemon/client/ |
H A D | storage_daemon_client.cpp | 274 int32_t StorageDaemonClient::UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, in UpdateUseAuthWithRecoveryKey() argument 291 return client->UpdateUseAuthWithRecoveryKey(authToken, newSecret, secureUid, userId, plainText); in UpdateUseAuthWithRecoveryKey()
|
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/ |
H A D | storage_daemon_service_mock.h | 136 virtual int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, in UpdateUseAuthWithRecoveryKey() argument
|
/foundation/filemanagement/storage_service/services/storage_manager/include/mock/ |
H A D | storage_daemon_proxy_mock.h | 51 virtual int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
|
/foundation/filemanagement/storage_service/services/storage_manager/include/storage_daemon_communication/ |
H A D | storage_daemon_communication.h | 52 int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/ |
H A D | storage_daemon_proxy.h | 51 virtual int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
|
H A D | istorage_daemon.h | 58 virtual int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
|
/foundation/filemanagement/storage_service/services/storage_manager/mock/ |
H A D | storage_daemon_proxy_mock.cpp | 112 int32_t StorageDaemonProxy::UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, in UpdateUseAuthWithRecoveryKey() argument
|
/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/ |
H A D | storage_manager.cpp | 427 int32_t StorageManager::UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, in UpdateUseAuthWithRecoveryKey() argument 436 int32_t err = fsCrypto->UpdateUseAuthWithRecoveryKey(authToken, newSecret, secureUid, userId, plainText); in UpdateUseAuthWithRecoveryKey()
|