chromium/device/fido/auth_token_requester.cc

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

#include "device/fido/auth_token_requester.h"

#include <set>
#include <utility>

#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/stl_util.h"
#include "base/strings/utf_string_conversions.h"
#include "components/device_event_log/device_event_log.h"
#include "device/fido/authenticator_supported_options.h"
#include "device/fido/fido_authenticator.h"
#include "device/fido/fido_constants.h"

namespace device {

ClientPinAvailability;
UserVerificationAvailability;
BioEnrollmentAvailability;

AuthTokenRequester::Delegate::~Delegate() = default;

AuthTokenRequester::Options::Options() = default;
AuthTokenRequester::Options::Options(Options&&) = default;
AuthTokenRequester::Options& AuthTokenRequester::Options::operator=(Options&&) =
    default;
AuthTokenRequester::Options::~Options() = default;

AuthTokenRequester::AuthTokenRequester(Delegate* delegate,
                                       FidoAuthenticator* authenticator,
                                       Options options)
    :{}

AuthTokenRequester::~AuthTokenRequester() = default;

void AuthTokenRequester::ObtainPINUVAuthToken() {}

void AuthTokenRequester::ObtainTokenFromInternalUV() {}

void AuthTokenRequester::OnGetUVRetries(
    CtapDeviceResponseCode status,
    std::optional<pin::RetriesResponse> response) {}

void AuthTokenRequester::OnGetUVToken(
    CtapDeviceResponseCode status,
    std::optional<pin::TokenResponse> response) {}

void AuthTokenRequester::ObtainTokenFromPIN() {}

void AuthTokenRequester::OnGetPINRetries(
    CtapDeviceResponseCode status,
    std::optional<pin::RetriesResponse> response) {}

void AuthTokenRequester::HavePIN(std::u16string pin16) {}

void AuthTokenRequester::OnGetPINToken(
    std::string pin,
    CtapDeviceResponseCode status,
    std::optional<pin::TokenResponse> response) {}

void AuthTokenRequester::ObtainTokenFromNewPIN() {}

void AuthTokenRequester::HaveNewPIN(std::u16string pin16) {}

void AuthTokenRequester::OnSetPIN(std::string pin,
                                  CtapDeviceResponseCode status,
                                  std::optional<pin::EmptyResponse> response) {}

bool AuthTokenRequester::NotifyAuthenticatorSelected() {}

void AuthTokenRequester::NotifyAuthenticatorSelectedAndFailWithResult(
    Result result) {}

}  // namespace device