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 ClientAssertion; }
15// clang-format on
16
17namespace Bedrock::Services {
18
19class AzureGetTokenHttpCall {
20public:
21 // member variables
22 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 AzureGetTokenHttpCall& operator=(AzureGetTokenHttpCall const&);
32 AzureGetTokenHttpCall(AzureGetTokenHttpCall const&);
33 AzureGetTokenHttpCall();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38#ifdef LL_PLAT_S
39 virtual ~AzureGetTokenHttpCall();
40#else // LL_PLAT_C
41 virtual ~AzureGetTokenHttpCall() = default;
42#endif
43
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49#ifdef LL_PLAT_S
50 MCNAPI ::Bedrock::Threading::Async<::Bedrock::Services::AzureGetTokenHttpResponse> send(::TaskGroup& taskGroup);
51#endif
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57#ifdef LL_PLAT_S
58 MCNAPI static ::std::optional<::Bedrock::Http::Request> _buildRequest(
59 ::std::string const& url,
60 ::std::string const& clientId,
61 ::std::string const& scope,
62 ::Bedrock::Services::ClientAssertion const& clientAssertionAuth
63 );
64
65 MCNAPI static ::Bedrock::Services::AzureGetTokenHttpResponse _parseResponse(::Bedrock::Http::Response response);
66#endif
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCNAPI void $dtor();
73 // NOLINTEND
74};
75
76} // namespace Bedrock::Services
Definition Request.h:16
Definition Response.h:7
Definition TaskGroup.h:57
Definition AzureGetTokenHttpResponse.h:7
Definition ClientAssertion.h:7
Definition Alias.h:14