Home
last modified time | relevance | path

Searched refs:IsValidSessionId (Results 1 – 3 of 3) sorted by relevance

/external/libweave/src/privet/
Dauth_manager_unittest.cc236 TEST_F(AuthManagerTest, IsValidSessionId) { in TEST_F() argument
237 EXPECT_TRUE(auth_.IsValidSessionId("463315200:1")); in TEST_F()
238 EXPECT_TRUE(auth_.IsValidSessionId("463315200:2")); in TEST_F()
239 EXPECT_TRUE(auth_.IsValidSessionId("463315150")); in TEST_F()
242 EXPECT_FALSE(auth_.IsValidSessionId("463315230:1")); in TEST_F()
245 EXPECT_FALSE(auth_.IsValidSessionId("463315100:1")); in TEST_F()
Dauth_manager.h72 bool IsValidSessionId(const std::string& session_id) const;
Dauth_manager.cc506 if (!IsValidSessionId({session_id, session_id + result.lan_session_id_len})) { in CreateAccessTokenFromAuth()
540 bool AuthManager::IsValidSessionId(const std::string& session_id) const { in IsValidSessionId() function in weave::privet::AuthManager