blob: 894869649d6b05559b45d2c38001b49e55828a39 [file] [log] [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/credentialmanagement/authenticator_response.h"
#include <variant>
#include "base/notimplemented.h"
namespace blink {
AuthenticatorResponse::AuthenticatorResponse(DOMArrayBuffer* client_data_json)
: client_data_json_(client_data_json) {}
AuthenticatorResponse::~AuthenticatorResponse() = default;
std::variant<AuthenticatorAssertionResponseJSON*,
AuthenticatorAttestationResponseJSON*>
AuthenticatorResponse::toJSON() const {
NOTIMPLEMENTED();
return static_cast<AuthenticatorAssertionResponseJSON*>(nullptr);
}
void AuthenticatorResponse::Trace(Visitor* visitor) const {
visitor->Trace(client_data_json_);
ScriptWrappable::Trace(visitor);
}
} // namespace blink