LeviLamina
Loading...
Searching...
No Matches
MessToken.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class WebToken;
8namespace Json { class Value; }
9// clang-format on
10
11struct MessToken {
12public:
13 // member variables
14 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 MessToken& operator=(MessToken const&);
24 MessToken();
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCNAPI MessToken(::MessToken const&);
30
31 MCNAPI ::MessToken& operator=(::MessToken&&);
32
33 MCNAPI ::std::string toString() const;
34
35 MCNAPI ~MessToken();
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCNAPI static ::std::optional<::MessToken>
42 fromString(::std::string const& tokenString, ::std::vector<::std::string> const& messPublicKeys);
43
44 MCNAPI static ::std::optional<::std::pair<::Json::Value, ::MessToken>>
45 unpackChainIfTrusted(::WebToken const& selfSignedToken, ::std::vector<::std::string> const& messPublicKeys);
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCNAPI void* $ctor(::MessToken const&);
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCNAPI void $dtor();
58 // NOLINTEND
59};
Definition Value.h:16
Definition WebToken.h:17
static MCAPI ::std::optional<::std::pair<::Json::Value, ::MessToken > > unpackChainIfTrusted(::WebToken const &selfSignedToken, ::std::vector<::std::string > const &messPublicKeys)
MCAPI::MessToken & operator=(::MessToken &&)
MCAPI void * $ctor(::MessToken const &)
static MCAPI ::std::optional<::MessToken > fromString(::std::string const &tokenString, ::std::vector<::std::string > const &messPublicKeys)
MCAPI MessToken(::MessToken const &)
MCAPI void $dtor()
MCAPI ~MessToken()
MCAPI::std::string toString() const
Definition Alias.h:14