9 #ifndef AUTHENTICATORTEMPLATE_H
10 #define AUTHENTICATORTEMPLATE_H
12 #include "CallState.h"
19 static const String& Tag() {
static const String tag=
"AuthenticatorTemplate";
return tag;}
24 String instanceDiscoveryEndpoint_;
25 String authorizeEndpoint_;
26 String tokenEndpoint_;
27 String userRealmEndpoint_;
29 static const String authorizeEndpointTemplate();
30 static const String HOST();
31 static const String TENANT();
34 const String& host()
const {
return host_;}
35 const String& issuer()
const {
return issuer_;}
36 const String& authority()
const {
return authority_;}
37 const String& instanceDiscoveryEndpoint()
const {
return instanceDiscoveryEndpoint_;}
38 const String& authorizeEndpoint()
const {
return authorizeEndpoint_;}
39 const String& tokenEndpoint()
const {
return tokenEndpoint_;}
40 const String& userRealmEndpoint()
const {
return userRealmEndpoint_;}
42 static ptr<AuthenticatorTemplate> createFromHost(
const String& host);
43 void verifyAnotherHostByInstanceDiscoveryAsync(
const String& host,
const String& tenant, CallStatePtr callState);
47 using AuthenticatorTemplatePtr = ptr<AuthenticatorTemplate>;
51 #endif // AUTHENTICATORTEMPLATE_H
Definition: AuthenticatorTemplate.h:17
Definition: AcquireTokenForClientHandler.h:14