13 #include "OAuthConstants.h"
21 const String tokenType = OAuthConstants::oAuthReservedClaim().TokenType;
22 const String accessToken = OAuthConstants::oAuthReservedClaim().AccessToken;
23 const String refreshToken = OAuthConstants::oAuthReservedClaim().RefreshToken;
24 const String resource = OAuthConstants::oAuthReservedClaim().Resource;
25 const String idToken = OAuthConstants::oAuthReservedClaim().IdToken;
26 const String createdOn = OAuthConstants::oAuthReservedClaim().CreatedOn;
27 const String expiresOn = OAuthConstants::oAuthReservedClaim().ExpiresOn;
28 const String expiresIn = OAuthConstants::oAuthReservedClaim().ExpiresIn;
29 const String correlationId =
"correlation_id";
30 const String error = OAuthConstants::oAuthReservedClaim().Error;
31 const String errorDescription = OAuthConstants::oAuthReservedClaim().ErrorDescription;
32 const String errorCodes = OAuthConstants::oAuthReservedClaim().ErrorCodes;
53 String errorDescription;
56 using TokenResponsePtr = ptr<TokenResponse>;
61 const String objectId= OAuthConstants::idTokenClaim().ObjectId;
62 const String subject = OAuthConstants::idTokenClaim().Subject;
63 const String tenantId = OAuthConstants::idTokenClaim().TenantId;
64 const String UPN = OAuthConstants::idTokenClaim().UPN;
65 const String givenName = OAuthConstants::idTokenClaim().GivenName;
66 const String familyName = OAuthConstants::idTokenClaim().FamilyName;
67 const String email = OAuthConstants::idTokenClaim().Email;
68 const String passwordExpiration = OAuthConstants::idTokenClaim().PasswordExpiration;
69 const String passwordChangeUrl = OAuthConstants::idTokenClaim().PasswordChangeUrl;
70 const String identityProvider = OAuthConstants::idTokenClaim().IdentityProvider;
71 const String issuer = OAuthConstants::idTokenClaim().Issuer;
88 long passwordExpiration;
89 String passwordChangeUrl;
90 String identityProvider;
93 using IdTokenPtr = ptr<IdToken>;
98 const String tenantDiscoveryEndpoint=
"tenant_discovery_endpoint";
108 String tenantDiscoveryEndpoint;
110 using InstanceDiscoveryResponsePtr = ptr<InstanceDiscoveryResponse>;
115 const String error = OAuthConstants::oAuthReservedClaim().Error;
116 const String errorDescription = OAuthConstants::oAuthReservedClaim().ErrorDescription;
117 const String errorCodes = OAuthConstants::oAuthReservedClaim().ErrorCodes;
127 String errorDescription;
131 using ErrorResponsePtr = ptr<ErrorResponse>;
Definition: Entities.h:95
Definition: Entities.h:60
Definition: Entities.h:58
Definition: Entities.h:112
Definition: Entities.h:97
Definition: Entities.h:114
Definition: AcquireTokenForClientHandler.h:14
Definition: Entities.h:19
Definition: Entities.h:17