#ifndef GOOGLE_APIS_GAIA_GAIA_AUTH_TEST_UTIL_H_
#define GOOGLE_APIS_GAIA_GAIA_AUTH_TEST_UTIL_H_
#include <optional>
#include <string>
#include "base/base64url.h"
#include "google_apis/gaia/gaia_id.h"
namespace gaia {
struct CookieParams {
std::string email;
GaiaId gaia_id;
bool valid;
bool signed_out;
bool verified;
};
std::string GenerateOAuth2MintTokenConsentResult(
std::optional<bool> approved,
const std::optional<std::string>& encrypted_approval_data,
const std::optional<GaiaId>& obfuscated_id,
base::Base64UrlEncodePolicy encode_policy =
base::Base64UrlEncodePolicy::OMIT_PADDING);
std::string CreateListAccountsResponseInBinaryFormat(
const std::vector<CookieParams>& params);
}
#endif