Searched refs:UserAppId (Results 1 – 5 of 5) sorted by relevance
/external/libweave/src/privet/ |
D | privet_types.h | 32 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_;
|
D | mock_delegates.h | 31 struct TestUserId : public UserAppId { 33 : UserAppId{AuthType::kAnonymous, {user_id.begin(), user_id.end()}, {}} {} in TestUserId() 113 UserAppId{AuthType::kLocal, in MockSecurityDelegate()
|
D | cloud_delegate.cc | 233 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_;
|
D | security_manager.cc | 97 UserAppId{auth_type, {user_id.begin(), user_id.end()}, {}}}; in CreateAccessTokenImpl()
|
D | auth_manager.cc | 382 *user_info = UserInfo{auth_scope, UserAppId{type, user_id, app_id}}; in ParseAccessToken()
|