#include "components/autofill/core/browser/payments/test_credit_card_fido_authenticator.h"
#include <string>
#include <utility>
#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/autofill_driver.h"
#include "third_party/blink/public/mojom/webauthn/authenticator.mojom.h"
namespace autofill {
TestCreditCardFidoAuthenticator::TestCreditCardFidoAuthenticator(
AutofillDriver* driver,
AutofillClient* client)
: … { … }
TestCreditCardFidoAuthenticator::~TestCreditCardFidoAuthenticator() = default;
void TestCreditCardFidoAuthenticator::Authenticate(
CreditCard card,
base::WeakPtr<Requester> requester,
base::Value::Dict request_options,
std::optional<std::string> context_token) { … }
void TestCreditCardFidoAuthenticator::GetAssertion(
blink::mojom::PublicKeyCredentialRequestOptionsPtr request_options) { … }
void TestCreditCardFidoAuthenticator::MakeCredential(
blink::mojom::PublicKeyCredentialCreationOptionsPtr creation_options) { … }
void TestCreditCardFidoAuthenticator::OptOut() { … }
void TestCreditCardFidoAuthenticator::GetAssertion(
CreditCardFidoAuthenticator* fido_authenticator,
bool did_succeed) { … }
void TestCreditCardFidoAuthenticator::MakeCredential(
CreditCardFidoAuthenticator* fido_authenticator,
bool did_succeed) { … }
std::vector<uint8_t> TestCreditCardFidoAuthenticator::GetCredentialId() { … }
std::vector<uint8_t> TestCreditCardFidoAuthenticator::GetChallenge() { … }
std::string TestCreditCardFidoAuthenticator::GetRelyingPartyId() { … }
void TestCreditCardFidoAuthenticator::IsUserVerifiable(
base::OnceCallback<void(bool)> callback) { … }
bool TestCreditCardFidoAuthenticator::IsUserOptedIn() { … }
void TestCreditCardFidoAuthenticator::Reset() { … }
}