Home | History | Annotate | Download | only in browser

Lines Matching defs:refresh_token

63     const std::string& refresh_token)
67 fetcher_.StartRevokeOAuth2Token(refresh_token);
86 const std::string& refresh_token)
89 refresh_token_(refresh_token),
151 return iter->second->refresh_token();
160 std::string refresh_token = GetRefreshToken(account_id);
161 DCHECK(!refresh_token.empty());
162 return new OAuth2AccessTokenFetcherImpl(consumer, getter, refresh_token);
231 std::string refresh_token = iter->second;
233 if (IsLegacyRefreshTokenId(prefixed_account_id) && !refresh_token.empty())
234 old_login_token = refresh_token;
241 DCHECK(!refresh_token.empty());
244 new AccountInfo(this, account_id, refresh_token));
300 const std::string& refresh_token) {
303 DCHECK(!refresh_token.empty());
309 refresh_tokens_[account_id]->refresh_token() != refresh_token) {
317 RevokeCredentialsOnServer(refresh_tokens_[account_id]->refresh_token());
320 refresh_tokens_[account_id]->set_refresh_token(refresh_token);
323 new AccountInfo(this, account_id, refresh_token));
327 PersistCredentials(account_id, refresh_token);
339 RevokeCredentialsOnServer(refresh_tokens_[account_id]->refresh_token());
350 const std::string& refresh_token) {
354 refresh_token);
380 const std::string& refresh_token) {
384 new RevokeServerRefreshToken(this, refresh_token));