chromium/remoting/test/session_authz_playground.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/test/session_authz_playground.h"

#include <cstdio>
#include <cstdlib>
#include <memory>
#include <vector>

#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/memory/scoped_refptr.h"
#include "base/run_loop.h"
#include "base/task/bind_post_task.h"
#include "base/task/single_thread_task_runner.h"
#include "remoting/base/oauth_token_getter.h"
#include "remoting/base/oauth_token_getter_impl.h"
#include "remoting/base/url_request_context_getter.h"
#include "remoting/host/host_config.h"
#include "remoting/proto/session_authz_service.h"
#include "remoting/test/cli_util.h"

namespace remoting {

namespace {

constexpr char kOAuthScope[] =;

void PrintErrorAndExit(const std::string& api_name,
                       const ProtobufHttpStatus& status) {}

}  // namespace

SessionAuthzPlayground::SessionAuthzPlayground() {}

SessionAuthzPlayground::~SessionAuthzPlayground() = default;

void SessionAuthzPlayground::Start() {}

void SessionAuthzPlayground::GenerateHostToken() {}

void SessionAuthzPlayground::VerifySessionToken(const std::string& session_id) {}

void SessionAuthzPlayground::ReauthorizeHost(const std::string& session_id,
                                             const std::string& reauth_token) {}

std::unique_ptr<OAuthTokenGetter>
SessionAuthzPlayground::CreateOAuthTokenGetter(
    const base::FilePath& host_config_file_path) {}

}  // namespace remoting