Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ClientIdentityAssertionVerifier.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/Async.h"
7#include "mc/network/IIdentityAssertionVerifier.h"
8
9// auto generated forward declare list
10// clang-format off
11class WebKey;
12// clang-format on
13
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 virtual ::Bedrock::Threading::Async<bool>
19 verify(::std::string_view assertion, ::std::string_view fingerprintJson) /*override*/;
20 // NOLINTEND
21
22public:
23 // static functions
24 // NOLINTBEGIN
25 MCNAPI static ::std::optional<::WebKey> extractKey(::std::string_view assertion);
26
27 MCNAPI static ::std::optional<::WebKey>
28 verifyAndExtractKey(::std::string_view assertion, ::std::string_view fingerprintJson);
29 // NOLINTEND
30
31public:
32 // virtual function thunks
33 // NOLINTBEGIN
34 MCNAPI ::Bedrock::Threading::Async<bool> $verify(::std::string_view assertion, ::std::string_view fingerprintJson);
35
36
37 // NOLINTEND
38};
Definition ClientIdentityAssertionVerifier.h:14
static MCAPI ::std::optional<::WebKey > extractKey(::std::string_view assertion)
static MCAPI ::std::optional<::WebKey > verifyAndExtractKey(::std::string_view assertion, ::std::string_view fingerprintJson)
MCAPI ::Bedrock::Threading::Async< bool > $verify(::std::string_view assertion, ::std::string_view fingerprintJson)
Definition IIdentityAssertionVerifier.h:8
Definition WebKey.h:13