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/IAsyncResult.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
20public:
21 // member variables
22 // NOLINTBEGIN
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 // vIndex: 0
39 virtual ~AzureGetTokenHttpCall();
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
46 ::std::string tenantId,
47 ::std::string clientId,
48 ::std::string scope,
49 ::Bedrock::Services::ClientAssertion clientAssertionAuth
50 );
51
52 MCNAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::Bedrock::Services::AzureGetTokenHttpResponse>>
53 send(::TaskGroup& taskGroup);
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCNAPI static ::std::optional<::Bedrock::Http::Request> _buildRequest(
60 ::std::string const& url,
61 ::std::string const& clientId,
62 ::std::string const& scope,
63 ::Bedrock::Services::ClientAssertion const& clientAssertionAuth
64 );
65
66 MCNAPI static ::Bedrock::Services::AzureGetTokenHttpResponse _parseResponse(::Bedrock::Http::Response response);
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCNAPI void* $ctor(
73 ::std::string tenantId,
74 ::std::string clientId,
75 ::std::string scope,
76 ::Bedrock::Services::ClientAssertion clientAssertionAuth
77 );
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCNAPI void $dtor();
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
92
93} // namespace Bedrock::Services
Definition Response.h:13
Definition AzureGetTokenHttpCall.h:19
MCAPI void * $ctor(::std::string tenantId, ::std::string clientId, ::std::string scope, ::Bedrock::Services::ClientAssertion clientAssertionAuth)
MCAPI AzureGetTokenHttpCall(::std::string tenantId, ::std::string clientId, ::std::string scope, ::Bedrock::Services::ClientAssertion clientAssertionAuth)
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::Bedrock::Services::AzureGetTokenHttpResponse > > send(::TaskGroup &taskGroup)
static MCAPI ::Bedrock::Services::AzureGetTokenHttpResponse _parseResponse(::Bedrock::Http::Response response)
static MCAPI ::std::optional<::Bedrock::Http::Request > _buildRequest(::std::string const &url, ::std::string const &clientId, ::std::string const &scope, ::Bedrock::Services::ClientAssertion const &clientAssertionAuth)
Definition TaskGroup.h:115
Definition ClientAssertion.h:7
Definition Alias.h:14