/external/chromium-trace/catapult/third_party/webapp2/tests/ |
D | extras_auth_test.py | 20 def _check_token(self, user_id, token, subject='auth'): argument 21 rv = models.UserToken.get(user=user_id, subject=subject, token=token) 51 user_id = user.key.id() 59 self.assertEqual(rv['user_id'], user_id) 74 self.assertEqual(rv['user_id'], user_id) 84 self.assertEqual(rv['user_id'], user_id) 91 self.assertEqual(rv['user_id'], user_id) 116 user_id = user.key.id() 119 self.assertEqual(rv['user_id'], user_id) 125 self.assertEqual(rv['user_id'], user_id) [all …]
|
D | extras_appengine_users_test.py | 10 def set_current_user(email, user_id, is_admin=False): argument 12 os.environ['USER_ID'] = user_id or ''
|
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/appengine/auth/ |
D | models.py | 262 def get_by_auth_token(cls, user_id, token): argument 273 token_key = cls.token_model.get_key(user_id, 'auth', token) 274 user_key = model.Key(cls, user_id) 306 def validate_token(cls, user_id, subject, token): argument 321 return cls.token_model.get(user=user_id, subject=subject, 325 def create_auth_token(cls, user_id): argument 333 return cls.token_model.create(user_id, 'auth').token 336 def validate_auth_token(cls, user_id, token): argument 337 return cls.validate_token(user_id, 'auth', token) 340 def delete_auth_token(cls, user_id, token): argument [all …]
|
/external/libweave/src/ |
D | access_api_handler.cc | 32 std::string user_id; in GetIds() local 33 parameters.GetString(kUserId, &user_id); in GetIds() 34 if (!Base64Decode(user_id, user_id_decoded)) { in GetIds() 36 "Invalid user id '%s'", user_id.c_str()); in GetIds() 44 "Invalid app id '%s'", user_id.c_str()); in GetIds() 142 std::vector<uint8_t> user_id; in Block() local 145 if (!GetIds(parameters, &user_id, &app_id, &error)) { in Block() 156 manager_->Block(user_id, app_id, expiration, in Block() 171 std::vector<uint8_t> user_id; in Unblock() local 174 if (!GetIds(parameters, &user_id, &app_id, &error)) { in Unblock() [all …]
|
D | access_black_list_manager.h | 21 std::vector<uint8_t> user_id; member 29 virtual void Block(const std::vector<uint8_t>& user_id, 33 virtual void Unblock(const std::vector<uint8_t>& user_id, 36 virtual bool IsBlocked(const std::vector<uint8_t>& user_id, 45 return l.user_id == r.user_id && l.app_id == r.app_id &&
|
D | access_black_list_manager_impl.cc | 89 void AccessBlackListManagerImpl::Block(const std::vector<uint8_t>& user_id, in Block() argument 113 auto& value = entries_[std::make_pair(user_id, app_id)]; in Block() 118 void AccessBlackListManagerImpl::Unblock(const std::vector<uint8_t>& user_id, in Unblock() argument 121 if (!entries_.erase(std::make_pair(user_id, app_id))) { in Unblock() 135 const std::vector<uint8_t>& user_id, in IsBlocked() argument 137 for (const auto& user : {{}, user_id}) { in IsBlocked()
|
D | access_black_list_manager_impl.h | 27 void Block(const std::vector<uint8_t>& user_id, 31 void Unblock(const std::vector<uint8_t>& user_id, 34 bool IsBlocked(const std::vector<uint8_t>& user_id,
|
/external/autotest/client/site_tests/enterprise_KioskPerf/ |
D | enterprise_KioskPerf.py | 48 def verify_enrollment(self, user_id): argument 51 if not user_id in f.read(): 56 user_id, password = utils.get_signin_credentials(os.path.join( 58 if not (user_id and password): 64 user_id, password, 68 self.verify_enrollment(user_id)
|
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
D | auth.py | 158 def get_user_by_auth_token(self, user_id, token): argument 170 user, ts = self.user_model.get_by_auth_token(user_id, token) 173 def create_auth_token(self, user_id): argument 181 return self.user_model.create_auth_token(user_id) 183 def delete_auth_token(self, user_id, token): argument 191 return self.user_model.delete_auth_token(user_id, token) 280 def validate_token(self, user_id, token, token_ts=None): argument 301 user, ts = self.get_user_by_auth_token(user_id, token) 310 self.delete_auth_token(user_id, token) 378 user_id=data['user_id'], token=data['token'], [all …]
|
/external/chromium-trace/catapult/third_party/webapp2/docs/tutorials/ |
D | auth.rst | 33 def get_by_auth_token(cls, user_id, token): 36 :param user_id: 37 The user_id of the requesting user. 60 def create_auth_token(cls, user_id): 63 :param user_id: 70 def delete_auth_token(cls, user_id, token): 73 :param user_id:
|
/external/jetty/src/config/etc/ |
D | jdbcRealm.properties | 9 # | id | /| user_id |\ | id | 38 # user_id integer not null, 40 # unique key (user_id, role_id), 41 # index(user_id) 44 # I'm not sure unique key with a first component of user_id will be 70 userroletableuserkey = user_id
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | xsrf.py | 23 _GetSecretKey(), token, user_id=user.user_id(), action_id='') 28 _GetSecretKey(), user_id=user.user_id(), action_id='')
|
D | testing_common.py | 90 def SetCurrentUser(self, email, user_id='123456', is_admin=False): argument 95 user_id=user_id, 101 user_is_admin='0', user_email='', user_id='', overwrite=True)
|
D | xsrf_test.py | 38 self.SetCurrentUser('foo@bar.com', user_id='x') 40 self.SetCurrentUser('foo@other.com', user_id='y')
|
/external/selinux/secilc/docs/ |
D | cil_user_statements.md | 11 (user user_id) 26 <td align="left"><p><code>user_id</code></p></td> 47 (userrole user_id role_id) 62 <td align="left"><p><code>user_id</code></p></td> 125 (userattributeset userattribute_id (user_id ... | expr ...)) 144 <td align="left"><p><code>user_id</code></p></td> 146 <p>Note that there must be at least one <code>user_id</code> or <code>expr</code> parameter declare… 151 <p><code> (and (user_id ...) (user_id ...))</code></p> 152 <p><code> (or (user_id ...) (user_id ...))</code></p> 153 <p><code> (xor (user_id ...) (user_id ...))</code></p> [all …]
|
D | cil_constraint_statements.md | 35 <p><code> (op u1 user_id)</code></p> 36 <p><code> (op u2 user_id)</code></p> 47 <p><code> user_id : A single user or userattribute identifier.</code></p> 122 <p><code> (op u1 user_id)</code></p> 123 <p><code> (op u2 user_id)</code></p> 124 <p><code> (op u3 user_id)</code></p> 138 <p><code> user_id : A single user or userattribute identifier.</code></p> 197 <p><code> (op u1 user_id)</code></p> 198 <p><code> (op u2 user_id)</code></p> 209 <p><code> user_id : A single user or userattribute identifier.</code></p> [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_thread_registry.cc | 20 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase() 43 user_id = 0; in SetDead() 52 user_id = 0; in SetJoined() 71 user_id = _user_id; in SetCreated() 121 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() argument 152 tctx->SetCreated(user_id, total_threads_++, detached, in CreateThread() 209 void ThreadRegistry::SetThreadNameByUserId(uptr user_id, const char *name) { in SetThreadNameByUserId() argument 213 if (tctx != 0 && tctx->user_id == user_id && in SetThreadNameByUserId()
|
D | sanitizer_thread_registry.h | 43 uptr user_id; // Some opaque user thread id (e.g. pthread_t). variable 96 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg); 114 void SetThreadNameByUserId(uptr user_id, const char *name);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
D | xsrfutil.py | 50 def generate_token(key, user_id, action_id="", when=None): argument 66 digester.update(_force_bytes(user_id)) 78 def validate_token(key, token, user_id, action_id="", current_time=None): argument 109 expected_token = generate_token(key, user_id, action_id=action_id,
|
/external/libweave/src/privet/ |
D | privet_types.h | 36 const std::vector<uint8_t>& user_id, in UserAppId() 39 user{user_id}, 40 app{user_id.empty() ? user_id : app_id} {}
|
/external/autotest/client/site_tests/enterprise_RemoraRequisition/ |
D | enterprise_RemoraRequisition.py | 50 user_id, password = utils.get_signin_credentials(os.path.join( 52 if not (user_id and password): 57 enrollment.RemoraEnrollment(cr.browser, user_id, password)
|
/external/autotest/database/ |
D | schema_051.sql | 77 `user_id` int(11) default NULL, 78 UNIQUE KEY `acl_groups_users_both_ids` (`aclgroup_id`,`user_id`), 79 KEY `acl_groups_users_user_id` (`user_id`), 81 …CONSTRAINT `acl_groups_users_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `afe_users` (`id`) ON … 563 `user_id` int(11) NOT NULL, 571 KEY `planner_history_user_id` (`user_id`), 575 CONSTRAINT `history_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `afe_users` (`id`) 647 `user_id` int(11) NOT NULL, 649 UNIQUE KEY `plan_id` (`plan_id`,`user_id`), 650 KEY `plan_owners_user_id_fk` (`user_id`), [all …]
|
/external/autotest/client/common_lib/cros/ |
D | enrollment.py | 29 def RemoraEnrollment(browser, user_id, password): argument 39 user_id, password, enterprise_enroll=True,
|
/external/compiler-rt/lib/lsan/ |
D | lsan_thread.cc | 80 u32 ThreadCreate(u32 parent_tid, uptr user_id, bool detached) { in ThreadCreate() argument 81 return thread_registry->CreateThread(user_id, detached, parent_tid, in ThreadCreate() 111 if (tctx->user_id == uid && tctx->status != ThreadStatusInvalid) { in FindThreadByUid()
|
/external/autotest/frontend/ |
D | apache_auth.py | 41 def get_user(self, user_id): argument 43 return User.objects.get(pk=user_id)
|