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(MessToken const&);
25 MessToken();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCFOLD ::MessToken& operator=(::MessToken&&);
31
32 MCAPI ::std::string toString() const;
33
34 MCAPI ~MessToken();
35 // NOLINTEND
36
37public:
38 // static functions
39 // NOLINTBEGIN
40 MCAPI static ::std::optional<::MessToken> fromString(::std::string const& tokenString);
41
42 MCAPI static ::std::optional<::std::pair<::Json::Value, ::MessToken>>
43 unpackChainIfTrusted(::WebToken const& selfSignedToken);
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCFOLD void $dtor();
50 // NOLINTEND
51};
Definition WebToken.h:14
Definition MessToken.h:11
Definition Alias.h:14