/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_ohos_web_data_base_adapter_impl.cpp | 35 const ArkWebString& host, const ArkWebString& realm, const ArkWebString& username, const char* password) in SaveHttpAuthCredentials() 37 real_.SaveHttpAuthCredentials(ArkWebStringStructToClass(host), ArkWebStringStructToClass(realm), in SaveHttpAuthCredentials() 42 const ArkWebString& host, const ArkWebString& realm, ArkWebString& username, char* password, uint32_t passwordSize) in GetHttpAuthCredentials() 46 ArkWebStringStructToClass(host), ArkWebStringStructToClass(realm), s_username, password, passwordSize); in GetHttpAuthCredentials() 34 SaveHttpAuthCredentials( const ArkWebString& host, const ArkWebString& realm, const ArkWebString& username, const char* password) SaveHttpAuthCredentials() argument 41 GetHttpAuthCredentials( const ArkWebString& host, const ArkWebString& realm, ArkWebString& username, char* password, uint32_t passwordSize) GetHttpAuthCredentials() argument
|
H A D | ark_ohos_web_data_base_adapter_impl.h | 33 void SaveHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, const ArkWebString& username, 36 void GetHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, ArkWebString& username,
|
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/ |
H A D | ark_web_data_base_impl.cpp | 31 void ArkWebDataBaseImpl::GetHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, in GetHttpAuthCredentials() argument 36 ArkWebStringStructToClass(host), ArkWebStringStructToClass(realm), cls_user_name, password, password_size); in GetHttpAuthCredentials() 41 const ArkWebString& host, const ArkWebString& realm, const ArkWebString& user_name, const char* password) in SaveHttpAuthCredentials() 43 nweb_data_base_->SaveHttpAuthCredentials(ArkWebStringStructToClass(host), ArkWebStringStructToClass(realm), in SaveHttpAuthCredentials() 40 SaveHttpAuthCredentials( const ArkWebString& host, const ArkWebString& realm, const ArkWebString& user_name, const char* password) SaveHttpAuthCredentials() argument
|
H A D | ark_web_data_base_impl.h | 44 * @param realm the realm to which the credentials apply. 49 void GetHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, ArkWebString& user_name, 56 * @param realm the realm to which the credentials apply. 60 void SaveHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, const ArkWebString& user_name,
|
/base/web/webview/interfaces/kits/cj/src/ |
H A D | web_data_base.cpp | 30 CArrString WebDataBase::CJGetHttpAuthCredentials(const std::string &host, const std::string &realm) in CJGetHttpAuthCredentials() argument 37 database->GetHttpAuthCredentials(host, realm, username_s, password, MAX_PWD_LENGTH + 1); in CJGetHttpAuthCredentials() 72 void WebDataBase::CJSaveHttpAuthCredentials(const std::string &host, const std::string &realm, in CJSaveHttpAuthCredentials() argument 78 database->SaveHttpAuthCredentials(host, realm, username, password.c_str()); in CJSaveHttpAuthCredentials()
|
H A D | webview_ffi.cpp | 1307 RetDataCArrString FfiOHOSDBGetHttpAuthCredentials(const char *host, const char *realm) in FfiOHOSDBGetHttpAuthCredentials() argument 1310 std::string realm_s = std::string(realm); in FfiOHOSDBGetHttpAuthCredentials() 1325 void FfiOHOSDBSaveHttpAuthCredentials(const char *host, const char *realm, in FfiOHOSDBSaveHttpAuthCredentials() argument 1329 std::string realm_s = std::string(realm); in FfiOHOSDBSaveHttpAuthCredentials()
|
/base/web/webview/interfaces/kits/cj/include/ |
H A D | web_data_base.h | 32 static CArrString CJGetHttpAuthCredentials(const std::string &host, const std::string &realm); 33 static void CJSaveHttpAuthCredentials(const std::string &host, const std::string &realm,
|
H A D | webview_ffi.h | 128 const char *realm); 129 FFI_EXPORT void FfiOHOSDBSaveHttpAuthCredentials(const char *host, const char *realm,
|
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/gethttpauthcredentials_fuzzer/ |
H A D | gethttpauthcredentials_fuzzer.cpp | 33 std::string realm((const char*)data, size); in GetHttpAuthCredentialsFuzzTest() 36 OhosWebDataBaseAdapterImpl::GetInstance().GetHttpAuthCredentials(host, realm, username, password, maxLen + 1); in GetHttpAuthCredentialsFuzzTest()
|
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/savehttpauthcredentials_fuzzer/ |
H A D | savehttpauthcredentials_fuzzer.cpp | 32 std::string realm((const char*)data, size); in SaveHttpAuthCredentialsFuzzTest() 35 OhosWebDataBaseAdapterImpl::GetInstance().SaveHttpAuthCredentials(host, realm, name, str); in SaveHttpAuthCredentialsFuzzTest()
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_ohos_web_data_base_adapter_wrapper.cpp | 41 const std::string& host, const std::string& realm, const std::string& username, const char* password) in SaveHttpAuthCredentials() 47 ArkWebString ark_realm = ArkWebStringClassToStruct(realm); in SaveHttpAuthCredentials() 56 const std::string& host, const std::string& realm, std::string& username, char* password, uint32_t passwordSize) in GetHttpAuthCredentials() 62 ArkWebString ark_realm = ArkWebStringClassToStruct(realm); in GetHttpAuthCredentials() 40 SaveHttpAuthCredentials( const std::string& host, const std::string& realm, const std::string& username, const char* password) SaveHttpAuthCredentials() argument 55 GetHttpAuthCredentials( const std::string& host, const std::string& realm, std::string& username, char* password, uint32_t passwordSize) GetHttpAuthCredentials() argument
|
H A D | ark_ohos_web_data_base_adapter_wrapper.h | 34 const std::string& host, const std::string& realm, const std::string& username, const char* password) override; 36 void GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& username,
|
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
H A D | ark_web_data_base_wrapper.cpp | 32 const std::string& host, const std::string& realm, std::string& user_name, char* password, uint32_t password_size) in GetHttpAuthCredentials() 35 ArkWebString stRealm = ArkWebStringClassToStruct(realm); in GetHttpAuthCredentials() 47 const std::string& host, const std::string& realm, const std::string& user_name, const char* password) in SaveHttpAuthCredentials() 50 ArkWebString stRealm = ArkWebStringClassToStruct(realm); in SaveHttpAuthCredentials() 31 GetHttpAuthCredentials( const std::string& host, const std::string& realm, std::string& user_name, char* password, uint32_t password_size) GetHttpAuthCredentials() argument 46 SaveHttpAuthCredentials( const std::string& host, const std::string& realm, const std::string& user_name, const char* password) SaveHttpAuthCredentials() argument
|
H A D | ark_web_data_base_wrapper.h | 42 * @param realm the realm to which the credentials apply. 47 void GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& user_name, 54 * @param realm the realm to which the credentials apply. 59 const std::string& host, const std::string& realm, const std::string& user_name, const char* password) override;
|
H A D | ark_web_handler_impl.cpp | 416 ArkWebRefPtr<ArkWebJsHttpAuthResult> result, const ArkWebString& host, const ArkWebString& realm) in OnHttpAuthRequestByJS() 420 nullptr, ArkWebStringStructToClass(host), ArkWebStringStructToClass(realm)); in OnHttpAuthRequestByJS() 424 ArkWebStringStructToClass(host), ArkWebStringStructToClass(realm)); in OnHttpAuthRequestByJS() 415 OnHttpAuthRequestByJS( ArkWebRefPtr<ArkWebJsHttpAuthResult> result, const ArkWebString& host, const ArkWebString& realm) OnHttpAuthRequestByJS() argument
|
H A D | ark_web_handler_impl.h | 309 ArkWebRefPtr<ArkWebJsHttpAuthResult> result, const ArkWebString& host, const ArkWebString& realm) override;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/ |
H A D | ark_web_data_base.h | 41 * @param realm the realm to which the credentials apply. 47 virtual void GetHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, ArkWebString& user_name, 54 * @param realm the realm to which the credentials apply. 60 const ArkWebString& host, const ArkWebString& realm, const ArkWebString& user_name, const char* password) = 0;
|
H A D | ark_web_handler.h | 381 ArkWebRefPtr<ArkWebJsHttpAuthResult> result, const ArkWebString& host, const ArkWebString& realm) = 0;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_ohos_web_data_base_adapter.h | 36 const ArkWebString& host, const ArkWebString& realm, const ArkWebString& username, const char* password) = 0; 39 virtual void GetHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, ArkWebString& username,
|
/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | ohos_web_data_base_adapter.h | 35 const std::string& host, const std::string& realm, const std::string& username, const char* password) = 0; 37 virtual void GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& username,
|
/base/web/webview/ohos_interface/include/ohos_nweb/ |
H A D | nweb_data_base.h | 50 * @param realm the realm to which the credentials apply. 55 const std::string& host, const std::string& realm, const std::string& username, const char* password) = 0; 61 * @param realm the realm to which the credentials apply. 66 virtual void GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& username,
|
H A D | nweb_handler.h | 609 std::shared_ptr<NWebJSHttpAuthResult> result, const std::string& host, const std::string& realm) in OnHttpAuthRequestByJS() 608 OnHttpAuthRequestByJS( std::shared_ptr<NWebJSHttpAuthResult> result, const std::string& host, const std::string& realm) OnHttpAuthRequestByJS() argument
|
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/include/ |
H A D | ohos_web_data_base_adapter_impl.h | 48 void SaveHttpAuthCredentials(const std::string& host, const std::string& realm, 51 void GetHttpAuthCredentials(const std::string& host, const std::string& realm,
|
/base/web/webview/interfaces/kits/napi/webdatabase/ |
H A D | napi_web_data_base.cpp | 156 std::string realm; in JsSaveHttpAuthCredentials() local 157 if (!GetStringPara(env, argv[PARAMONE], realm)) { in JsSaveHttpAuthCredentials() 159 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "realm", "string")); in JsSaveHttpAuthCredentials() 188 dataBase->SaveHttpAuthCredentials(host, realm, username, password); in JsSaveHttpAuthCredentials() 217 std::string realm; in JsGetHttpAuthCredentials() local 218 if (!GetStringPara(env, argv[PARAMONE], realm)) { in JsGetHttpAuthCredentials() 220 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "realm", "string")); in JsGetHttpAuthCredentials() 237 dataBase->GetHttpAuthCredentials(host, realm, username, password, MAX_PWD_LENGTH + 1); in JsGetHttpAuthCredentials()
|
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/src/ |
H A D | ohos_web_data_base_adapter_impl.cpp | 36 static const std::string HTTPAUTH_REALM_COL = "realm"; 109 void OhosWebDataBaseAdapterImpl::SaveHttpAuthCredentials(const std::string& host, const std::string& realm, in SaveHttpAuthCredentials() argument 126 valuesBucket.PutString(HTTPAUTH_REALM_COL, realm); in SaveHttpAuthCredentials() 138 void OhosWebDataBaseAdapterImpl::GetHttpAuthCredentials(const std::string& host, const std::string& realm, in GetHttpAuthCredentials() argument 152 dirAbsPred.EqualTo(HTTPAUTH_REALM_COL, realm); in GetHttpAuthCredentials()
|