| 39 | explicit KeyAccessToken(const std::string value) : value_(value) {} |
| 40 | |
| 41 | void Refresh(const std::string& new_value) { |
| 42 | auto lock = mutex_.Lock(); |
| 43 | value_ = new_value; |
| 44 | } |
| 45 | |
| 46 | const std::string& value() const { |
| 47 | auto lock = mutex_.Lock(); |