Copy as Markdown
Other Tools
// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef mozilla_java_WebAuthnTokenManagerWrappers_h
#define mozilla_java_WebAuthnTokenManagerWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class WebAuthnTokenManager : public mozilla::jni::ObjectBase<WebAuthnTokenManager>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/WebAuthnTokenManager";
explicit WebAuthnTokenManager(const Context& ctx) : ObjectBase<WebAuthnTokenManager>(ctx) {}
struct WebAuthnGetAssertion_t {
typedef WebAuthnTokenManager Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ByteBuffer::Param,
mozilla::jni::ObjectArray::Param,
mozilla::jni::ByteBuffer::Param,
mozilla::jni::Object::Param,
mozilla::jni::Object::Param,
mozilla::jni::ByteBuffer::Param> Args;
static constexpr char name[] = "webAuthnGetAssertion";
static constexpr char signature[] =
"(Ljava/nio/ByteBuffer;[Ljava/lang/Object;Ljava/nio/ByteBuffer;Lorg/mozilla/gecko/util/GeckoBundle;Lorg/mozilla/gecko/util/GeckoBundle;Ljava/nio/ByteBuffer;)Lorg/mozilla/geckoview/GeckoResult;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static GeckoResult webAuthnGetAssertion(ByteBuffer, Object[], ByteBuffer, GeckoBundle, GeckoBundle, ByteBuffer)
static auto WebAuthnGetAssertion(mozilla::jni::ByteBuffer::Param, mozilla::jni::ObjectArray::Param, mozilla::jni::ByteBuffer::Param, mozilla::jni::Object::Param, mozilla::jni::Object::Param, mozilla::jni::ByteBuffer::Param) -> mozilla::jni::Object::LocalRef;
struct WebAuthnIsUserVerifyingPlatformAuthenticatorAvailable_t {
typedef WebAuthnTokenManager Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "webAuthnIsUserVerifyingPlatformAuthenticatorAvailable";
static constexpr char signature[] =
"()Lorg/mozilla/geckoview/GeckoResult;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static GeckoResult webAuthnIsUserVerifyingPlatformAuthenticatorAvailable()
static auto WebAuthnIsUserVerifyingPlatformAuthenticatorAvailable() -> mozilla::jni::Object::LocalRef;
struct WebAuthnMakeCredential_t {
typedef WebAuthnTokenManager Owner;
typedef mozilla::jni::Object::LocalRef ReturnType;
typedef mozilla::jni::Object::Param SetterType;
typedef mozilla::jni::Args<
mozilla::jni::Object::Param,
mozilla::jni::ByteBuffer::Param,
mozilla::jni::ByteBuffer::Param,
mozilla::jni::ObjectArray::Param,
mozilla::jni::ByteBuffer::Param,
mozilla::jni::Object::Param,
mozilla::jni::Object::Param,
mozilla::jni::IntArray::Param,
mozilla::jni::ByteBuffer::Param> Args;
static constexpr char name[] = "webAuthnMakeCredential";
static constexpr char signature[] =
"(Lorg/mozilla/gecko/util/GeckoBundle;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;[Ljava/lang/Object;Ljava/nio/ByteBuffer;Lorg/mozilla/gecko/util/GeckoBundle;Lorg/mozilla/gecko/util/GeckoBundle;[ILjava/nio/ByteBuffer;)Lorg/mozilla/geckoview/GeckoResult;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// static GeckoResult webAuthnMakeCredential(GeckoBundle, ByteBuffer, ByteBuffer, Object[], ByteBuffer, GeckoBundle, GeckoBundle, int[], ByteBuffer)
static auto WebAuthnMakeCredential(mozilla::jni::Object::Param, mozilla::jni::ByteBuffer::Param, mozilla::jni::ByteBuffer::Param, mozilla::jni::ObjectArray::Param, mozilla::jni::ByteBuffer::Param, mozilla::jni::Object::Param, mozilla::jni::Object::Param, mozilla::jni::IntArray::Param, mozilla::jni::ByteBuffer::Param) -> mozilla::jni::Object::LocalRef;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_WebAuthnTokenManagerWrappers_h