9 #ifndef OAUTHCONSTANTS_H
10 #define OAUTHCONSTANTS_H
19 const String ResponseType =
"response_type";
20 const String GrantType =
"grant_type";
21 const String ClientId =
"client_id";
22 const String ClientSecret =
"client_secret";
24 const String ClientAssertionType =
"client_assertion_type";
25 const String RefreshToken =
"refresh_token";
26 const String RedirectUri =
"redirect_uri";
27 const String Resource =
"resource";
28 const String Code =
"code";
29 const String Scope =
"scope";
30 const String Assertion =
"assertion";
31 const String RequestedTokenUse =
"requested_token_use";
32 const String Username =
"username";
33 const String Password =
"password";
34 const String FormsAuth =
"amr_values";
35 const String LoginHint =
"login_hint";
36 const String CorrelationId =
"client-request-id";
37 const String Prompt =
"prompt";
43 return oAuthParameter;
47 const String AuthorizationCode =
"authorization_code";
48 const String RefreshToken =
"refresh_token";
49 const String ClientCredentials =
"client_credentials";
50 const String Saml11Bearer =
"urn:ietf:params:oauth:grant-type:saml1_1-bearer";
51 const String Saml20Bearer =
"urn:ietf:params:oauth:grant-type:saml2-bearer";
52 const String JwtBearer =
"urn:ietf:params:oauth:grant-type:jwt-bearer";
53 const String Password =
"password";
59 return oAuthGrantType;
64 const String Code =
"code";
71 return oAuthResponseType;
75 const String Code =
"code";
76 const String TokenType =
"token_type";
77 const String AccessToken =
"access_token";
78 const String RefreshToken =
"refresh_token";
79 const String Resource =
"resource";
80 const String
IdToken =
"id_token";
81 const String CreatedOn =
"created_on";
82 const String ExpiresOn =
"expires_on";
83 const String ExpiresIn =
"expires_in";
84 const String Error =
"error";
85 const String ErrorDescription =
"error_description";
86 const String ErrorCodes =
"error_codes";
92 return oAuthReservedClaim;
97 const String ObjectId =
"oid";
98 const String Subject =
"sub";
99 const String TenantId =
"tid";
100 const String UPN =
"upn";
101 const String Email =
"email";
102 const String GivenName =
"given_name";
103 const String FamilyName =
"family_name";
104 const String IdentityProvider =
"idp";
105 const String Issuer =
"iss";
106 const String PasswordExpiration =
"pwd_exp";
107 const String PasswordChangeUrl =
"pwd_url";
118 const String JwtBearer =
"urn:ietf:params:oauth:client-assertion-type:jwt-bearer";
124 return oAuthAssertionType;
129 const String OnBehalfOf =
"on_behalf_of";
135 return oAuthRequestedTokenUse;
140 const String CorrelationId =
"client-request-id";
141 const String RequestCorrelationIdInResponse =
"return-client-request-id";
152 const String LoginRequired =
"login_required";
153 const String InvalidGrant =
"invalid_grant";
164 const String FormsAuth =
"pwd";
165 const String ScopeOpenId =
"openid";
176 const String Login =
"login";
177 const String RefreshSession =
"refresh_session";
181 const String AttemptNone =
"attempt_none";
193 #endif // OAUTHCONSTANTS_H
Definition: OAuthConstants.h:46
Definition: ClientAssertion.h:16
Definition: OAuthConstants.h:62
Definition: OAuthConstants.h:74
Definition: OAuthConstants.h:16
Definition: OAuthConstants.h:18
Definition: Entities.h:58
Definition: OAuthConstants.h:151
Definition: OAuthConstants.h:128
Definition: OAuthConstants.h:163
Definition: OAuthConstants.h:175
Definition: AcquireTokenForClientHandler.h:14
Definition: OAuthConstants.h:117
Definition: OAuthConstants.h:96