Home
last modified time | relevance | path

Searched refs:UserAppId (Results 1 – 5 of 5) sorted by relevance

/external/libweave/src/privet/
Dprivet_types.h32 struct UserAppId { struct
33 UserAppId() = default;
35 UserAppId(AuthType auth_type, in UserAppId() argument
49 inline bool operator==(const UserAppId& l, const UserAppId& r) { argument
53 inline bool operator!=(const UserAppId& l, const UserAppId& r) {
60 const UserAppId& id = {})
61 : scope_{scope}, id_{scope == AuthScope::kNone ? UserAppId{} : id} {}
63 const UserAppId& id() const { return id_; } in id()
67 UserAppId id_;
Dmock_delegates.h31 struct TestUserId : public UserAppId {
33 : UserAppId{AuthType::kAnonymous, {user_id.begin(), user_id.end()}, {}} {} in TestUserId()
113 UserAppId{AuthType::kLocal, in MockSecurityDelegate()
Dcloud_delegate.cc233 command_owners_.insert(std::make_pair(command->GetID(), UserAppId{})); in OnCommandAdded()
312 bool CanAccessCommand(const UserAppId& owner, in CanAccessCommand()
347 std::map<std::string, UserAppId> command_owners_;
Dsecurity_manager.cc97 UserAppId{auth_type, {user_id.begin(), user_id.end()}, {}}}; in CreateAccessTokenImpl()
Dauth_manager.cc382 *user_info = UserInfo{auth_scope, UserAppId{type, user_id, app_id}}; in ParseAccessToken()