Searched refs:user_info (Results 1 - 16 of 16) sorted by relevance

/external/libweave/src/privet/
H A Dprivet_handler.h83 const UserInfo& user_info,
86 const UserInfo& user_info,
89 const UserInfo& user_info,
92 const UserInfo& user_info,
95 const UserInfo& user_info,
98 const UserInfo& user_info,
101 const UserInfo& user_info,
104 const UserInfo& user_info,
107 const UserInfo& user_info,
110 const UserInfo& user_info,
[all...]
H A Dcloud_delegate.cc165 const UserInfo& user_info,
167 CHECK(user_info.scope() != AuthScope::kNone);
168 CHECK(!user_info.id().IsEmpty());
172 std::string str_scope = EnumToString(user_info.scope());
185 command_owners_[id] = user_info.id();
190 const UserInfo& user_info,
192 CHECK(user_info.scope() != AuthScope::kNone);
194 auto command = GetCommandInternal(id, user_info, &error);
201 const UserInfo& user_info,
203 CHECK(user_info
294 GetCommandInternal(const std::string& command_id, const UserInfo& user_info, ErrorPtr* error) const argument
312 CanAccessCommand(const UserAppId& owner, const UserInfo& user_info, ErrorPtr* error) const argument
[all...]
H A Dcloud_delegate.h116 const UserInfo& user_info,
121 const UserInfo& user_info,
126 const UserInfo& user_info,
130 virtual void ListCommands(const UserInfo& user_info,
H A Dauth_manager.h38 std::vector<uint8_t> CreateAccessToken(const UserInfo& user_info,
42 UserInfo* user_info,
80 const UserInfo& user_info) const;
H A Dauth_manager_unittest.cc35 const UserInfo& user_info) const {
36 return auth_.DelegateToUser(token, ttl, user_info);
170 UserInfo user_info; local
171 EXPECT_FALSE(auth_.ParseAccessToken(token, &user_info, nullptr));
172 EXPECT_TRUE(auth.ParseAccessToken(token, &user_info, nullptr));
173 EXPECT_EQ(AuthScope::kUser, user_info.scope());
174 EXPECT_EQ(TestUserId{"5"}, user_info.id());
178 EXPECT_TRUE(auth.ParseAccessToken(token, &user_info, nullptr));
183 EXPECT_FALSE(auth.ParseAccessToken(extended, &user_info, nullptr));
188 EXPECT_FALSE(auth.ParseAccessToken(token, &user_info, nullpt
262 UserInfo user_info; local
[all...]
H A Dprivet_handler.cc491 UserInfo user_info; local
493 if (!security_->ParseAccessToken(token, &user_info, &error))
497 if (handler->second.scope > user_info.scope()) {
500 EnumToString(user_info.scope()).c_str(), api.c_str());
503 (this->*handler->second.handler)(*input, user_info, callback);
527 const UserInfo& user_info,
572 const UserInfo& user_info,
614 const UserInfo& user_info,
637 const UserInfo& user_info,
651 const UserInfo& user_info,
526 HandleInfo(const base::DictionaryValue&, const UserInfo& user_info, const RequestCallback& callback) argument
571 HandlePairingStart(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
613 HandlePairingConfirm(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
636 HandlePairingCancel(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
650 HandleAuth(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
711 HandleAccessControlClaim(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
724 HandleAccessControlConfirm( const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
745 HandleSetupStart(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
810 HandleSetupStatus(const base::DictionaryValue&, const UserInfo& user_info, const RequestCallback& callback) argument
843 HandleState(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
853 HandleTraits(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
863 HandleComponents(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
899 HandleCommandDefs(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
911 HandleCommandsExecute(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
918 HandleCommandsStatus(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
932 HandleCommandsList(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
939 HandleCommandsCancel(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
953 HandleCheckForUpdates(const base::DictionaryValue& input, const UserInfo& user_info, const RequestCallback& callback) argument
[all...]
H A Dauth_manager.cc322 std::vector<uint8_t> AuthManager::CreateAccessToken(const UserInfo& user_info, argument
326 ScopeCaveat scope{ToMacaroonScope(user_info.scope())};
329 std::vector<uint8_t> id_with_type{user_info.id().user};
330 id_with_type.push_back(static_cast<uint8_t>(user_info.id().type));
332 AppIdCaveat app{user_info.id().app};
344 UserInfo* user_info,
381 if (user_info)
382 *user_info = UserInfo{auth_scope, UserAppId{type, user_id, app_id}};
550 const UserInfo& user_info) const {
558 ScopeCaveat scope{ToMacaroonScope(user_info
343 ParseAccessToken(const std::vector<uint8_t>& token, UserInfo* user_info, ErrorPtr* error) const argument
[all...]
H A Dsecurity_delegate.h35 UserInfo* user_info,
H A Dsecurity_manager.cc95 UserInfo user_info{
103 *access_token = auth_manager_->CreateAccessToken(user_info, kTtl);
106 *access_token_scope = user_info.scope();
185 UserInfo* user_info,
194 return auth_manager_->ParseAccessToken(decoded, user_info, error);
184 ParseAccessToken(const std::string& token, UserInfo* user_info, ErrorPtr* error) const argument
H A Dsecurity_manager.h70 UserInfo* user_info,
/external/autotest/client/site_tests/security_EnableChromeTesting/
H A Dsecurity_EnableChromeTesting.py15 user_info = pwd.getpwnam(username)
16 os.setegid(user_info[3])
17 os.seteuid(user_info[2])
/external/chromium-trace/catapult/dashboard/dashboard/
H A Drequest_handler.py56 user_info = ''
74 user_info = '<a href="%s" title="%s">%s</a>' % (
78 template_values['user_info'] = user_info
/external/autotest/cli/
H A Dacl.py74 user_info = topic_common.item_parse_info(attribute_name='users',
79 (options, leftover) = super(acl_list, self).parse([user_info,
200 user_info = topic_common.item_parse_info(attribute_name='users',
207 self).parse([user_info, host_info],
H A Dtopic_common_unittest.py514 user_info = topic_common.item_parse_info(attribute_name='users',
518 (options, leftover) = self.atest.parse([host_info, user_info])
552 user_info = topic_common.item_parse_info(attribute_name='users',
555 (options, leftover) = self.atest.parse([host_info, user_info])
590 user_info = topic_common.item_parse_info(attribute_name='users',
593 (options, leftover) = self.atest.parse([host_info, user_info])
626 user_info = topic_common.item_parse_info(attribute_name='users',
629 (options, leftover) = self.atest.parse([host_info, user_info])
658 user_info = topic_common.item_parse_info(attribute_name='users',
660 (options, leftover) = self.atest.parse([host_info, user_info])
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/scripts/
H A Doauth2l_test.py273 user_info = {'email': 'foo@example.com'}
275 return_value=user_info,
278 self.assertEqual(user_info['email'], output)
292 user_info = {'email': 'foo@example.com'}
294 return_value=user_info,
297 self.assertEqual(json.dumps(user_info, indent=4), output)
303 user_info = {'email': 'foo@example.com'}
305 return_value=user_info,
309 self.assertEqual(json.dumps(user_info, separators=(',', ':')),
/external/v8/src/
H A Dobjects.cc12050 Handle<PrototypeInfo> user_info = local
12052 int slot = user_info->registry_slot();

Completed in 2865 milliseconds