3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/threading/Async.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 {
struct AzureGetTokenHttpResponse; }
15namespace Bedrock::Threading {
struct CachedAsyncRetry; }
18namespace Bedrock::Services {
48 MCNAPI
AuthHelper(::std::string applicationId, ::std::string applicationTenantId,
int maxAuthRetryAttempts);
50 MCNAPI ::nonstd::expected<::std::string, ::Bedrock::Threading::CachedAsyncRetry>
54 ::DiscoveryEnvironment environment,
55 ::std::string
const& serviceName,
56 ::Bedrock::Services::AuthTokenRetrievalType authTokenRetrievalType
63 MCNAPI
void*
$ctor(::std::string applicationId, ::std::string applicationTenantId,
int maxAuthRetryAttempts);
Definition EnableNonOwnerReferences.h:7
Definition AuthHelper.h:20
MCAPI ::Bedrock::Threading::Async<::std::string > getAuthToken(::DiscoveryEnvironment environment, ::std::string const &serviceName, ::Bedrock::Services::AuthTokenRetrievalType authTokenRetrievalType)
static MCAPI void ** $vftable()
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 AzureGetTokenHttpResponse.h:7