PageRenderTime 3333ms queryTime 376ms sortTime 889ms getByIdsTime 361ms findMatchingLines 133ms

100+ results results for 'username repo:Graylog2/graylog2-server' (3333 ms)

Not the results you expected?
HttpDownloader.java https://gitlab.com/jnettome/AntennaPod | Java | 306 lines
                    
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);
                    
                
sqlsrv_driver.php https://gitlab.com/lisit1003/TTPHPServer | 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.
                    
                
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);
                    
                
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.
                    
42
                    
                
active-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.
                    
76
                    
                
active-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.
                    
93 
                    
                
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']);
                    
                
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.
                    
                
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 those
                    
                
ongage-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_2 | 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 = secret
                    
                
class-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: true
                    
                
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 ' + token
                    
                
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
                    
457
                    
                
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.
                    
92
                    
                
active-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.
                    
93
                    
                
active-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.
                    
93 
                    
                
ApplicationDbContext.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     */
                    
                
active-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).
                    
279
                    
                
Nirvanix.php https://bitbucket.org/kdms/sh-magento.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)
                    
                
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|
                    
                
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			}
                    
                
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 functions
                    
                
MemberBlogController.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/tomato | 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_2 | 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 ]
                    
33
                    
                
ql4_glbl.h https://gitlab.com/karrei/inel-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);
                    
                
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}
                    
                
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;
                    
                
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        end
                    
                
user_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  password
                    
                
helpers.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?
                    
                
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 with
                    
                
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()
                    
                
index.cshtml https://bitbucket.org/v_jli/jean0306case1346.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">
                    
                
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        pass
                    
                
award_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    end
                    
                
visual_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      end
                    
                
client.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 account
                    
                
AbstractFtpAdapter.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;
                    
236
                    
                
configuration.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`                        - Name
                    
                
masktest.c https://gitlab.com/envieidoc/tomato | 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,'%');
                    
                
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.
                    
93 
                    
                
adodb-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	}	
                    
                
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.
                    
94
                    
                
TextureCache.cpp https://gitlab.com/nghia-n-v2007/xbmc | C++ | 331 lines
                    
101{
                    
102  return (url.GetUserName().empty() || url.GetUserName() == "music");
                    
103}
                    
                
sqlsrv_driver.php https://gitlab.com/devdoblea/factutextil.local | PHP | 543 lines
                    
127		$connection = array(
                    
128			'UID'			=> empty($this->username) ? '' : $this->username,
                    
129			'PWD'			=> empty($this->password) ? '' : $this->password,
                    
136
                    
137		// If the username and password are both empty, assume this is a
                    
138		// 'Windows Authentication Mode' connection.
                    
                
softlayer.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 474 lines
                    
168            'authenticate': {
                    
169                'username': self.user_id,
                    
170                'apiKey': self.key
                    
                
blogpost.php https://gitlab.com/alexprowars/bitrix | PHP | 516 lines
                    
198		$destData = ($params['DEST_DATA'] ?? []);
                    
199		$invitedUserName = ($params['INVITED_USER_NAME'] ?? []);
                    
200		$invitedUserLastName = ($params['INVITED_USER_LAST_NAME'] ?? []);
                    
318			'SONET_PERMS' => $sonetPermsListNew,
                    
319			'INVITED_USER_NAME' => $invitedUserName,
                    
320			'INVITED_USER_LAST_NAME' => $invitedUserLastName,
                    
                
blog_user.php https://gitlab.com/alexprowars/bitrix | PHP | 433 lines
                    
110					"PERMISSIONS" => array(2),
                    
111					"TITLE" => CBlogUser::GetUserName($arBlogUser["ALIAS"], $arUser["NAME"], $arUser["LAST_NAME"], $arUser["LOGIN"], $arUser["SECOND_NAME"]),
                    
112					"BODY" => blogTextParser::killAllTags($arBlogUser["INTERESTS"]." ".$arBlogUser["DESCRIPTION"])
                    
233					"PERMISSIONS" => array(2),
                    
234					"TITLE" => CBlogUser::GetUserName($arBlogUser["ALIAS"], $arUser["NAME"], $arUser["LAST_NAME"], $arUser["LOGIN"], $arUser["SECOND_NAME"]),
                    
235					"BODY" => blogTextParser::killAllTags($arBlogUser["INTERESTS"]." ".$arBlogUser["DESCRIPTION"])
                    
                
client.go https://gitlab.com/lirao/azure-sdk-for-go | Go | 487 lines
                    
190	if u := req.URL.User; u != nil {
                    
191		username := u.Username()
                    
192		password, _ := u.Password()
                    
192		password, _ := u.Password()
                    
193		req.Header.Set("Authorization", "Basic "+basicAuth(username, password))
                    
194	}
                    
209// It is not meant to be urlencoded.
                    
210func basicAuth(username, password string) string {
                    
211	auth := username + ":" + password
                    
                
connectors-create-api-twitter.md https://gitlab.com/yeah568/azure-content | Markdown | 326 lines
                    
139| ---|---|---|---|---|---|
                    
140|userName|string|yes|query|none|Twitter handle of the user|
                    
141
                    
159| ---|---|---|---|---|---|
                    
160|userName|string|yes|query|none|Twitter handle|
                    
161|maxResults|integer|no|query|20|Maximum number of tweets to retrieve|
                    
201| ---|---|---|---|---|---|
                    
202|userName|string|yes|query|none|Twitter handle of the user|
                    
203|maxResults|integer|no|query|20|Maximum number of users to retrieve|
                    
242| ---|---|---|---|---|---|
                    
243|userName|string|yes|query|none|Twitter handle of the user|
                    
244|maxResults|integer|no|query|20|Maximum number of users to retrieve|
                    
297|Id|integer|no|
                    
298|UserName|string|yes|
                    
299|FollowersCount|integer|no|
                    
                
jira_service.rb https://gitlab.com/certik/gitlab-ce | Ruby | 315 lines
                    
6
                    
7  prop_accessor :username, :password, :url, :api_url, :jira_issue_transition_id, :title, :description
                    
8
                    
40    {
                    
41      username: self.username,
                    
42      password: self.password,
                    
84      { type: 'text', name: 'api_url', title: 'JIRA API URL', placeholder: 'If different from Web URL' },
                    
85      { type: 'text', name: 'username', placeholder: '', required: true },
                    
86      { type: 'password', name: 'password', placeholder: '', required: true },
                    
157  def disabled_title
                    
158    "Please fill in Password and Username."
                    
159  end
                    
                
sorcery.rb https://gitlab.com/intercity/intercity-next | Ruby | 463 lines
                    
133  # config.google.callback_url = "http://0.0.0.0:3000/oauth/callback?provider=google"
                    
134  # config.google.user_info_mapping = {:email => "email", :username => "name"}
                    
135  #
                    
147  # config.liveid.callback_url = "http://mydomain.com:3000/oauth/callback?provider=liveid"
                    
148  # config.liveid.user_info_mapping = {:username => "name"}
                    
149
                    
176    # -- core --
                    
177    # specify username attributes, for example: [:username, :email].
                    
178    # Default: `[:email]`
                    
179    #
                    
180    # user.username_attribute_names =
                    
181
                    
188
                    
189    # downcase the username before trying to authenticate, default is false
                    
190    # Default: `false`
                    
                
admin_users_spec.rb https://gitlab.com/habukagumba/gitlab-ce | Ruby | 510 lines
                    
75      fill_in "user_name", with: "Big Bang"
                    
76      fill_in "user_username", with: user_username
                    
77      fill_in "user_email", with: "bigbang@mail.com"
                    
94      click_button "Create user"
                    
95      user = User.find_by(username: 'bang')
                    
96      expect(user.name).to eq('Big Bang')
                    
110
                    
111      user = User.find_by(username: 'bang')
                    
112      email = ActionMailer::Base.deliveries.last
                    
124        expect(page).to have_content('The form contains the following error')
                    
125        expect(page).to have_content('Username can contain only letters, digits')
                    
126      end
                    
223        it 'logs in as the user when impersonate is clicked' do
                    
224          expect(page.find(:css, '.header-user .profile-link')['data-user']).to eql(another_user.username)
                    
225        end
                    
                
Crashlytics.h https://gitlab.com/yangle1111/knoware | C Header | 263 lines
                    
96 *
                    
97 *  Optionally, you may also specify the end-user's name or username, as well as email address if you
                    
98 *  do not have a system that works well with obscured identifiers.
                    
115 */
                    
116- (void)setUserName:(nullable NSString *)name;
                    
117
                    
128+ (void)setUserIdentifier:(nullable NSString *)identifier CLS_DEPRECATED("Please access this method via +sharedInstance");
                    
129+ (void)setUserName:(nullable NSString *)name CLS_DEPRECATED("Please access this method via +sharedInstance");
                    
130+ (void)setUserEmail:(nullable NSString *)email CLS_DEPRECATED("Please access this method via +sharedInstance");
                    
                
README.md https://gitlab.com/koyaan/gitlab-ce | Markdown | 365 lines
                    
164provided your private token is from an administrator account. You need to pass
                    
165the `sudo` parameter either via query string or a header with an ID/username of
                    
166the user you want to perform the operation as. If passed as a header, the
                    
177
                    
178If the sudo user ID or username cannot be found, an error message will be
                    
179returned with status code `404`:
                    
182{
                    
183  "message": "404 Not Found: No user id or username for: <id/username>"
                    
184}
                    
189Example of a valid API call and a request using cURL with sudo request,
                    
190providing a username:
                    
191
                    
192```shell
                    
193GET /projects?private_token=9koXpg98eAheJpvBs5tK&sudo=username
                    
194```
                    
                
conn.cc https://gitlab.com/netsphere/daemonshogi | C++ | 555 lines
                    
128
                    
129static string username, password;
                    
130extern int network_game_start;
                    
137
                    
138  string s = "LOGIN:" + username + " OK";
                    
139  if (recv_list.front() == s) {
                    
139  if (recv_list.front() == s) {
                    
140    network_log_append_message("%s login ok.\n", username.c_str());
                    
141    recv_list.pop_front();
                    
145  else {
                    
146    network_log_append_message("'%s' fail login.\n", username.c_str());
                    
147    network_game_start = -1;
                    
489{
                    
490  username = username_; password = password_;
                    
491  char buf[1000];
                    
                
multi-factor-authentication-get-started-server-webservice.md https://gitlab.com/yeah568/azure-content | Markdown | 91 lines
                    
53
                    
54- If the Azure Multi-Factor Authentication User Portal is already installed on the Internet-facing server, the username, password and URL to the Web Service SDK can be copied from the User Portal’s web.config file. 
                    
55- It is helpful to open a web browser on the Internet-facing web server and navigate to the URL of the Web Service SDK that was entered into the web.config file. If the browser can get to the web service successfully, it should prompt you for credentials. Enter the username and password that were entered into the web.config file exactly as it appears in the file. Ensure that no certificate warnings or errors are displayed.
                    
68
                    
69<li>Locate the WEB_SERVICE_SDK_AUTHENTICATION_USERNAME and WEB_SERVICE_SDK_AUTHENTICATION_PASSWORD keys and set the values to the username and password of the service account that is a member of the PhoneFactor Admins security group (see the Requirements section above). This may be the same account being used as the Identity of the Azure Multi-Factor Authentication User Portal if that has been previously installed. Be sure to enter the Username and Password in between the quotation marks at the end of the line, (value=””/>). It is recommended to use a qualified username (e.g. domain\username or machine\username).</li>  
                    
70
                    
                
Scoreboard.java https://gitlab.com/Hexeption/Thx | Java | 525 lines
                    
98     */
                    
99    public Score getOrCreateScore(String username, ScoreObjective objective)
                    
100    {
                    
100    {
                    
101        if (username.length() > 40)
                    
102        {
                    
102        {
                    
103            throw new IllegalArgumentException("The player name \'" + username + "\' is too long!");
                    
104        }
                    
106        {
                    
107            Map<ScoreObjective, Score> map = (Map)this.entitiesScoreObjectives.get(username);
                    
108
                    
111                map = Maps.<ScoreObjective, Score>newHashMap();
                    
112                this.entitiesScoreObjectives.put(username, map);
                    
113            }
                    
                
Site.css https://gitlab.com/daniel0422/timesheet | CSS | 735 lines
                    
141
                    
142    #login a.username {
                    
143        background: none;
                    
                
swift.php https://gitlab.com/wuhang2003/core | PHP | 599 lines
                    
124		) {
                    
125			throw new \Exception("API Key or password, Username, Bucket and Region have to be configured.");
                    
126		}
                    
500		$settings = array(
                    
501			'username' => $this->params['user'],
                    
502		);
                    
                
project_wiki_spec.rb https://gitlab.com/alexsanford/gitlab-ce | Ruby | 308 lines
                    
40    context 'when no user is given' do
                    
41      it 'returns the url to the repo without a username' do
                    
42        expected_url = "#{Gitlab.config.gitlab.url}/#{subject.path_with_namespace}.git"
                    
49    context 'when user is given' do
                    
50      it 'returns the url to the repo with the username' do
                    
51        user = build_stubbed(:user)
                    
52
                    
53        expect(project_wiki.http_url_to_repo(user)).to start_with("http://#{user.username}@")
                    
54      end
                    
                
DocumentObjectTreeModel.cpp https://gitlab.com/chgans/LibreEDA | C++ | 327 lines
                    
163                case NameColumn:
                    
164                    return item->objectUserName();
                    
165                default:
                    
227
                    
228    d->object(index)->setObjectUserName(value.toString());
                    
229
                    
                
order_form.php https://gitlab.com/alexprowars/bitrix | PHP | 273 lines
                    
67						{
                    
68							$userName = $arOrderProps["F_NAME"];
                    
69						}
                    
72							if($arParams["BUYER_COMPANY_NAME"] <> '')
                    
73								$userName = $arParams["BUYER_COMPANY_NAME"];
                    
74							else
                    
74							else
                    
75								$userName = $arParams["BUYER_LAST_NAME"]." ".$arParams["BUYER_FIRST_NAME"]." ".$arParams["BUYER_SECOND_NAME"];
                    
76						}?>
                    
76						}?>
                    
77						<input class="user" size="50" style="border:0px solid #000000;" type="text" value="<?=$userName?>	">
                    
78					</td>
                    
                
update_service_spec.rb https://gitlab.com/vino.v/gitlab-ee | Ruby | 374 lines
                    
84        expect(note).not_to be_nil
                    
85        expect(note.note).to include "Reassigned to \@#{user2.username}"
                    
86      end
                    
                
actions_spec.js https://gitlab.com/523/gitlab-ce | JavaScript | 484 lines
                    
86      originalGon = window.gon;
                    
87      window.gon = { current_username: 'johndoe' };
                    
88
                    
                
 

Source

Language