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 bool isExpired() const;
32
33 MCNAPI ::MessToken& operator=(::MessToken&&);
34
35 MCNAPI ::std::string toString() const;
36
37 MCNAPI ~MessToken();
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCNAPI static ::std::optional<::MessToken>
44 fromString(::std::string const& tokenString, ::std::vector<::std::string> const& messPublicKeys);
45
46 MCNAPI static ::std::optional<::std::pair<::Json::Value, ::MessToken>>
47 unpackChainIfTrusted(::WebToken const& selfSignedToken, ::std::vector<::std::string> const& messPublicKeys);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCNAPI void* $ctor(::MessToken const&);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCNAPI void $dtor();
60 // NOLINTEND
61};
Definition Value.h:16
Definition WebToken.h:16
MCAPI bool isExpired() const
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