Home
last modified time | relevance | path

Searched refs:authToken (Results 1 - 25 of 47) sorted by relevance

12

/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_pin_auth.cpp60 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 Dpin_auth.cpp38 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 Dpinauth_fuzzer.cpp37 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 Dauthentication.h27 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 Duser_idm_client_impl_mock.h38 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 Duser_idm_client_impl_mock.cpp66 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 Dpin_auth.h39 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 Ddm_native_util.cpp303 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 Dstorage_manager_client.cpp100 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 Dfilesystem_crypto.h34 int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
/foundation/filemanagement/storage_service/services/storage_manager/include/client/
H A Dstorage_manager_client.h35 static int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Drecover_manager.h44 uint8_t authToken[AUTH_TOKEN_LEN]; member
/foundation/filemanagement/storage_service/services/storage_manager/crypto/test/
H A Dfilesystem_crypto_test.cpp500 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 Dstorage_daemon_client.h47 static int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dkey_manager_mock.cpp46 int32_t KeyManager::UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, in UpdateUseAuthWithRecoveryKey() argument
/foundation/filemanagement/storage_service/services/storage_manager/crypto/
H A Dfilesystem_crypto.cpp92 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 Ddm_device_info.h220 std::string authToken; member
/foundation/filemanagement/storage_service/services/storage_daemon/client/
H A Dstorage_daemon_client.cpp274 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 Dstorage_daemon_service_mock.h136 virtual int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, in UpdateUseAuthWithRecoveryKey() argument
/foundation/filemanagement/storage_service/services/storage_manager/include/mock/
H A Dstorage_daemon_proxy_mock.h51 virtual int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
/foundation/filemanagement/storage_service/services/storage_manager/include/storage_daemon_communication/
H A Dstorage_daemon_communication.h52 int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/
H A Dstorage_daemon_proxy.h51 virtual int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
H A Distorage_daemon.h58 virtual int32_t UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken,
/foundation/filemanagement/storage_service/services/storage_manager/mock/
H A Dstorage_daemon_proxy_mock.cpp112 int32_t StorageDaemonProxy::UpdateUseAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, in UpdateUseAuthWithRecoveryKey() argument
/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/
H A Dstorage_manager.cpp427 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()

Completed in 11 milliseconds

12