#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_CREDENTIALMANAGEMENT_JSON_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_CREDENTIALMANAGEMENT_JSON_H_
#include "third_party/blink/renderer/core/typed_arrays/dom_array_piece.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
class AuthenticationExtensionsClientOutputsJSON;
class AuthenticationExtensionsClientOutputs;
class PublicKeyCredentialCreationOptions;
class PublicKeyCredentialCreationOptionsJSON;
class PublicKeyCredentialRequestOptions;
class PublicKeyCredentialRequestOptionsJSON;
class ScriptState;
WTF::String WebAuthnBase64UrlEncode(DOMArrayPiece buffer);
AuthenticationExtensionsClientOutputsJSON*
AuthenticationExtensionsClientOutputsToJSON(
ScriptState* script_state,
const AuthenticationExtensionsClientOutputs& extension_outputs);
PublicKeyCredentialCreationOptions* PublicKeyCredentialCreationOptionsFromJSON(
const PublicKeyCredentialCreationOptionsJSON* json,
ExceptionState& exception_state);
PublicKeyCredentialRequestOptions* PublicKeyCredentialRequestOptionsFromJSON(
const PublicKeyCredentialRequestOptionsJSON* json,
ExceptionState& exception_state);
}
#endif