#include "components/webauthn/content/browser/internal_authenticator_impl.h"
#include <string>
#include <utility>
#include "content/public/browser/authenticator_common.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "url/origin.h"
namespace content {
InternalAuthenticatorImpl::InternalAuthenticatorImpl(
RenderFrameHost* render_frame_host)
: … { … }
InternalAuthenticatorImpl::~InternalAuthenticatorImpl() = default;
void InternalAuthenticatorImpl::SetEffectiveOrigin(const url::Origin& origin) { … }
void InternalAuthenticatorImpl::SetPaymentOptions(
blink::mojom::PaymentOptionsPtr payment) { … }
void InternalAuthenticatorImpl::MakeCredential(
blink::mojom::PublicKeyCredentialCreationOptionsPtr options,
blink::mojom::Authenticator::MakeCredentialCallback callback) { … }
void InternalAuthenticatorImpl::GetAssertion(
blink::mojom::PublicKeyCredentialRequestOptionsPtr options,
blink::mojom::Authenticator::GetAssertionCallback callback) { … }
void InternalAuthenticatorImpl::IsUserVerifyingPlatformAuthenticatorAvailable(
blink::mojom::Authenticator::
IsUserVerifyingPlatformAuthenticatorAvailableCallback callback) { … }
bool InternalAuthenticatorImpl::IsGetMatchingCredentialIdsSupported() { … }
void InternalAuthenticatorImpl::GetMatchingCredentialIds(
const std::string& relying_party_id,
const std::vector<std::vector<uint8_t>>& credential_ids,
bool require_third_party_payment_bit,
webauthn::GetMatchingCredentialIdsCallback callback) { … }
void InternalAuthenticatorImpl::Cancel() { … }
content::RenderFrameHost* InternalAuthenticatorImpl::GetRenderFrameHost() { … }
void InternalAuthenticatorImpl::DidFinishNavigation(
NavigationHandle* navigation_handle) { … }
}