100+ results results for 'username' (5092 ms)
88 } 89 } else if (!StringUtils.isEmpty(request.getUsername()) && request.getPassword() != null) { 90 String credentials = encodeCredentials(request.getUsername(), request.getPassword(), 128 } 129 } else if (!StringUtils.isEmpty(request.getUsername()) && request.getPassword() != null) { 130 String credentials = encodeCredentials(request.getUsername(), request.getPassword(), 294 295 public static String encodeCredentials(String username, String password, String charset) { 296 try { 296 try { 297 String credentials = username + ":" + password; 298 byte[] bytes = credentials.getBytes(charset);http_util.h https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C Header | 320 lines
32 // made up of the protocol, host, [port], path, [query]. Everything else 33 // is stripped (username, password, reference). 34 static std::string SpecForRequest(const GURL& url);init.pp https://bitbucket.org/tmakinen/puppet.git | Puppet | 445 lines
102# $samba_join_user: 103# Username to use when joining to domain. Only used when $auth is 104# set to domain.vs-azure-tools-cloud-service-publish-set-up-required-services-in-visual-studio.md https://gitlab.com/yeah568/azure-content | Markdown | 155 lines
40 411. If you haven't signed in, sign in with your username and password for the Microsoft account or organizational account that's associated with your Azure subscription. 42active-directory-aadconnect-user-signin.md https://gitlab.com/yeah568/azure-content | Markdown | 149 lines
74 75The UPN of the user is of the format username@domai. For example, for an active directory contoso.com user John might have UPN john@contoso.com. The UPN of the user is based on RFC 822. Although UPN and email share the same format, the value of UPN for a user may or may not be equal to the email address of the user. 76active-directory-saas-performancecentre-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 328 lines
91For single sign-on to work, Azure AD needs to know what the counterpart user in PerformanceCentre to an user in Azure AD is. In other words, a link relationship between an Azure AD user and the related user in PerformanceCentre needs to be established. 92This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in PerformanceCentre. 93sqlsrv_driver.php https://gitlab.com/gricelya/test | PHP | 599 lines
61 $connection = array( 62 'UID' => empty($this->username) ? '' : $this->username, 63 'PWD' => empty($this->password) ? '' : $this->password, 69 70 // If the username and password are both empty, assume this is a 71 // 'Windows Authentication Mode' connection.sender.php https://gitlab.com/alexprowars/bitrix | PHP | 594 lines
514 515 $userNameFormated = \CUser::formatName(\CSite::getNameFormat(), $userData, true, false); 516 522 { 523 $mailboxName = trim($mailbox['USERNAME']) ?: trim($mailbox['OPTIONS']['name']) ?: $userNameFormated; 524 537 { 538 $key = hash('crc32b', mb_strtolower($userNameFormated).$crmAddress->getEmail()); 539 540 $mailboxes[$userId][$key] = array( 541 'name' => $crmAddress->getName() ?: $userNameFormated, 542 'email' => $crmAddress->getEmail(), 560 { 561 $item['NAME'] = trim($item['NAME']) ?: $userNameFormated; 562 $item['EMAIL'] = mb_strtolower($item['EMAIL']);edit_entry_handler.php https://github.com/jessfishenden/mrbs-mcr.git | PHP | 465 lines
56 57if (!getWritable($create_by, getUserName())) 58{ 423 { 424 mrbsDelEntry(getUserName(), $id, ($edit_type == "series"), 1); 425 }TarOutputStream.cs https://github.com/acken/mono.git | C# | 428 lines
258 longHeader.GroupName = ""; 259 longHeader.UserName = ""; 260 longHeader.LinkName = "";devise.rb https://gitlab.com/xenetics/services-website | Ruby | 263 lines
29 # Configure which keys are used when authenticating a user. The default is 30 # just :email. You can configure it to use [:username, :subdomain], so for 31 # authenticating a user, both parameters are required. Remember that thoseongage-custom-sender.php https://gitlab.com/itinarraylab/ongage-custom-sender | PHP | 382 lines
149 && self::getOption('esp_id') 150 && self::getOption('username') 151 && self::getOption('password') 167 $settings['password'] = self::getOption('password'); 168 $settings['username'] = self::getOption('username'); 169 $settings['type'] = self::getOption('type', 'email');Kubernetes.groovy https://gitlab.com/CORP-RESELLER/kubernetes-pipeline-plugin | Groovy | 358 lines
210 this.timeout = timeout 211 this.username = username 212 this.password = password 248 kubernetes.node { 249 kubernetes.script.buildImage(name: name, rm: rm, path: path, timeout: timeout, username: username, password: password, email: email, ignorePatterns: ignorePatterns) 250 } 318 this.timeout = timeout 319 this.username = username 320 this.password = password 335 336 PushImage withUsername(String username) { 337 return new PushImage(kubernetes, name, tagName, timeout, username, password, email) 349 kubernetes.node { 350 kubernetes.script.pushImage(name: name, tagName: tagName, timeout: timeout, registry: registry, username: username, password: password, email: email) 351 }gemini_install.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 326 lines
279 subprocess.check_call(sudo_cmd + ["mkdir", "-p", dname]) 280 username = subprocess.check_output("echo $USER", shell=True).strip() 281 subprocess.check_call(sudo_cmd + ["chown", username, dname])follow_run.htm https://gitlab.com/wuhang2003/phpwind | HTML | 338 lines
41 <dl class="cc J_friends_items"> 42 <dt><a href="{@url:space/index/run?uid=$value['touid']}" data-uid="{$value['touid']}" class="J_user_card_show"><img class="J_avatar" src="{@Pw::getAvatar($value['touid'], 'small')}" data-type="small" width="50" height="50" alt="{$value['username']}" /></a><a href="{@url:message/message/pop?username=$value['username']}" data-name="{$value['username']}" class="called J_send_msg_pop">打招呼</a></dt> 43 <dd> 44 <div class="title"> 45 <a href="{@url:space/index/run?uid=$value['touid']}" data-uid="{$value['touid']}" class="name J_user_card_show">{$value['username']}</a> 46 <!--# $gender = $value['gender'] == 1 ? 'women' : 'man'; 82 <!--# foreach ($recommend as $value) { #--> 83 <li><a data-uid="{$value['uid']}" class="J_user_card_show" href="{@url:space/index/run?uid=$value['uid']}"><img class="J_avatar" src="{@Pw::getAvatar($value['uid'], 'middle')}" data-type="middle" width="90" height="90" alt="{$value['username']}" /></a><label title="{$value['username']}"><input class="J_check" type="checkbox" name="uids[]" value="{$value['uid']}">{$value['username']}</label></li> 84 <!--# } #-->URLFileSystemBrowser.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 204 lines
44 45 private static final String USERNAME_PREFIX = Messages.UrlConnectionRetrieveFileTransfer_USERNAME_PROMPT; 46 60 61 protected String username = null; 62 177 return; 178 final NameCallback usernameCallback = new NameCallback(USERNAME_PREFIX); 179 final ObjectCallback passwordCallback = new ObjectCallback(); 179 final ObjectCallback passwordCallback = new ObjectCallback(); 180 // Call callback with username and password callbacks 181 callbackHandler.handle(new Callback[] {usernameCallback, passwordCallback}); 181 callbackHandler.handle(new Callback[] {usernameCallback, passwordCallback}); 182 username = usernameCallback.getName(); 183 Object o = passwordCallback.getObject();PostgresAdapter.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 271 lines
49 * postgres.cayenne.adapter = org.apache.cayenne.dba.postgres.PostgresAdapter 50 * postgres.jdbc.username = test 51 * postgres.jdbc.password = secretclass-wp-ms-users-list-table.php https://gitlab.com/webkod3r/tripolis | PHP | 460 lines
167 'cb' => '<input type="checkbox" />', 168 'username' => __( 'Username' ), 169 'name' => __( 'Name' ), 178 * 179 * @param array $users_columns An array of user columns. Default 'cb', 'username', 180 * 'name', 'email', 'registered', 'blogs'. 190 return array( 191 'username' => 'login', 192 'name' => 'name', 228 /** 229 * Handles the username column output. 230 * 235 */ 236 public function column_username( $user ) { 237 $super_admins = get_super_admins();SlackHandler.php https://gitlab.com/judielsm/Handora | PHP | 293 lines
40 */ 41 private $username; 42 74 * @param string $channel Slack channel (encoded ID or name) 75 * @param string $username Name of a bot 76 * @param bool $useAttachment Whether the message should be added to Slack as attachment (plain text otherwise) 82 */ 83 public function __construct($token, $channel, $username = 'Monolog', $useAttachment = true, $iconEmoji = null, $level = Logger::CRITICAL, $bubble = true, $useShortAttachment = false, $includeContextAndExtra = false) 84 { 92 $this->channel = $channel; 93 $this->username = $username; 94 $this->iconEmoji = trim($iconEmoji, ':'); 139 'channel' => $this->channel, 140 'username' => $this->username, 141 'text' => '',login_database_unittest.cc https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C++ | 283 lines
51 form.action = GURL("http://www.google.com/accounts/Login"); 52 form.username_element = ASCIIToUTF16("Email"); 53 form.username_value = ASCIIToUTF16("test@gmail.com"); 182 form.origin = GURL(url + std::string("/LoginAuth")); 183 form.username_element = ASCIIToUTF16(unique_string); 184 form.username_value = ASCIIToUTF16(unique_string); 259 form.action = GURL("http://www.google.com/accounts/Login"); 260 form.username_element = ASCIIToUTF16("Email"); 261 form.password_element = ASCIIToUTF16("Passwd");LoginViewController.m https://gitlab.com/M.Umair/nextdoor | Objective C | 282 lines
152// [self.navigationController pushViewController:userLogin animated:YES]; 153 if ( ([_txt_username.text length] != 0) && ([_txt_password.text length] != 0)){ 154 159 160 NSDictionary *paramDict = [NSDictionary dictionaryWithObjectsAndKeys:_txt_username.text,@"username", 161 _txt_password.text,@"password",email-inline.scss https://gitlab.com/vincent.perdereau/picandparts | Sass | 679 lines
341} 342// Highlight information like username/password 343.highlighted-text {event.rb https://gitlab.com/alexkeramidas/gitlab-ce | Ruby | 403 lines
43 44 delegate :name, :email, :public_email, :username, to: :author, prefix: true, allow_nil: true 45 delegate :title, to: :issue, prefix: true, allow_nil: truePOP35.php https://github.com/ECP-Black/ECP.git | PHP | 365 lines
66 } 67 if (!is_string($user)) $err[] = 'invalid username type'; 68 else if (($user = FUNC5::str_clear($user)) == '') $err[] = 'invalid username value'; 103 if (!is_resource($conn)) $err[] = 'invalid resource connection'; 104 if (!is_string($user)) $err[] = 'invalid username type'; 105 else if (($user = FUNC5::str_clear($user)) == '') $err[] = 'invalid username value';index.md https://gitlab.com/18dit020/gitlab | Markdown | 430 lines
105 106#### Package without a username and a channel 107 111to distinguish your package from a similarly named existing package, 112the username and channel are not mandatory fields for a Conan package. 113 113 114You can create a package without a username and channel by removing them from 115the `create` command: 234```shell 235conan user <gitlab_username or deploy_token_username> -r gitlab -p <personal_access_token or deploy_token> 236``` 264```shell 265`CONAN_LOGIN_USERNAME=<gitlab_username or deploy_token_username> CONAN_PASSWORD=<personal_access_token or deploy_token> <conan command> --remote=gitlab 266```dailymotion.py https://gitlab.com/vitalii.dr/yt-dlp | Python | 389 lines
56 } 57 username, password = self._get_login_info() 58 if username: 61 'password': password, 62 'username': username, 63 }) 75 raise 76 self._set_dailymotion_cookie('access_token' if username else 'client_token', token) 77 self._HEADERS['Authorization'] = 'Bearer ' + tokenclass.smtp.php https://github.com/nils-werner/symphony-2.git | PHP | 496 lines
55 * $options['secure'] can be ssl, tls or null. 56 * $options['username'] the username used to login to the server. Leave empty for no authentication. 57 * $options['password'] the password used to login to the server. Leave empty for no authentication. 94 95 if(($options['username'] !== null) && ($options['password'] !== null)){ 96 $this->_user = $options['username'];android.c https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C | 673 lines
284{ 285 const char *username = NULL; 286 char *end = NULL; 296 if (android_ids[n].aid == appid) { 297 username = android_ids[n].name; 298 break; 300 } 301 if (!username) 302 goto err; 303 } else if (appid < AID_ISOLATED_START) { 304 username = "app_"; 305 appid -= AID_APP; 306 } else { 307 username = "isolated"; 308 appid -= AID_ISOLATED_START;class-wc-api-customers.php https://gitlab.com/webkod3r/tripolis | PHP | 504 lines
147 'last_name' => $customer->last_name, 148 'username' => $customer->user_login, 149 'last_order_id' => is_object( $last_order ) ? $last_order->id : null,helpers.rb https://gitlab.com/alexkeramidas/gitlab-ce | Ruby | 499 lines
59 def save_current_user_in_env(user) 60 env[API_USER_ENV] = { user_id: user.id, username: user.username } 61 end 100 else 101 User.find_by(username: id) 102 end 455 sudoed_user = find_user(sudo_identifier) 456 not_found!("User with ID or username '#{sudo_identifier}'") unless sudoed_user 457index.php https://github.com/websupport/moodle.git | PHP | 350 lines
102 if ($user) { 103 $frm->username = $user->username; 104 } else { 115 116 $frm->username = trim(moodle_strtolower($frm->username)); 117 118 if (is_enabled_auth('none') ) { 119 if ($frm->username !== clean_param($frm->username, PARAM_USERNAME)) { 120 $errormsg = get_string('username').': '.get_string("invalidusername"); 185 186 } else if (empty($CFG->rememberusername) or ($CFG->rememberusername == 2 and empty($frm->rememberusername))) { 187 // no permanent cookies, delete old one if exists 303 if (!empty($_GET["username"])) { 304 $frm->username = clean_param($_GET["username"], PARAM_RAW); // we do not want data from _POST here 305 } else {active-directory-saas-insperityexpensable-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 272 lines
90For single sign-on to work, Azure AD needs to know what the counterpart user in Insperity ExpensAble to an user in Azure AD is. In other words, a link relationship between an Azure AD user and the related user in Insperity ExpensAble needs to be established. 91This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in Insperity ExpensAble. 92active-directory-saas-beeline-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 276 lines
91For single sign-on to work, Azure AD needs to know what the counterpart user in Beeline is to a user in Azure AD. In other words, a link relationship between an Azure AD user and the related user in Beeline needs to be established. 92This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in Beeline. 93active-directory-saas-kindling-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 294 lines
91For single sign-on to work, Azure AD needs to know what the counterpart user in Kindling to an user in Azure AD is. In other words, a link relationship between an Azure AD user and the related user in Kindling needs to be established. 92This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in Kindling. 93ApplicationDbContext.cs https://gitlab.com/pavel.ivanov/JP | C# | 277 lines
62 { 63 UserName = s, 64 Email = s,ConfirmForgotPasswordRequest.java https://gitlab.com/github-cloud-corp/aws-sdk-android | Java | 478 lines
248 */ 249 public void setUsername(String username) { 250 this.username = username; 419 if (getUsername() != null) 420 sb.append("Username: " + getUsername() + ","); 421 if (getConfirmationCode() != null) 435 hashCode = prime * hashCode + ((getSecretHash() == null) ? 0 : getSecretHash().hashCode()); 436 hashCode = prime * hashCode + ((getUsername() == null) ? 0 : getUsername().hashCode()); 437 hashCode = prime * hashCode 462 return false; 463 if (other.getUsername() == null ^ this.getUsername() == null) 464 return false; 464 return false; 465 if (other.getUsername() != null && other.getUsername().equals(this.getUsername()) == false) 466 return false;UriInterface.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 323 lines
74 * 75 * @return string The URI user information, in "username[:password]" format. 76 */index.js https://github.com/c4milo/skywriter.git | JavaScript | 408 lines
159 var pr = loginController.showLogin(); 160 pr.then(function(username) { 161 // Add the username as constructor argument. 161 // Add the username as constructor argument. 162 config.objects.session.arguments.push(username); 163Smtp.php https://github.com/sgtcarneiro/horde.git | PHP | 355 lines
133 * DEFAULT: NONE 134 * 'username' - (string) The username to use for SMTP auth. 135 * DEFAULT: NONE 149 'timeout' => null, 150 'username' => '' 151 ), $params); 300 301 $res = $this->_smtp->auth($this->_params['username'], $this->_params['password'], $method); 302 if ($res instanceof PEAR_Error) {authentication.php https://bitbucket.org/sammousa/valuematchbv-ls2.git | PHP | 379 lines
92 { 93 $sUserName = Yii::app()->request->getPost('user'); 94 $sEmailAddr = Yii::app()->request->getPost('email'); 95 96 $aFields = User::model()->findAllByAttributes(array('users_name' => $sUserName, 'email' => $sEmailAddr)); 97 99 { 100 // wrong or unknown username and/or email 101 $aData['errormsg'] = $this->getController()->lang->gT('User name and/or email not found!'); 128 129 $username = sprintf($clang->gT('Username: %s'), $aFields[0]['users_name']); 130 $email = sprintf($clang->gT('Email: %s'), $sEmailAddr); 246 * Note: This function is replicated in parts in remotecontrol.php controller - if you change this don't forget to make according changes there, too (which is why we should make a login helper) 247 * @param string $sUsername The username to login with 248 * @param string $sPassword The password to login withactive-directory-saas-tableauserver-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 342 lines
93 94This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in Tableau Server. 95 128 129 b. In the **Attrubute Name** textbox, type **username**. 130 277 278The objective of this section is to create a user called Britta Simon in Tableau Server. You need to provision all the users in the Tableau server. Also note that username of the user should match the value which you have configured in the Azure AD custom attribute of **username**. With the correct mapping the integration should work [Configuring Azure AD Single Sign-On](#configuring-azure-ad-single-single-sign-on). 279Nirvanix.php https://bitbucket.org/mengqing/magento-mirror.git | PHP | 399 lines
35{ 36 const USERNAME = 'auth_username'; 37 const PASSWORD = 'auth_password'; 67 $auth = array( 68 'username' => $options[self::USERNAME], 69 'password' => $options[self::PASSWORD],zsyscall_windows.go https://gitlab.com/adotout/gcc | Go | 327 lines
275 276func NetUserGetLocalGroups(serverName *uint16, userName *uint16, level uint32, flags uint32, buf **byte, prefMaxLen uint32, entriesRead *uint32, totalEntries *uint32) (neterr error) { 277 r0, _, _ := syscall.Syscall9(procNetUserGetLocalGroups.Addr(), 8, uintptr(unsafe.Pointer(serverName)), uintptr(unsafe.Pointer(userName)), uintptr(level), uintptr(flags), uintptr(unsafe.Pointer(buf)), uintptr(prefMaxLen), uintptr(unsafe.Pointer(entriesRead)), uintptr(unsafe.Pointer(totalEntries)), 0)CreateAction.java https://github.com/bibulous/SkyrackJbill2.2.git | Java | 265 lines
99 dto.setCompany(new CompanyDTO(entityId)); 100 dto.setUserName((String)userForm.get("username")); 101 dto.setPassword((String)userForm.get("password")); 198 UserDTO user = myRemoteSession.getUserDTO( 199 dto.getUserName(), entityId); 200 if (user != null) { 202 new ActionError("user.create.error.taken", 203 (String) userForm.get("username"))); 204 } else { 218 new ActionError("user.create.error.taken", 219 (String) userForm.get("username"))); 220 } else if (newUserId.intValue() == -1) {index.cshtml https://bitbucket.org/v_jli/jean0306case1346try.git | Razor | 166 lines
40 <li class="active"><a href="#profile" data-toggle="tab"><i class="icon-chevron-right"></i>Profile</a></li> 41 <li><a href="#changeUsername" data-toggle="tab"><i class="icon-chevron-right"></i>Username</a></li> 42 <li><a href="#changePassword" data-toggle="tab"><i class="icon-chevron-right"></i>Password</a></li> 75 <div class="account-details-body"> 76 <form class="form-horizontal" action="@Url.Content("~/account/changeusername")#changeUsername" method="POST"> 77 @Html.ValidationSummary() 78 <div class="control-group"> 79 <label class="control-label" for="username">Username</label> 80 <div class="controls"> 80 <div class="controls"> 81 @Html.TextBox("username", "input-xlarge", "Username") 82 </div> 84 <div class="control-group"> 85 <label class="control-label" for="confirmUsername">Confirm Username</label> 86 <div class="controls">exploratory_testing.md https://gitlab.com/18dit020/gitlab | Markdown | 360 lines
49 1. Add `akismet-guaranteed-spam@example.com` as a secondary email for the administrator user. 50 1. Confirm it in the Rails console: `bin/rails c` -> `User.find_by_username('root').emails.last.confirm` 51 1. Switch this verified email to be your primary email:rest.php https://gitlab.com/bandana/Astro-Veda | PHP | 461 lines
110| 111| The function should accept two parameters: class->function($username, $password) 112| In other cases override the function _perform_library_auth in your controller 113| 114| For digest authentication the library function should return already stored md5(username:restrealm:password) for that username 115| E.g: md5('admin:REST API:1234') = '1e957ebc35631ab22d5bd6526bd14ea2' 150|-------------------------------------------------------------------------- 151| REST Login usernames 152|-------------------------------------------------------------------------- 153| 154| Array of usernames and passwords for login, if ldap is configured this is ignored 155|comment_view_tests.py https://github.com/theosp/google_appengine.git | Python | 294 lines
116 data['name'] = data['email'] = '' 117 self.client.login(username="normaluser", password="normaluser") 118 self.response = self.client.post("/post/", data, REMOTE_ADDR="1.2.3.4") 122 self.assertEqual(c.ip_address, "1.2.3.4") 123 u = User.objects.get(username='normaluser') 124 self.assertEqual(c.user, u) 132 """ 133 user = User.objects.create_user(username='jane_other', 134 email='jane@example.com', password='jane_other') 137 data['name'] = data['email'] = '' 138 self.client.login(username="jane_other", password="jane_other") 139 self.response = self.client.post("/post/", data, REMOTE_ADDR="1.2.3.4")mysqli_driver.php https://gitlab.com/relacilia/cakra | PHP | 503 lines
160 161 if ($mysqli->real_connect($hostname, $this->username, $this->password, $this->database, $port, $socket, $client_flags)) 162 {util.php https://gitlab.com/alexprowars/bitrix | PHP | 672 lines
236 { 237 $users[$i]['FORMATTED_NAME'] = \CCalendar::getUserName($users[$i]); 238 }service.py https://bitbucket.org/jasonrglasgow/gdata.git | Python | 264 lines
41 42 def _serviceUrl(self, setting_id, username, domain=None): 43 if domain is None: 44 domain = self.domain 45 return '/a/feeds/emailsettings/%s/%s/%s/%s' % (API_VER, domain, username, 46 setting_id) 47 48 def CreateLabel(self, username, label): 49 """Create a label. 51 Args: 52 username: User to create label for. 53 label: Label to create. 57 """ 58 uri = self._serviceUrl('label', username) 59 properties = {'label': label}__init__.py https://github.com/liaowang11/v2ex.git | Python | 270 lines
13 deactivated = db.IntegerProperty(required=True, default=0) 14 username = db.StringProperty(required=False, indexed=True) 15 username_lower = db.StringProperty(required=False, indexed=True)user.php https://github.com/xoops-pi/legacy.git | PHP | 461 lines
116 * Updated by Catzwolf 11 Jan 2004 117 * find the username for a given ID 118 *capture_opts.h https://gitlab.com/crondaemon/wireshark-legacy | C Header | 394 lines
126 capture_auth auth_type; /**< Authentication type */ 127 gchar *auth_username; /**< Remote authentication parameters */ 128 gchar *auth_password; /**< Remote authentication parameters */ 137 capture_auth auth_type; /**< Authentication type */ 138 gchar *auth_username; /**< Remote authentication parameters */ 139 gchar *auth_password; /**< Remote authentication parameters */ 224 capture_auth auth_type; 225 gchar *auth_username; 226 gchar *auth_password;nebula.py https://gitlab.com/vitalii.dr/yt-dlp | Python | 288 lines
24 def _perform_nebula_auth(self): 25 username, password = self._get_login_info() 26 if not (username and password): 28 29 data = json.dumps({'email': username, 'password': password}).encode('utf8') 30 response = self._download_json( 150 151 def _perform_login(self, username=None, password=None): 152 # FIXME: username should be passed from here to inner functionsMemberBlogController.go https://gitlab.com/Mr.Tomato/leanote | Go | 526 lines
37// 得到sorterField 和 isAsc 38// okSorter = ['email', 'username'] 39func (c MemberBlog) getSorter(sorterField string, isAsc bool, okSorter []string) (string, bool) {smbcquotas.c https://gitlab.com/envieidoc/advancedtomato2 | C | 553 lines
157 158 fstrcpy(username_str,p); 159 p = p2; 221 222static int do_quota(struct cli_state *cli, enum SMB_QUOTA_TYPE qtype, uint16 cmd, pstring username_str, SMB_NTQUOTA_STRUCT *pqt) 223{ 249 case SMB_USER_QUOTA_TYPE: 250 if (!StringToSid(&qt.sid, username_str)) { 251 d_printf("StringToSid() failed for [%s]\n",username_str); 487 if (!fix_user) 488 pstrcpy(username_str,cmdline_auth_info.username); 489 536 case LIST_QUOTA: 537 result = do_quota(cli,SMB_USER_QUOTA_TYPE, QUOTA_LIST, username_str, NULL); 538 break;base.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 486 lines
159 """ 160 :param key: API key or username to used (required) 161 :type key: ``str``fr.inc.php https://gitlab.com/sylver.gocloud/gocloudasia-college-system-framework | PHP | 286 lines
6 'Server' => 'Serveur', 7 'Username' => 'Utilisateur', 8 'Password' => 'Mot de passe',devise.rb https://gitlab.com/junxianlim/Limageshare | Ruby | 256 lines
25 # Configure which keys are used when authenticating a user. The default is 26 # just :email. You can configure it to use [:username, :subdomain], so for 27 # authenticating a user, both parameters are required. Remember that those 31 # or not authentication should be aborted when the value is not present. 32 config.authentication_keys = [ :username ] 33ql4_glbl.h https://gitlab.com/karrei/imx6-kernel | C Header | 290 lines
83 uint8_t outCount, uint32_t *mbx_cmd, uint32_t *mbx_sts); 84int qla4xxx_get_chap_index(struct scsi_qla_host *ha, char *username, 85 char *password, int bidi, uint16_t *chap_index); 85 char *password, int bidi, uint16_t *chap_index); 86int qla4xxx_set_chap(struct scsi_qla_host *ha, char *username, char *password, 87 uint16_t idx, int bidi); 169 dma_addr_t fw_ddb_entry_dma, uint16_t ddb_index); 170int qla4xxx_get_chap(struct scsi_qla_host *ha, char *username, 171 char *password, uint16_t idx); 268 dma_addr_t dma_addr); 269int qla4xxx_get_uni_chap_at_index(struct scsi_qla_host *ha, char *username, 270 char *password, uint16_t chap_index);EmailPolicy.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 247 lines
101 * * FIND_PROVIDER_IN_URI The server configuration for the incoming (IMAP or POP) server 102 * * FIND_PROVIDER_IN_USER Format of the username (login) value 103 * * FIND_PROVIDER_OUT_URI The server configuration for the outgoing (SMTP) server 103 * * FIND_PROVIDER_OUT_URI The server configuration for the outgoing (SMTP) server 104 * * FIND_PROVIDER_OUT_USER Format of the username (login) value 105 * 137 * 138 * The username attribute is used to supply a template for the username 139 * that will be presented to the server. This username is built from a 142 * 143 * Valid substitution values for the username attribute are: 144 * $email - the email address the user entered 147 * 148 * The username attribute MUST be specified for the incoming element, so the POP3 or IMAP 149 * server can identify the mailbox to be opened.DataSource.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 308 lines
259 * 260 * @param userName user name to be used to connect C-JDBC controller(s). 261 */ 261 */ 262 public void setUser(String userName) 263 { 263 { 264 user = userName; 265 }MMediaServer.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 310 lines
159 ftp.connect (getIP_Address()); 160 if (ftp.login (getUserName(), getPassword())) 161 log.info("Connected to " + getIP_Address() + " as " + getUserName()); 163 { 164 log.warning("Could NOT connect to " + getIP_Address() + " as " + getUserName()); 165 return false; 170 log.log(Level.WARNING, "Could NOT connect to " + getIP_Address() 171 + " as " + getUserName(), e); 172 return false; 253 ftp.connect (getIP_Address()); 254 if (ftp.login (getUserName(), getPassword())) 255 log.info("Connected to " + getIP_Address() + " as " + getUserName()); 257 { 258 log.warning("Could NOT connect to " + getIP_Address() + " as " + getUserName()); 259 return false;zsh.vim https://github.com/MarcWeber/vim.git | Vim Script | 213 lines
96 syn match zshLongDeref '\$\%(MACHTYPE\|OLDPWD OPTARG\|OPTIND\|OSTYPE\|PPID\|PWD\|RANDOM\|SECONDS\|SHLVL\|signals\)' 97 syn match zshLongDeref '\$\%(TRY_BLOCK_ERROR\|TTY\|TTYIDLE\|UID\|USERNAME\|VENDOR\|ZSH_NAME\|ZSH_VERSION\|REPLY\|reply\|TERM\)' 98endifHttpClient.class.php https://github.com/weissms/owb-mirror.git | PHP | 339 lines
31 // Basic authorization variables 32 var $username; 33 var $password; 220 // Basic authentication 221 if ($this->username && $this->password) { 222 $headers[] = 'Authorization: BASIC '.base64_encode($this->username.':'.$this->password); 267 function setAuthorization($username, $password) { 268 $this->username = $username; 269 $this->password = $password;bidi.css https://github.com/bantu/customisation-db.git | CSS | 750 lines
382.rtl blockquote cite { 383 /* Username/source of quoter */ 384 margin-right: 20px;fixes.patch https://github.com/crystalfontz/openembedded.git | Patch | 332 lines
117 118 if ( rdp->username && strlen (rdp->username) ) { 119- sprintf(buffer, "-username %s", (char*)g_strescape(rdp->username, NULL)); 120- c_argv[c_argc++] = g_strdup (buffer); 121+ sprintf(buffer, "-username"); 122+ c_argv[c_argc++] = g_strdup (buffer); 122+ c_argv[c_argc++] = g_strdup (buffer); 123+ c_argv[c_argc++] = g_strdup ((char *)g_strescape(rdp->username, NULL)); 124 }OrderByTestCase.php https://github.com/robo47/doctrine1.git | PHP | 290 lines
70 $this->assertEqual($userTable->getRelation('Groups')->getRelationDql(1), 'FROM OrderByTest_Group.OrderByTest_UserGroup WHERE OrderByTest_Group.OrderByTest_UserGroup.user_id IN (?) ORDER BY OrderByTest_Group.name ASC'); 71 $this->assertEqual($userTable->getRelation('Friends')->getRelationDql(1), 'FROM OrderByTest_User.OrderByTest_Friend WHERE OrderByTest_User.OrderByTest_Friend.user_id1 IN (?) ORDER BY OrderByTest_User.username ASC'); 72 $this->assertEqual($userTable->getRelation('ParentUser')->getRelationDql(1), 'FROM OrderByTest_User WHERE OrderByTest_User.id IN (?) ORDER BY OrderByTest_User.id ASC'); 72 $this->assertEqual($userTable->getRelation('ParentUser')->getRelationDql(1), 'FROM OrderByTest_User WHERE OrderByTest_User.id IN (?) ORDER BY OrderByTest_User.id ASC'); 73 $this->assertEqual($userTable->getRelation('ChildrenUsers')->getRelationDql(1), 'FROM OrderByTest_User WHERE OrderByTest_User.parent_user_id IN (?) ORDER BY OrderByTest_User.username ASC'); 74 75 $user = new OrderByTest_User(); 76 $user->username = 'jwage'; 77 $user->password = 'changeme'; 79 $user2 = new OrderByTest_User(); 80 $user2->username = 'parent'; 81 $user2->password = 'changeme'; 192 { 193 $this->hasColumn('login AS username', 'string', 255); 194 $this->hasColumn('password', 'string', 255);view.py https://gitlab.com/IDNatte/flask-codepolitan | Python | 223 lines
111 if dataStatusAuth == False: 112 session['username'] = username 113 session['logged_in'] = True 115 elif dataStatusAuth == True: 116 error3 = 'User with username "%s" has been login in other device' %(username) 117 return render_template('login.html', error3=error3) 121 if dataStatusAuth == False: 122 session['username'] = username 123 session['logged_in'] = True 125 elif dataStatusAuth == True: 126 error3 = 'User with username "%s" has been login in other device' %(username) 127 return render_template('login.html', error3=error3) 165def logout(): 166 username = session.get('username') 167 userLogin.resetLoginStatus(username)NetworkUtilities.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 271 lines
62 /** POST parameter name for the user's account name */ 63 public static final String PARAM_USERNAME = "username"; 64 /** POST parameter name for the user's password */ 97 * Connects to the SampleSync test server, authenticates the provided 98 * username and password. 99 * 99 * 100 * @param username The server account username 101 * @param password The server account password 103 */ 104 public static String authenticate(String username, String password) { 105 107 final ArrayList<NameValuePair> params = new ArrayList<NameValuePair>(); 108 params.add(new BasicNameValuePair(PARAM_USERNAME, username)); 109 params.add(new BasicNameValuePair(PARAM_PASSWORD, password));entities.rb https://gitlab.com/leftathome/gitlab-ee | Ruby | 490 lines
3 class UserSafe < Grape::Entity 4 expose :name, :username 5 end 265 266 expose :author_username do |event, options| 267 if event.author 267 if event.author 268 event.author.username 269 enduser_spec.rb https://gitlab.com/nacredata/gitlab-ee | Ruby | 325 lines
41 before { stub_omniauth_config({ allow_single_sign_on: ['saml'], auto_link_saml_user: true }) } 42 let!(:existing_user) { create(:user, email: 'john@mail.com', username: 'john') } 43 context 'and should bind with SAML' do 196 allow(ldap_user).to receive(:uid) { uid } 197 allow(ldap_user).to receive(:username) { uid } 198 allow(ldap_user).to receive(:email) { %w(john@mail.com john2@example.com) } 208 expect(gl_user).to be_valid 209 expect(gl_user.username).to eql uid 210 expect(gl_user.email).to eql 'john@mail.com' 224 provider: 'ldapmain', 225 username: 'john') 226 end 231 expect(gl_user).to be_valid 232 expect(gl_user.username).to eql 'john' 233 expect(gl_user.email).to eql 'john@mail.com'Pop3.php https://bitbucket.org/baruffaldi/cms-php-bfcms.git | PHP | 461 lines
252 * 253 * @param string $user username 254 * @param string $password passwordhelpers.rb https://gitlab.com/gwhyte/gitlab-ce | Ruby | 434 lines
26 # If the sudo is the current user do nothing 27 if identifier && !(@current_user.id == identifier || @current_user.username == identifier) 28 render_api_error!('403 Forbidden: Must be admin to use sudo', 403) unless @current_user.is_admin? 28 render_api_error!('403 Forbidden: Must be admin to use sudo', 403) unless @current_user.is_admin? 29 @current_user = User.by_username_or_id(identifier) 30 not_found!("No user id or username for: #{identifier}") if @current_user.nil?mis_base_list.html https://gitlab.com/g66shivam/gstudio | HTML | 422 lines
26 {% blocktrans %}<h3>Link user-account to respective user-details</h3> 27 <p>NOTE: Please provide username of the user (i.e. student/voluntary-teacher), that he/she has registered on to the website.</p> 28 {% endblocktrans %} 33 <div class="small-2 small-offset-2 columns"> 34 <label for="link_to" class="inline left">{% trans "Username:" %}</label> 35 </div> 37 <input id="link_to" name="link_to" type="text" required > 38 <small class="error">{% trans "Please fill username!" %}</small> 39 </div> 342 - ObjectId of node (node_id) via POST request 343 - Username entered (username) via POST request 344 357 node_id: link_node_id, 358 username: link_username, 359 csrfmiddlewaretoken: "{{csrf_token}}"SuggestionDialogFragment.java https://gitlab.com/adamlwalker/android-discourse | Java | 201 lines
130 textView = (TextView) view.findViewById(R.id.uv_name); 131 textView.setText(model.getUserName()); 132 189 view.findViewById(R.id.uv_admin_response).setVisibility(View.VISIBLE); 190 ((TextView) view.findViewById(R.id.uv_admin_name)).setText(suggestion.getAdminResponseUserName()); 191 ((TextView) view.findViewById(R.id.uv_response_date)).setText(DateFormat.getDateInstance().format(suggestion.getAdminResponseCreatedAt()));HttpAuthHeader.java https://gitlab.com/AvayKumar/android_frameworks_base | Java | 424 lines
56 * with a new encrypted response, without reprompting the user for a 57 * new username and password. 58 */ 61 /** 62 * A string to be displayed to users so they know which username and 63 * password to use. 102 /** 103 * Username string we get from the user. 104 */ 104 */ 105 private String mUsername; 106 147 */ 148 public void setUsername(String username) { 149 mUsername = username;LoginForm.cs https://bitbucket.org/bborad/rfidmobile.git | C# | 246 lines
64 { 65 Pref.UserName = UsrNameTxtBx.Text.Trim(); 66 Pref.Passwd = PwdTxtBx.Text.Trim(); 195 196 if (Pref.UserName == null || Pref.UserName.Length == 0) 197 return true; 197 return true; 198 if (String.Compare(Pref.UserName, UsrNameTxtBx.Text, true) != 0) 199 { 239 240 UsrNameTxtBx.Text = Pref.UserName; 241 PwdTxtBx.Text = Pref.Passwd;Ldap.php https://bitbucket.org/baruffaldi/cms-php-bfcms.git | PHP | 296 lines
69 * @param array $options An array of arrays of Zend_Ldap options 70 * @param string $username The username of the account being authenticated 71 * @param string $password The password of the account being authenticated 121 * 122 * @param string $username The username for binding 123 * @return Zend_Auth_Adapter_Ldap Provides a fluent interface 124 */ 125 public function setUsername($username) 126 { 126 { 127 $this->_username = (string) $username; 128 return $this; 187 188 $username = $this->_username; 189 $password = $this->_password;api_helpers_spec.rb https://gitlab.com/sacuiu.andy/gitlab-ce | Ruby | 264 lines
108 expect(current_user).to eq(user) 109 set_env(admin, user.username) 110 expect(current_user).to eq(user) 119 expect { current_user }.to raise_error(Exception) 120 set_env(user, admin.username) 121 expect { current_user }.to raise_error(Exception) 121 expect { current_user }.to raise_error(Exception) 122 set_param(user, admin.username) 123 expect { current_user }.to raise_error(Exception) 137 it "throws an error when the user cannot be found for a given username" do 138 username = "#{user.username}#{admin.username}" 139 expect(user.username).not_to eq(username) 139 expect(user.username).not_to eq(username) 140 expect(admin.username).not_to eq(username) 141 set_env(admin, username)mssql_driver.php https://gitlab.com/relacilia/cakra | PHP | 517 lines
111 $this->conn_id = ($persistent) 112 ? mssql_pconnect($this->hostname, $this->username, $this->password) 113 : mssql_connect($this->hostname, $this->username, $this->password);Configuration.php https://gitlab.com/freebird/WebApp | PHP | 270 lines
54 ->booleanNode('use_listener')->defaultTrue()->end() 55 ->booleanNode('use_username_form_type')->defaultTrue()->end() 56 ->arrayNode('from_email') 223 ->scalarNode('token_generator')->defaultValue('fos_user.util.token_generator.default')->end() 224 ->scalarNode('username_canonicalizer')->defaultValue('fos_user.util.canonicalizer.default')->end() 225 ->scalarNode('user_manager')->defaultValue('fos_user.user_manager.default')->end()finder_methods.rb https://github.com/Granit/Contactbook.git | Ruby | 355 lines
23 # 24 # * <tt>:conditions</tt> - An SQL fragment like "administrator = 1", <tt>[ "user_name = ?", username ]</tt>, 25 # or <tt>["user_name = :user_name", { :user_name => user_name }]</tt>. See conditions in the intro.class-wp-filesystem-ftpext.php https://gitlab.com/hop23typhu/bryepoxy | PHP | 610 lines
51 if ( empty($opt['username']) ) 52 $this->errors->add('empty_username', __('FTP username is required')); 53 else 53 else 54 $this->options['username'] = $opt['username']; 55 86 87 if ( ! @ftp_login( $this->link,$this->options['username'], $this->options['password'] ) ) { 88 $this->errors->add( 'auth', 88 $this->errors->add( 'auth', 89 /* translators: %s: username */ 90 sprintf( __( 'Username/Password incorrect for %s' ), 90 sprintf( __( 'Username/Password incorrect for %s' ), 91 $this->options['username'] 92 )client.go https://gitlab.com/unofficial-mirrors/kubernetes | Go | 483 lines
75 TLSConfig *tls.Config 76 username string 77 secret string 141 142// SetAuth sets the API username and secret to be used for all API requests. 143// It should not be called concurrently with any other Client methods. 143// It should not be called concurrently with any other Client methods. 144func (c *Client) SetAuth(username string, secret string) { 145 if username != "" { 145 if username != "" { 146 c.username = username 147 } 262 } 263 if c.username != "" && c.secret != "" { 264 req.SetBasicAuth(c.username, c.secret)im_livechat_channel.py https://gitlab.com/thanhchatvn/cloud-odoo | Python | 258 lines
195 @api.model 196 def get_livechat_info(self, channel_id, username='Visitor'): 197 info = {} 201 info['options'] = self.sudo().get_channel_infos(channel_id) 202 info['options']["default_username"] = username 203 return info 206 @api.model 207 def match_rules(self, request, channel_id, username='Visitor'): 208 passaward_emoji_spec.rb https://gitlab.com/certik/gitlab-ce | Ruby | 315 lines
154 expect(json_response['name']).to eq('blowfish') 155 expect(json_response['user']['username']).to eq(user.username) 156 end 200 expect(json_response['name']).to eq('blowfish') 201 expect(json_response['user']['username']).to eq(user.username) 202 end 214 expect(response).to have_http_status(201) 215 expect(json_response['user']['username']).to eq(user.username) 216 endvisual_tokens_spec.rb https://gitlab.com/certik/gitlab-ce | Ruby | 356 lines
7 let!(:project) { create(:project) } 8 let!(:user) { create(:user, name: 'administrator', username: 'root') } 9 let!(:user_rock) { create(:user, name: 'The Rock', username: 'rock') } 71 before do 72 filter_author_dropdown.find('.filter-dropdown-item .dropdown-light-content', text: "@#{user_rock.username}").click 73 endclient.py https://gitlab.com/tpedar/plaid-python | Python | 452 lines
155 `login` dict 156 `username` str username for the bank account 157 `password` str The password for the bank account 259 `login` dict 260 `username` str username for the bank account 261 `password` str The password for the bank account 308 `login` dict 309 `username` str username for the bank account 310 `password` str The password for the bank accountAbstractFtpAdapter.php https://gitlab.com/techniconline/kmc | PHP | 613 lines
29 */ 30 protected $username; 31 216 /** 217 * Returns the ftp username. 218 * 222 { 223 return empty($this->username) ? 'anonymous' : $this->username; 224 } 232 */ 233 public function setUsername($username) 234 { 234 { 235 $this->username = $username; 236configuration.html https://gitlab.com/bipsahu/ptcs | HTML | 164 lines
62 63<p>CodeIgniter has a config file that lets you store your database connection values (username, password, database name, etc.). 64The config file is located at <samp>application/config/database.php</samp>. You can also set database connection values for specific <a href="../libraries/config.html">environments</a> by placing <strong>database.php</strong> it the respective environment config folder.</p> 68<code>$db['default']['hostname'] = "localhost";<br /> 69$db['default']['username'] = "root";<br /> 70$db['default']['password'] = "";<br /> 89<code>$db['test']['hostname'] = "localhost";<br /> 90$db['test']['username'] = "root";<br /> 91$db['test']['password'] = "";<br /> 124<li><strong>hostname</strong> - The hostname of your database server. Often this is "localhost".</li> 125<li><strong>username</strong> - The username used to connect to the database.</li> 126<li><strong>password</strong> - The password used to connect to the database.</li> 142<p class="important"><strong>Note:</strong> Depending on what database platform you are using (MySQL, Postgres, etc.) 143not all values will be needed. For example, when using SQLite you will not need to supply a username or password, and 144the database name will be the path to your database file. The information above assumes you are using MySQL.</p>Controller.php https://gitlab.com/campus-academy/krowkaramel | PHP | 439 lines
121 $customer = new \WC_Customer( $data['user_id'] ); 122 $response->data['username'] = $customer->get_username(); 123 $response->data['order_number'] = $this->get_order_number( $data['order_id'] ); 224 ), 225 'username' => array( 226 'type' => 'string', 297 $params['match'] = array( 298 'description' => __( 'Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: products, orders, username, ip_address.', 'woocommerce' ), 299 'type' => 'string', 422 'order_number' => $item['order_number'], 423 'user_id' => $item['username'], 424 'ip_address' => $item['ip_address'],users.md https://gitlab.com/haleksandre/gitlab-ce | Markdown | 622 lines
77 "id": 2, 78 "username": "jack_smith", 79 "email": "jack@example.com", 106 107You can search for users by email or username with: `/users?search=John` 108 111``` 112GET /users?username=:username 113``` 210- `password` (required) - Password 211- `username` (required) - Username 212- `name` (required) - Name 237- `email` - Email 238- `username` - Username 239- `name` - Namemasktest.c https://gitlab.com/envieidoc/advancedtomato2 | C | 544 lines
23static fstring password; 24static fstring username; 25static int got_pass; 229 230 if (!NT_STATUS_IS_OK(cli_session_setup(c, username, 231 password, strlen(password), 468 if (getenv("USER")) { 469 fstrcpy(username,getenv("USER")); 470 } 494 case 'U': 495 fstrcpy(username,optarg); 496 p = strchr_m(username,'%');SpecialNewpages.php https://github.com/sunnysujan/wikireader.git | PHP | 474 lines
166 $namespace = $this->opts->consumeValue( 'namespace' ); 167 $username = $this->opts->consumeValue( 'username' ); 168 206 <td class='mw-label'>" . 207 Xml::label( wfMsg( 'newpages-username' ), 'mw-np-username' ) . 208 "</td> 209 <td class='mw-input'>" . 210 Xml::input( 'username', 30, $userText, array( 'id' => 'mw-np-username' ) ) . 211 "</td> 235 'namespace' => $this->opts->getValue( 'namespace' ), 236 'username' => $this->opts->getValue( 'username' ) 237 ); 395 396 $username = $this->opts->getValue( 'username' ); 397 $user = Title::makeTitleSafe( NS_USER, $username );remote-ext.h https://bitbucket.org/minux/freertos.git | C Header | 444 lines
305/*! 306 \brief It defines the username/password authentication. 307 307 308 With this type of authentication, the RPCAP protocol will use the username/ 309 password provided to authenticate the user on the remote machine. If the 330 to the information provided. 331 In case the NULL authentication is required, both 'username' and 332 'password' can be NULL pointers. 350 /*! 351 \brief Zero-terminated string containing the username that has to be 352 used on the remote machine for authentication. 356 */ 357 char *username; 358 /*!active-directory-saas-flatter-files-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 331 lines
91For single sign-on to work, Azure AD needs to know what the counterpart user in Flatter Files to an user in Azure AD is. In other words, a link relationship between an Azure AD user and the related user in Flatter Files needs to be established. 92This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in Flatter Files. 93adodb-ado.inc.php https://bitbucket.org/astawiarski/openemr.git | PHP | 589 lines
53 // $DB->Connect('USER ID=sa;PASSWORD=pwd;SERVER=mangrove;DATABASE=ai',false,false,'SQLOLEDB'); 54 function _connect($argHostname, $argUsername, $argPassword, $argProvider= 'MSDASQL') 55 { 74 75 //use trusted conection for SQL if username not specified 76 if (!$argUsername) $argHostname .= ";Trusted_Connection=Yes"; 81 82 if ($argUsername) $argHostname .= ";$u=$argUsername"; 83 if ($argPassword)$argHostname .= ";$p=$argPassword"; 95 // returns true or false 96 function _pconnect($argHostname, $argUsername, $argPassword, $argProvider='MSDASQL') 97 { 97 { 98 return $this->_connect($argHostname,$argUsername,$argPassword,$argProvider); 99 }views.py https://github.com/theosp/google_appengine.git | Python | 295 lines
134 response = self.client.post('/login/', { 135 'username': 'testclient', 136 'password': password 143 response = self.client.post('/login/', { 144 'username': 'testclient', 145 'password': password 148 self.assertEquals(response.status_code, 200) 149 self.assert_("Please enter a correct username and password. Note that both fields are case-sensitive." in response.content) 150 217 response = self.client.post(nasty_url, { 218 'username': 'testclient', 219 'password': password, 234 response = self.client.post(safe_url, { 235 'username': 'testclient', 236 'password': password,DroidSSHd.java https://gitlab.com/Geofferey/droidsshd-test | Java | 456 lines
52 private EditText status_ip_address; 53 private EditText status_username; 54 private EditText status_tcp_port; 147 status_ip_address = (EditText) findViewById(R.id.status_ip_address); 148 status_username = (EditText) findViewById(R.id.status_username); 149 status_tcp_port = (EditText) findViewById(R.id.status_tcp_port); 210 status_ip_address.setText(tmp); 211 status_username.setText(Base.getUsername()); 212 status_tcp_port.setText(String.valueOf(Base.getDaemonPort()));active-directory-saas-sd-elements-tutorial.md https://gitlab.com/yeah568/azure-content | Markdown | 362 lines
92For single sign-on to work, Azure AD needs to know what the counterpart user in SD Elements to an user in Azure AD is. In other words, a link relationship between an Azure AD user and the related user in SD Elements needs to be established. 93This link relationship is established by assigning the value of the **user name** in Azure AD as the value of the **Username** in SD Elements. 94Abstract.php https://bitbucket.org/acidel/buykoala.git | PHP | 401 lines
64 65 // don't pass the username, password, charset, persistent and driver_options in the DSN 66 unset($dsn['username']); 125 $dsn, 126 $this->_config['username'], 127 $this->_config['password'],TextureCache.cpp https://gitlab.com/nghia-n-v2007/xbmc | C++ | 331 lines
101{ 102 return (url.GetUserName().empty() || url.GetUserName() == "music"); 103}