3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/threading/IAsyncResult.h"
7#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
8#include "mc/network/services/CachedAsyncSource.h"
9#include "mc/network/services/auth/AuthTokenRetrievalType.h"
10#include "mc/options/DiscoveryEnvironment.h"
14namespace Bedrock::Services {
class AzureGetTokenHttpCall; }
15namespace Bedrock::Services {
struct AzureGetTokenHttpResponse; }
16namespace Bedrock::Threading {
struct CachedAsyncRetry; }
19namespace Bedrock::Services {
49 MCNAPI
AuthHelper(::std::string applicationId, ::std::string applicationTenantId,
int maxAuthRetryAttempts);
51 MCNAPI ::std::shared_ptr<
56 ::std::string
const& serviceName
59 MCNAPI ::nonstd::expected<::std::string, ::Bedrock::Threading::CachedAsyncRetry>
62 MCNAPI
void clear(::std::string
const& serviceName);
64 MCNAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::std::string>>
getAuthToken(
65 ::DiscoveryEnvironment environment,
66 ::std::string
const& serviceName,
67 ::Bedrock::Services::AuthTokenRetrievalType authTokenRetrievalType
74 MCNAPI
void*
$ctor(::std::string applicationId, ::std::string applicationTenantId,
int maxAuthRetryAttempts);
Definition EnableNonOwnerReferences.h:7
Definition AuthHelper.h:21
MCAPI ::std::shared_ptr< ::Bedrock::Threading::IAsyncResult<::nonstd::expected<::std::string, ::Bedrock::Threading::CachedAsyncRetry > > > _getAuthToken(int retryCount, ::Bedrock::Services::AzureGetTokenHttpCall azureTokenCall, ::std::string const &serviceName)
MCAPI void clear(::std::string const &serviceName)
static MCAPI void ** $vftable()
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::std::string > > getAuthToken(::DiscoveryEnvironment environment, ::std::string const &serviceName, ::Bedrock::Services::AuthTokenRetrievalType authTokenRetrievalType)
MCAPI ::nonstd::expected<::std::string, ::Bedrock::Threading::CachedAsyncRetry > _handleResponse(int retryCount, ::Bedrock::Services::AzureGetTokenHttpResponse responseInfo)
MCAPI AuthHelper(::std::string applicationId, ::std::string applicationTenantId, int maxAuthRetryAttempts)
MCAPI void * $ctor(::std::string applicationId, ::std::string applicationTenantId, int maxAuthRetryAttempts)
Definition AzureGetTokenHttpCall.h:19
Definition IAsyncResult.h:10
Definition AzureGetTokenHttpResponse.h:7