Android-cuttlefish cvd tool
Namespaces | Functions | Variables
credential_source.cc File Reference
#include "cuttlefish/host/libs/web/credential_source.h"
#include <stddef.h>
#include <stdint.h>
#include <chrono>
#include <cstddef>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "absl/strings/ascii.h"
#include "absl/strings/match.h"
#include "absl/strings/str_replace.h"
#include "absl/strings/str_split.h"
#include "absl/strings/strip.h"
#include "json/value.h"
#include "json/writer.h"
#include "openssl/base.h"
#include "openssl/bio.h"
#include "openssl/digest.h"
#include "openssl/err.h"
#include "openssl/evp.h"
#include "openssl/pem.h"
#include "cuttlefish/common/libs/utils/base64.h"
#include "cuttlefish/common/libs/utils/json.h"
#include "cuttlefish/host/libs/web/http_client/http_client.h"
#include "cuttlefish/host/libs/web/http_client/http_json.h"
#include "cuttlefish/host/libs/web/http_client/url_escape.h"
#include "cuttlefish/result/result.h"
Include dependency graph for credential_source.cc:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{credential_source.cc}
 

Functions

std::string cuttlefish::anonymous_namespace{credential_source.cc}::CollectSslErrors ()
 
Result< std::string > cuttlefish::anonymous_namespace{credential_source.cc}::Base64Url (const char *data, size_t size)
 
Result< std::string > cuttlefish::anonymous_namespace{credential_source.cc}::JsonToBase64Url (const Json::Value &json)
 
Result< std::string > cuttlefish::anonymous_namespace{credential_source.cc}::CreateJwt (const std::string &email, const std::string &scope, EVP_PKEY *private_key)
 

Variables

constexpr auto cuttlefish::anonymous_namespace{credential_source.cc}::kRefreshWindow = std::chrono::minutes(2)