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 MCNAPI_S ::Bedrock::Threading::Async<::Bedrock::Services::AzureGetTokenHttpResponse> send(::TaskGroup& taskGroup);
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCNAPI_S static ::std::optional<::Bedrock::Http::Request> _buildRequest(
56 ::std::string const& url,
57 ::std::string const& clientId,
58 ::std::string const& scope,
59 ::Bedrock::Services::ClientAssertion const& clientAssertionAuth
60 );
61
62 MCNAPI_S static ::Bedrock::Services::AzureGetTokenHttpResponse _parseResponse(::Bedrock::Http::Response response);
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCNAPI void $dtor();
69 // NOLINTEND
70};
71
72} // namespace Bedrock::Services
Definition Request.h:16
Definition Response.h:13
Definition TaskGroup.h:53
Definition AzureGetTokenHttpResponse.h:7
Definition ClientAssertion.h:7
Definition Alias.h:14