Searched refs:credential_json (Results 1 – 1 of 1) sorted by relevance
43 Json::Value credential_json = in RefreshCredential() local46 CHECK(!credential_json.isMember("error")) << "Error fetching credentials. " << in RefreshCredential()47 "Response was " << credential_json; in RefreshCredential()48 bool has_access_token = credential_json.isMember("access_token"); in RefreshCredential()49 bool has_expires_in = credential_json.isMember("expires_in"); in RefreshCredential()52 << "Full response was " << credential_json << ""; in RefreshCredential()56 + std::chrono::seconds(credential_json["expires_in"].asInt()); in RefreshCredential()57 latest_credential = credential_json["access_token"].asString(); in RefreshCredential()