/ohos5.0/base/web/webview/test/unittest/ohos_adapter/web_data_base_adapter_impl_test/ |
H A D | web_data_base_adapter_impl_test.cpp | 169 std::string username; variable 174 dataBase.GetHttpAuthCredentials("", TEST_REALME, username, password, maxLength + 1); 175 dataBase.GetHttpAuthCredentials(TEST_HOST, "", username, password, maxLength + 1); 176 dataBase.GetHttpAuthCredentials(TEST_HOST, TEST_REALME, username, nullptr, maxLength + 1); 177 dataBase.GetHttpAuthCredentials(TEST_HOST, TEST_REALME, username, password, maxLength + 1); 179 g_dataBaseNull->GetHttpAuthCredentials(TEST_HOST, TEST_REALME, username, password, -1); 180 … g_dataBaseNull->GetHttpAuthCredentials(TEST_HOST, TEST_REALME, username, password, maxLength + 1);
|
/ohos5.0/base/web/webview/interfaces/kits/napi/webdatabase/ |
H A D | napi_web_data_base.cpp | 162 std::string username; in JsSaveHttpAuthCredentials() local 163 if (!GetStringPara(env, argv[PARAMTWO], username)) { in JsSaveHttpAuthCredentials() 168 if (host.empty() || username.empty()) { in JsSaveHttpAuthCredentials() 188 dataBase->SaveHttpAuthCredentials(host, realm, username, password); in JsSaveHttpAuthCredentials() 230 std::string username; in JsGetHttpAuthCredentials() local 237 dataBase->GetHttpAuthCredentials(host, realm, username, password, MAX_PWD_LENGTH + 1); in JsGetHttpAuthCredentials() 239 if (!username.empty() && strlen(password) > 0) { in JsGetHttpAuthCredentials() 242 napi_create_string_utf8(env, username.c_str(), username.length(), &nameVal); in JsGetHttpAuthCredentials()
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | OpenHarmony-JavaScript-coding-style-guide.md | 33 **正例:**`username`、`account` 48 constructor(username) { 49 this.username = username; 53 console.log(`hi, ${this.username}`); 313 let username = 'jack' 316 console.log(`${username}'s birthday is ${birthday}`) 322 let username = 'jack'; 325 console.log(`${username}'s birthday is ${birthday}`); 464 var User = function(username) { 465 this.username = username; [all …]
|
/ohos5.0/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* passwo… in SaveHttpAuthCredentials() argument 48 ArkWebString ark_username = ArkWebStringClassToStruct(username); in SaveHttpAuthCredentials() 56 …const std::string& host, const std::string& realm, std::string& username, char* password, uint32_t… in GetHttpAuthCredentials() argument 63 ArkWebString ark_username = ArkWebStringClassToStruct(username); in GetHttpAuthCredentials() 65 username = ArkWebStringStructToClass(ark_username); in GetHttpAuthCredentials()
|
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* passwo… 36 …id GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& username,
|
/ohos5.0/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* pas… in SaveHttpAuthCredentials() argument 38 ArkWebStringStructToClass(username), password); in SaveHttpAuthCredentials() 42 …const ArkWebString& host, const ArkWebString& realm, ArkWebString& username, char* password, uint3… in GetHttpAuthCredentials() argument 47 username = ArkWebStringClassToStruct(s_username); in GetHttpAuthCredentials()
|
H A D | ark_ohos_web_data_base_adapter_impl.h | 33 …pAuthCredentials(const ArkWebString& host, const ArkWebString& realm, const ArkWebString& username, 36 …GetHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, ArkWebString& username,
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/ |
H A D | js-apis-uri.md | 95 const uriObj4 = new uri.URI("https://username:password@host:8080/directory/file?foo=1&bar=2#fragmen… 100 console.info(uriObj4.userInfo) // username:password 113 const uriObj6 = new uri.URI("https://username:my+name@host:8080/directory/my+file?foo=1&bar=2#fragm… 114 console.info(uriObj6.encodedUserInfo) // username:my+name 118 console.info(uriObj6.encodedAuthority) // username:my+name@host:8080 119 console.info(uriObj6.encodedSSP) // //username:my+name@host:8080/directory/my+file?foo=1&bar=2 161 let mm = 'https://username:password@host:8080/directory/file?foo=1&bar=2#fragment'; 165 new uri.URI('https://username:password@host:8080'); 188 const result = new uri.URI('https://username:password@host:8080/directory/file?ab=pppppp#qwer da'); 249 const uriInstance = new uri.URI('https://username:password@www.qwer.com:8080?query=pppppp'); [all …]
|
H A D | js-apis-url.md | 504 | username | string | 是 | 是 | 获取和设置URL的用户名部分。**原子化服务API**:从API version 11 开始,该接口支持在原子化服务中使用。 | 520 console.log("username " + that.username) // username username 547 let mm = 'https://username:password@host:8080'; 548 let a = new url.URL("/", mm); // Output 'https://username:password@host:8080/'; 549 let b = new url.URL(mm); // Output 'https://username:password@host:8080/'; 550 new url.URL('path/path1', b); // Output 'https://username:password@host:8080/path/path1'; 551 let c = new url.URL('/path/path1', b); // Output 'https://username:password@host:8080/path/path1'; 552 new url.URL('/path/path1', c); // Output 'https://username:password@host:8080/path/path1'; 553 new url.URL('/path/path1', a); // Output 'https://username:password@host:8080/path/path1'; 604 let mm = 'https://username:password@host:8080/test/test1/test3'; [all …]
|
/ohos5.0/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/src/ |
H A D | ohos_web_data_base_adapter_impl.cpp | 110 const std::string& username, const char* password) in SaveHttpAuthCredentials() argument 113 if (host.empty() || username.empty() || password == nullptr) { in SaveHttpAuthCredentials() 127 valuesBucket.PutString(HTTPAUTH_USERNAME_COL, username); in SaveHttpAuthCredentials() 139 std::string& username, char* password, uint32_t passwordSize) in GetHttpAuthCredentials() argument 162 resultSet->GetString(columnIndex, username); in GetHttpAuthCredentials()
|
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/gethttpauthcredentials_fuzzer/ |
H A D | gethttpauthcredentials_fuzzer.cpp | 34 std::string username; in GetHttpAuthCredentialsFuzzTest() local 36 …OhosWebDataBaseAdapterImpl::GetInstance().GetHttpAuthCredentials(host, realm, username, password, … in GetHttpAuthCredentialsFuzzTest()
|
/ohos5.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* pas… 39 …GetHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, ArkWebString& username,
|
/ohos5.0/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/include/ |
H A D | ohos_web_data_base_adapter_impl.h | 49 const std::string& username, const char* password) override; 52 std::string& username, char* password, uint32_t passwordSize) override;
|
/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/ |
H A D | nweb_data_base.h | 55 …const std::string& host, const std::string& realm, const std::string& username, const char* passwo… 66 …id GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& username,
|
/ohos5.0/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* passwo… 37 …id GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& username,
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-coding-style-guide.md | 66 username: string 68 constructor(username: string) { 69 this.username = username; 73 console.log('hi' + this.username);
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/ |
H A D | http_proxy.h | 56 void inline SetUserName(const SecureData &username) in SetUserName() argument 58 username_ = username; in SetUserName()
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/src/ |
H A D | js_url.ts | 54 username: string; 595 this.username_ = customEncodeURI(nativeUrl.username, {'%25':'%'}); 648 urlHelper.username_ = customEncodeURI(nativeUrl.username, {'%25':'%'}); 712 get username(): string { 715 set username(input) { 720 this.c_info.username = usname_; 721 this.username_ = this.c_info.username; 804 this.username_ = customEncodeURI(this.c_info.username, {'%25':'%'});
|
/ohos5.0/docs/zh-cn/device-dev/quick-start/ |
H A D | quickstart-pkg-prepare.md | 59 valid users = username #可以访问该共享目录的用户(Ubuntu的用户名) 71 sudo smbpasswd -a username #用户名为Ubuntu用户名。输入命令后,根据提示设置密码。
|
/ohos5.0/docs/zh-cn/device-dev/device-test/ |
H A D | xdevice.md | 99 <username></username> <!-- 登录用户名 --> 415 <username></username> 531 <username>root</username>
|
/ohos5.0/docs/en/application-dev/reference/apis-arkts/ |
H A D | js-apis-uri.md | 98 const uriObj4 = new uri.URI("https://username:password@host:8080/directory/file?foo=1&bar=2#fragmen… 103 console.info(uriObj4.userInfo) // username:password 116 const uriObj6 = new uri.URI("https://username:my+name@host:8080/directory/my+file?foo=1&bar=2#fragm… 117 console.info(uriObj6.encodedUserInfo) // username:my+name 121 console.info(uriObj6.encodedAuthority) // username:my+name@host:8080 122 console.info(uriObj6.encodedSSP) // //username:my+name@host:8080/directory/my+file?foo=1&bar=2 164 let mm = 'https://username:password@host:8080/directory/file?foo=1&bar=2#fragment'; 168 new uri.URI('https://username:password@host:8080'); 191 const result = new uri.URI('https://username:password@host:8080/directory/file?ab=pppppp#qwer da'); 252 const uriInstance = new uri.URI('https://username:password@www.qwer.com:8080?query=pppppp'); [all …]
|
H A D | js-apis-url.md | 509 let that = url.URL.parseURL('http://username:password@host:8080/directory/file?foo=1&bar=2#fragment… 520 console.log("username " + that.username) // username username 547 let mm = 'https://username:password@host:8080'; 548 let a = new url.URL("/", mm); // Output 'https://username:password@host:8080/'; 549 let b = new url.URL(mm); // Output 'https://username:password@host:8080/'; 550 new url.URL('path/path1', b); // Output 'https://username:password@host:8080/path/path1'; 551 let c = new url.URL('/path/path1', b); // Output 'https://username:password@host:8080/path/path1'; 552 new url.URL('/path/path1', c); // Output 'https://username:password@host:8080/path/path1'; 553 new url.URL('/path/path1', a); // Output 'https://username:password@host:8080/path/path1'; 604 let mm = 'https://username:password@host:8080/test/test1/test3'; [all …]
|
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/ |
H A D | config.rs | 307 pub fn basic_auth(mut self, username: &str, password: &str) -> Self { in basic_auth() 309 p = p.basic_auth(username, password); in basic_auth()
|
/ohos5.0/docs/en/contribute/ |
H A D | OpenHarmony-JavaScript-coding-style-guide.md | 32 **Example:**`username`,`account` 47 constructor(username) { 48 this.username = username; 52 console.log(`hi, ${this.username}`); 312 let username = 'jack' 315 console.log(`${username}'s birthday is ${birthday}`) 321 let username = 'jack'; 324 console.log(`${username}'s birthday is ${birthday}`); 463 var User = function(username) { 464 this.username = username; [all …]
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/ |
H A D | settings.rs | 443 pub fn basic_auth(mut self, username: &str, password: &str) -> Self { in basic_auth() 445 proxy.basic_auth(username, password); in basic_auth()
|