Lines Matching defs:TokenService
20 const char* TokenService::kServices[] = {
27 TokenService::TokenService()
32 TokenService::~TokenService() {
37 void TokenService::Initialize(const char* const source,
73 void TokenService::ResetCredentialsInMemory() {
91 void TokenService::UpdateCredentials(
102 void TokenService::LoadTokensFromDB() {
107 void TokenService::SaveAuthTokenToDB(const std::string& service,
113 void TokenService::EraseTokensFromDB() {
118 bool TokenService::AreCredentialsValid() const {
122 bool TokenService::HasLsid() const {
126 const std::string& TokenService::GetLsid() const {
130 void TokenService::StartFetchingTokens() {
142 bool TokenService::HasTokenForService(const char* const service) const {
146 const std::string& TokenService::GetTokenForService(
161 void TokenService::FireTokenAvailableNotification(
168 Source<TokenService>(this),
172 void TokenService::FireTokenRequestFailedNotification(
179 Source<TokenService>(this),
183 void TokenService::IssueAuthTokenForTest(const std::string& service,
189 void TokenService::OnIssueAuthTokenSuccess(const std::string& service,
198 void TokenService::OnIssueAuthTokenFailure(const std::string& service,
205 void TokenService::OnWebDataServiceRequestDone(WebDataService::Handle h,
223 Source<TokenService>(this),
228 void TokenService::LoadTokensIntoMemory(
254 void TokenService::Observe(NotificationType type,