9 #ifndef ACQUIRETOKENNONINTERACTIVEHANDLER_H
10 #define ACQUIRETOKENNONINTERACTIVEHANDLER_H
12 #include "AcquireTokenHandlerBase.h"
13 #include "UserCredential.h"
14 #include "UserAssertion.h"
15 #include "UserIdentifier.h"
16 #include "Exceptions.h"
17 #include "Constants.h"
18 #include "AuthorizationResult.h"
24 static const String& Tag() {
static const String tag=
"AcquireTokenNonInteractiveHandler";
return tag;}
26 UserCredentialPtr userCredential_ =
nullptr;
27 UserAssertionPtr userAssertion_ =
nullptr;
30 AcquireTokenNonInteractiveHandler(AuthenticatorPtr authenticator, TokenCachePtr tokenCache,
const String& resource,
const String& clientId, UserCredentialPtr userCredential,
bool callSync);
31 AcquireTokenNonInteractiveHandler(AuthenticatorPtr authenticator, TokenCachePtr tokenCache,
const String& resource,
const String& clientId, UserAssertionPtr userAssertion,
bool callSync);
34 void addAditionalRequestParameters(
RequestParameters& requestParameters)
override;
35 void preRunAsync()
override;
36 void preTokenRequest()
override;
41 #endif // ACQUIRETOKENNONINTERACTIVEHANDLER_H
Definition: RequestParameters.h:18
Definition: AcquireTokenNonInteractiveHandler.h:22
Definition: AcquireTokenHandlerBase.h:29
Definition: AcquireTokenForClientHandler.h:14