Home
last modified time | relevance | path

Searched refs:realm (Results 1 - 25 of 27) sorted by relevance

12

/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_ohos_web_data_base_adapter_impl.cpp35 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 Dark_ohos_web_data_base_adapter_impl.h33 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 Dark_web_data_base_impl.cpp31 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 Dark_web_data_base_impl.h44 * @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 Dweb_data_base.cpp30 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 Dwebview_ffi.cpp1307 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 Dweb_data_base.h32 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 Dwebview_ffi.h128 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 Dgethttpauthcredentials_fuzzer.cpp33 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 Dsavehttpauthcredentials_fuzzer.cpp32 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 Dark_ohos_web_data_base_adapter_wrapper.cpp41 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 Dark_ohos_web_data_base_adapter_wrapper.h34 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 Dark_web_data_base_wrapper.cpp32 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 Dark_web_data_base_wrapper.h42 * @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 Dark_web_handler_impl.cpp416 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 Dark_web_handler_impl.h309 ArkWebRefPtr<ArkWebJsHttpAuthResult> result, const ArkWebString& host, const ArkWebString& realm) override;
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_data_base.h41 * @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 Dark_web_handler.h381 ArkWebRefPtr<ArkWebJsHttpAuthResult> result, const ArkWebString& host, const ArkWebString& realm) = 0;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_ohos_web_data_base_adapter.h36 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 Dohos_web_data_base_adapter.h35 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 Dnweb_data_base.h50 * @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 Dnweb_handler.h609 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 Dohos_web_data_base_adapter_impl.h48 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 Dnapi_web_data_base.cpp156 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 Dohos_web_data_base_adapter_impl.cpp36 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()

Completed in 16 milliseconds

12