Searched refs:AuthType (Results 1 – 13 of 13) sorted by relevance
/external/libweave/src/privet/ |
D | privet_types.cc | 17 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()
|
D | security_manager.cc | 89 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 …]
|
D | mock_delegates.h | 33 : 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()
|
D | security_manager.h | 62 bool CreateAccessToken(AuthType auth_type, 74 std::set<AuthType> GetAuthTypes() const override; 103 bool CreateAccessTokenImpl(AuthType auth_type, 110 bool CreateAccessTokenImpl(AuthType auth_type,
|
D | privet_types.h | 21 enum class AuthType { enum 35 UserAppId(AuthType auth_type, in UserAppId() 44 AuthType type{};
|
D | security_delegate.h | 25 virtual bool CreateAccessToken(AuthType auth_type, 45 virtual std::set<AuthType> GetAuthTypes() const = 0;
|
D | auth_manager_unittest.cc | 99 {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()
|
D | security_manager_unittest.cc | 124 EXPECT_TRUE(security_.CreateAccessToken(AuthType::kPairing, in PairAndAuthenticate() 165 EXPECT_TRUE(security_.CreateAccessToken(AuthType::kAnonymous, "", in TEST_F()
|
D | auth_manager.cc | 375 AuthType type = static_cast<AuthType>(user_id.back()); in ParseAccessToken() 522 UserInfo info{auth_scope, {AuthType::kLocal, user_id, app_id}}; in CreateAccessTokenFromAuth()
|
D | privet_handler.cc | 254 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()
|
D | privet_handler_unittest.cc | 219 .WillRepeatedly(Return(std::set<AuthType>{})); in TEST_F()
|
/external/autotest/site_utils/admin/apache/ |
D | site-sso-directives | 2 AuthType google-sso
|
/external/autotest/apache/conf/ |
D | site-sso-directives | 3 AuthType google-sso
|