| 722 | } |
| 723 | |
| 724 | GcsOptions GcsOptions::Anonymous() { |
| 725 | GcsOptions options{}; |
| 726 | options.credentials.holder_ = std::make_shared<internal::GcsCredentialsHolder>( |
| 727 | google::cloud::MakeInsecureCredentials()); |
| 728 | options.credentials.anonymous_ = true; |
| 729 | options.scheme = "http"; |
| 730 | return options; |
| 731 | } |
| 732 | |
| 733 | GcsOptions GcsOptions::FromAccessToken(const std::string& access_token, |
| 734 | TimePoint expiration) { |
nothing calls this directly
no outgoing calls
no test coverage detected