blob: 2b4ce393df7e2c7fa44ac7f80199d60bc5d86aad [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// 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/credentialmanager/authenticator_assertion_response.h"
namespace blink {
AuthenticatorAssertionResponse::AuthenticatorAssertionResponse(
DOMArrayBuffer* client_data_json,
DOMArrayBuffer* authenticator_data,
DOMArrayBuffer* signature,
DOMArrayBuffer* user_handle)
: AuthenticatorResponse(client_data_json),
authenticator_data_(authenticator_data),
signature_(signature),
user_handle_(user_handle) {}
AuthenticatorAssertionResponse::~AuthenticatorAssertionResponse() = default;
void AuthenticatorAssertionResponse::Trace(blink::Visitor* visitor) {
visitor->Trace(authenticator_data_);
visitor->Trace(signature_);
visitor->Trace(user_handle_);
AuthenticatorResponse::Trace(visitor);
}
} // namespace blink