Home
last modified time | relevance | path

Searched refs:AuthType (Results 1 – 13 of 13) sorted by relevance

/external/libweave/src/privet/
Dprivet_types.cc17 using privet::AuthType;
29 const EnumToStringMap<AuthType>::Map kAuthTypeMap[] = {
30 {AuthType::kAnonymous, "anonymous"},
31 {AuthType::kPairing, "pairing"},
32 {AuthType::kLocal, "local"},
80 LIBWEAVE_EXPORT EnumToStringMap<AuthType>::EnumToStringMap() in EnumToStringMap()
Dsecurity_manager.cc89 bool SecurityManager::CreateAccessTokenImpl(AuthType auth_type, in CreateAccessTokenImpl()
115 AuthType auth_type, in CreateAccessTokenImpl()
128 case AuthType::kAnonymous: in CreateAccessTokenImpl()
133 case AuthType::kPairing: in CreateAccessTokenImpl()
142 case AuthType::kLocal: in CreateAccessTokenImpl()
156 bool SecurityManager::CreateAccessToken(AuthType auth_type, in CreateAccessToken()
164 if (auth_type != AuthType::kAnonymous && in CreateAccessToken()
206 std::set<AuthType> SecurityManager::GetAuthTypes() const { in GetAuthTypes()
207 std::set<AuthType> result; in GetAuthTypes()
209 result.insert(AuthType::kAnonymous); in GetAuthTypes()
[all …]
Dmock_delegates.h33 : UserAppId{AuthType::kAnonymous, {user_id.begin(), user_id.end()}, {}} {} in TestUserId()
71 bool(AuthType,
82 MOCK_CONST_METHOD0(GetAuthTypes, std::set<AuthType>());
113 UserAppId{AuthType::kLocal, in MockSecurityDelegate()
128 .WillRepeatedly(Return(std::set<AuthType>{ in MockSecurityDelegate()
129 AuthType::kAnonymous, AuthType::kPairing, AuthType::kLocal, in MockSecurityDelegate()
Dsecurity_manager.h62 bool CreateAccessToken(AuthType auth_type,
74 std::set<AuthType> GetAuthTypes() const override;
103 bool CreateAccessTokenImpl(AuthType auth_type,
110 bool CreateAccessTokenImpl(AuthType auth_type,
Dprivet_types.h21 enum class AuthType { enum
35 UserAppId(AuthType auth_type, in UserAppId()
44 AuthType type{};
Dsecurity_delegate.h25 virtual bool CreateAccessToken(AuthType auth_type,
45 virtual std::set<AuthType> GetAuthTypes() const = 0;
Dauth_manager_unittest.cc99 {AuthType::kLocal, {1, 2, 3}, {4, 5, 6}}}, in TEST_F()
103 {AuthType::kLocal, {1, 2, 3}, {4, 5, 6}}}, in TEST_F()
110 {AuthType::kLocal, {1, 2, 3}, {4, 5, 6}}}, in TEST_F()
114 {AuthType::kPairing, {1, 2, 3}, {4, 5, 6}}}, in TEST_F()
121 {AuthType::kLocal, {1, 2, 3}, {4, 5, 6}}}, in TEST_F()
125 {AuthType::kLocal, {1, 2, 3}, {4, 5, 7}}}, in TEST_F()
Dsecurity_manager_unittest.cc124 EXPECT_TRUE(security_.CreateAccessToken(AuthType::kPairing, in PairAndAuthenticate()
165 EXPECT_TRUE(security_.CreateAccessToken(AuthType::kAnonymous, "", in TEST_F()
Dauth_manager.cc375 AuthType type = static_cast<AuthType>(user_id.back()); in ParseAccessToken()
522 UserInfo info{auth_scope, {AuthType::kLocal, user_id, app_id}}; in CreateAccessTokenFromAuth()
Dprivet_handler.cc254 for (AuthType type : security.GetAuthTypes()) in CreateInfoAuthSection()
492 if (token != EnumToString(AuthType::kAnonymous)) { in HandleRequest()
656 AuthType auth_type{}; in HandleAuth()
680 if (auth_type == AuthType::kAnonymous) in HandleAuth()
Dprivet_handler_unittest.cc219 .WillRepeatedly(Return(std::set<AuthType>{})); in TEST_F()
/external/autotest/site_utils/admin/apache/
Dsite-sso-directives2 AuthType google-sso
/external/autotest/apache/conf/
Dsite-sso-directives3 AuthType google-sso