LeviLamina
Loading...
Searching...
No Matches
AzureGetTokenHttpCall.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
8// auto generated forward declare list
9// clang-format off
10class TaskGroup;
11namespace Bedrock::Http { class Request; }
12namespace Bedrock::Http { class Response; }
13namespace Bedrock::Services { struct AzureGetTokenHttpResponse; }
14namespace Bedrock::Services { struct AzureIdentityConfig; }
15namespace Bedrock::Services { struct ClientAssertion; }
16// clang-format on
17
18namespace Bedrock::Services {
19
20class AzureGetTokenHttpCall {
21public:
22 // member variables
23 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 AzureGetTokenHttpCall& operator=(AzureGetTokenHttpCall const&);
33 AzureGetTokenHttpCall(AzureGetTokenHttpCall const&);
34 AzureGetTokenHttpCall();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39#ifdef LL_PLAT_S
40 virtual ~AzureGetTokenHttpCall();
41#else // LL_PLAT_C
42 virtual ~AzureGetTokenHttpCall() = default;
43#endif
44
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50#ifdef LL_PLAT_S
51 MCNAPI AzureGetTokenHttpCall(
53 ::Bedrock::Services::ClientAssertion clientAssertionAuth
54 );
55
56 MCNAPI ::Bedrock::Threading::Async<::Bedrock::Services::AzureGetTokenHttpResponse> send(::TaskGroup& taskGroup);
57#endif
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63#ifdef LL_PLAT_S
64 MCNAPI static ::std::optional<::Bedrock::Http::Request> _buildRequest(
65 ::std::string const& url,
66 ::std::string const& clientId,
67 ::std::string const& scope,
68 ::Bedrock::Services::ClientAssertion const& clientAssertionAuth
69 );
70
71 MCNAPI static ::Bedrock::Services::AzureGetTokenHttpResponse _parseResponse(::Bedrock::Http::Response response);
72#endif
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78#ifdef LL_PLAT_S
79 MCNAPI void* $ctor(
81 ::Bedrock::Services::ClientAssertion clientAssertionAuth
82 );
83#endif
84 // NOLINTEND
85
86public:
87 // destructor thunk
88 // NOLINTBEGIN
89 MCNAPI void $dtor();
90 // NOLINTEND
91};
92
93} // namespace Bedrock::Services
Definition Request.h:22
Definition Response.h:7
Definition TaskGroup.h:55
Definition AzureGetTokenHttpResponse.h:7
Definition AzureIdentityConfig.h:7
Definition ClientAssertion.h:7
Definition Alias.h:14