Home
last modified time | relevance | path

Searched refs:credentials (Results 1 – 25 of 130) sorted by relevance

123456

/external/dbus/dbus/
Ddbus-credentials.c116 _dbus_credentials_ref (DBusCredentials *credentials) in _dbus_credentials_ref() argument
118 _dbus_assert (credentials->refcount > 0); in _dbus_credentials_ref()
119 credentials->refcount += 1; in _dbus_credentials_ref()
128 _dbus_credentials_unref (DBusCredentials *credentials) in _dbus_credentials_unref() argument
130 _dbus_assert (credentials->refcount > 0); in _dbus_credentials_unref()
132 credentials->refcount -= 1; in _dbus_credentials_unref()
133 if (credentials->refcount == 0) in _dbus_credentials_unref()
135 dbus_free (credentials->windows_sid); in _dbus_credentials_unref()
136 dbus_free (credentials->adt_audit_data); in _dbus_credentials_unref()
137 dbus_free (credentials); in _dbus_credentials_unref()
[all …]
Ddbus-credentials.h42 void _dbus_credentials_ref (DBusCredentials *credentials);
43 void _dbus_credentials_unref (DBusCredentials *credentials);
44 dbus_bool_t _dbus_credentials_add_unix_pid (DBusCredentials *credentials,
46 dbus_bool_t _dbus_credentials_add_unix_uid (DBusCredentials *credentials,
48 dbus_bool_t _dbus_credentials_add_windows_sid (DBusCredentials *credentials,
50 dbus_bool_t _dbus_credentials_add_adt_audit_data (DBusCredentials *credentials,
53 dbus_bool_t _dbus_credentials_include (DBusCredentials *credentials,
55 dbus_pid_t _dbus_credentials_get_unix_pid (DBusCredentials *credentials);
56 dbus_uid_t _dbus_credentials_get_unix_uid (DBusCredentials *credentials);
57 const char* _dbus_credentials_get_windows_sid (DBusCredentials *credentials);
[all …]
Ddbus-credentials-util.c46 DBusCredentials *credentials; in make_credentials() local
48 credentials = _dbus_credentials_new (); in make_credentials()
52 if (!_dbus_credentials_add_unix_uid (credentials, unix_uid)) in make_credentials()
54 _dbus_credentials_unref (credentials); in make_credentials()
61 if (!_dbus_credentials_add_unix_pid (credentials, unix_pid)) in make_credentials()
63 _dbus_credentials_unref (credentials); in make_credentials()
70 if (!_dbus_credentials_add_windows_sid (credentials, windows_sid)) in make_credentials()
72 _dbus_credentials_unref (credentials); in make_credentials()
77 return credentials; in make_credentials()
Ddbus-keyring.c119 DBusCredentials *credentials; /**< Credentials containing user the keyring is for */ member
689 if (keyring->credentials) in _dbus_keyring_unref()
690 _dbus_credentials_unref (keyring->credentials); in _dbus_keyring_unref()
711 _dbus_keyring_new_for_credentials (DBusCredentials *credentials, in _dbus_keyring_new_for_credentials() argument
733 if (credentials != NULL) in _dbus_keyring_new_for_credentials()
735 our_credentials = _dbus_credentials_copy (credentials); in _dbus_keyring_new_for_credentials()
759 _dbus_assert (keyring->credentials == NULL); in _dbus_keyring_new_for_credentials()
760 keyring->credentials = our_credentials; in _dbus_keyring_new_for_credentials()
984 DBusCredentials *credentials) in _dbus_keyring_is_for_credentials() argument
986 return _dbus_credentials_same_user (keyring->credentials, in _dbus_keyring_is_for_credentials()
[all …]
Ddbus-keyring.h35 DBusKeyring* _dbus_keyring_new_for_credentials (DBusCredentials *credentials,
44 DBusCredentials *credentials);
/external/chromium/chrome/browser/password_manager/
Dpassword_form_manager_unittest.cc78 PasswordForm credentials = *observed_form(); in TEST_F() local
79 credentials.username_value = saved_match()->username_value; in TEST_F()
80 credentials.password_value = saved_match()->password_value; in TEST_F()
81 credentials.preferred = true; in TEST_F()
82 manager->ProvisionallySave(credentials); in TEST_F()
106 credentials.username_value = new_user; in TEST_F()
107 credentials.password_value = new_pass; in TEST_F()
108 manager->ProvisionallySave(credentials); in TEST_F()
139 PasswordForm credentials = *observed_form(); in TEST_F() local
140 credentials.username_value = saved_match()->username_value; in TEST_F()
[all …]
Dpassword_form_manager.cc154 void PasswordFormManager::ProvisionallySave(const PasswordForm& credentials) { in ProvisionallySave() argument
156 DCHECK(DoesManage(credentials)); in ProvisionallySave()
163 best_matches_.find(credentials.username_value); in ProvisionallySave()
175 if (pending_credentials_.password_value != credentials.password_value) in ProvisionallySave()
181 pending_credentials_.username_value = credentials.username_value; in ProvisionallySave()
184 pending_credentials_.password_value = credentials.password_value; in ProvisionallySave()
185 pending_credentials_.preferred = credentials.preferred; in ProvisionallySave()
/external/webkit/Tools/Scripts/webkitpy/common/net/
Dcredentials_unittest.py34 from webkitpy.common.net.credentials import Credentials
85 credentials = FakeCredentials("bugs.webkit.org")
86 self.assertEqual(credentials._is_mac_os_x(), False)
87 self.assertEqual(credentials._credentials_from_keychain("foo"), ["foo", None])
90 credentials = Credentials("bugs.webkit.org")
91 …self.assertEqual(credentials._parse_security_tool_output(self.example_security_output), ["test@web…
94 credentials = Credentials("foo.example.com")
95 if not credentials._is_mac_os_x():
102 self.assertEqual(credentials._run_security_tool(), None)
107 credentials = Credentials("example.com", executive=executive_mock)
[all …]
/external/apache-http/src/org/apache/http/auth/
DAuthState.java51 private Credentials credentials; field in AuthState
67 this.credentials = null; in invalidate()
103 return this.credentials; in getCredentials()
112 public void setCredentials(final Credentials credentials) { in setCredentials() argument
113 this.credentials = credentials; in setCredentials()
142 buffer.append(this.credentials != null ? "true" : "false"); in toString()
/external/apache-http/src/org/apache/http/impl/auth/
DBasicScheme.java131 final Credentials credentials, in authenticate() argument
134 if (credentials == null) { in authenticate()
142 return authenticate(credentials, charset, isProxy()); in authenticate()
155 final Credentials credentials, in authenticate() argument
158 if (credentials == null) { in authenticate()
166 tmp.append(credentials.getUserPrincipal().getName()); in authenticate()
168 tmp.append((credentials.getPassword() == null) ? "null" : credentials.getPassword()); in authenticate()
DDigestScheme.java220 final Credentials credentials, in authenticate() argument
223 if (credentials == null) { in authenticate()
238 String digest = createDigest(credentials); in authenticate()
239 return createDigestHeader(credentials, digest); in authenticate()
260 private String createDigest(final Credentials credentials) throws AuthenticationException { in createDigest() argument
293 String uname = credentials.getUserPrincipal().getName(); in createDigest()
294 String pwd = credentials.getPassword(); in createDigest()
382 final Credentials credentials, in createDigestHeader() argument
400 String uname = credentials.getUserPrincipal().getName(); in createDigestHeader()
/external/chromium/chrome/browser/chromeos/login/
Dmock_login_status_consumer.h46 const GaiaAuthConsumer::ClientLoginResult& credentials, in OnSuccessQuit() argument
54 const GaiaAuthConsumer::ClientLoginResult& credentials, in OnSuccessQuitAndFail() argument
72 const GaiaAuthConsumer::ClientLoginResult& credentials) { in OnMigrateQuit() argument
77 const GaiaAuthConsumer::ClientLoginResult& credentials) { in OnMigrateQuitAndFail() argument
Dmock_authenticator.h65 void OnLoginSuccess(const GaiaAuthConsumer::ClientLoginResult& credentials, in OnLoginSuccess() argument
71 credentials, in OnLoginSuccess()
84 const GaiaAuthConsumer::ClientLoginResult& credentials) {} in RecoverEncryptedData() argument
87 const GaiaAuthConsumer::ClientLoginResult& credentials) {} in ResyncEncryptedData() argument
141 const GaiaAuthConsumer::ClientLoginResult& credentials) { in FetchCookies() argument
146 const GaiaAuthConsumer::ClientLoginResult& credentials) { in FetchTokens() argument
Dgoogle_authenticator.cc180 const GaiaAuthConsumer::ClientLoginResult& credentials) { in OnClientLoginSuccess() argument
202 credentials, false)); in OnClientLoginSuccess()
273 const GaiaAuthConsumer::ClientLoginResult& credentials, in OnLoginSuccess() argument
291 credentials, in OnLoginSuccess()
295 consumer_->OnPasswordChangeDetected(credentials); in OnLoginSuccess()
361 const GaiaAuthConsumer::ClientLoginResult& credentials) { in RecoverEncryptedData() argument
367 OnLoginSuccess(credentials, false); in RecoverEncryptedData()
371 consumer_->OnPasswordChangeDetected(credentials); in RecoverEncryptedData()
375 const GaiaAuthConsumer::ClientLoginResult& credentials) { in ResyncEncryptedData() argument
378 OnLoginSuccess(credentials, false); in ResyncEncryptedData()
Dauthenticator.h58 const GaiaAuthConsumer::ClientLoginResult& credentials,
74 const GaiaAuthConsumer::ClientLoginResult& credentials) = 0;
80 const GaiaAuthConsumer::ClientLoginResult& credentials) = 0;
Donline_attempt.cc56 const GaiaAuthConsumer::ClientLoginResult& credentials) { in OnClientLoginSuccess() argument
77 TriggerResolve(credentials, LoginFailure::None()); in OnClientLoginSuccess()
152 const GaiaAuthConsumer::ClientLoginResult& credentials, in TriggerResolve() argument
154 attempt_->RecordOnlineLoginStatus(credentials, outcome); in TriggerResolve()
Dlogin_utils.cc116 const GaiaAuthConsumer::ClientLoginResult& credentials,
139 const GaiaAuthConsumer::ClientLoginResult& credentials);
144 const GaiaAuthConsumer::ClientLoginResult& credentials);
210 const GaiaAuthConsumer::ClientLoginResult& credentials, in PrepareProfile() argument
232 credentials_ = credentials; in PrepareProfile()
351 const GaiaAuthConsumer::ClientLoginResult& credentials) { in FetchCookies() argument
358 cf->AttemptFetch(credentials.data); in FetchCookies()
364 const GaiaAuthConsumer::ClientLoginResult& credentials) { in FetchTokens() argument
366 token_service->UpdateCredentials(credentials); in FetchTokens()
Dlogin_utils.h54 const GaiaAuthConsumer::ClientLoginResult& credentials,
78 const GaiaAuthConsumer::ClientLoginResult& credentials) = 0;
83 const GaiaAuthConsumer::ClientLoginResult& credentials) = 0;
Dparallel_authenticator.h127 void OnLoginSuccess(const GaiaAuthConsumer::ClientLoginResult& credentials,
131 const GaiaAuthConsumer::ClientLoginResult& credentials);
136 const GaiaAuthConsumer::ClientLoginResult& credentials);
138 const GaiaAuthConsumer::ClientLoginResult& credentials);
Dgoogle_authenticator.h88 void OnLoginSuccess(const GaiaAuthConsumer::ClientLoginResult& credentials,
97 const GaiaAuthConsumer::ClientLoginResult& credentials);
99 const GaiaAuthConsumer::ClientLoginResult& credentials);
110 const GaiaAuthConsumer::ClientLoginResult& credentials);
Dlogin_performer.cc112 const GaiaAuthConsumer::ClientLoginResult& credentials, in OnLoginSuccess() argument
134 credentials, in OnLoginSuccess()
143 credentials_ = credentials; in OnLoginSuccess()
182 const GaiaAuthConsumer::ClientLoginResult& credentials) { in OnPasswordChangeDetected() argument
183 cached_credentials_ = credentials; in OnPasswordChangeDetected()
185 delegate_->OnPasswordChangeDetected(credentials); in OnPasswordChangeDetected()
Dparallel_authenticator.cc126 const GaiaAuthConsumer::ClientLoginResult& credentials, in OnLoginSuccess() argument
142 credentials, in OnLoginSuccess()
158 const GaiaAuthConsumer::ClientLoginResult& credentials) { in OnPasswordChangeDetected() argument
160 consumer_->OnPasswordChangeDetected(credentials); in OnPasswordChangeDetected()
214 const GaiaAuthConsumer::ClientLoginResult& credentials) { in RecoverEncryptedData() argument
228 const GaiaAuthConsumer::ClientLoginResult& credentials) { in ResyncEncryptedData() argument
318 current_state_->credentials())); in Resolve()
340 current_state_->credentials(), true)); in Resolve()
371 current_state_->credentials(), request_pending)); in Resolve()
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
D__init__.py415 def __init__(self, credentials, host, request_uri, headers, response, content, http): argument
419 self.credentials = credentials
449 def __init__(self, credentials, host, request_uri, headers, response, content, http): argument
450 … Authentication.__init__(self, credentials, host, request_uri, headers, response, content, http)
455 headers['authorization'] = 'Basic ' + base64.b64encode("%s:%s" % self.credentials).strip()
461 def __init__(self, credentials, host, request_uri, headers, response, content, http): argument
462 … Authentication.__init__(self, credentials, host, request_uri, headers, response, content, http)
472 …self.A1 = "".join([self.credentials[0], ":", self.challenge['realm'], ":", self.credentials[1]])
487 self.credentials[0],
519 def __init__(self, credentials, host, request_uri, headers, response, content, http): argument
[all …]
/external/chromium/chrome/browser/sync/glue/
Dsync_backend_host.h138 const sync_api::SyncCredentials& credentials,
142 void UpdateCredentials(const sync_api::SyncCredentials& credentials);
306 const sync_api::SyncCredentials& credentials,
314 sync_api::SyncCredentials credentials; member
337 void DoUpdateCredentials(const sync_api::SyncCredentials& credentials);
415 sync_api::SyncCredentials credentials; in DoInitializeForTest() local
416 credentials.email = WideToUTF8(test_user); in DoInitializeForTest()
417 credentials.sync_token = "token"; in DoInitializeForTest()
418 DoInitialize(DoInitializeOptions(GURL(), factory, credentials, in DoInitializeForTest()
/external/chromium/chrome/browser/remoting/
Dsetup_flow_login_step.cc92 const GaiaAuthConsumer::ClientLoginResult& credentials) { in OnClientLoginSuccess() argument
94 flow()->context()->remoting_token = credentials.token; in OnClientLoginSuccess()
98 authenticator_->StartIssueAuthToken(credentials.sid, credentials.lsid, in OnClientLoginSuccess()

123456