MicrosoftExchangeOAuthProvider Class |
Namespace: CMS.EmailEngine
public class MicrosoftExchangeOAuthProvider : IEmailOAuthProvider
The MicrosoftExchangeOAuthProvider type exposes the following members.
Name | Description | |
---|---|---|
MicrosoftExchangeOAuthProvider |
Name | Description | |
---|---|---|
CustomAuthorizationDialogPath |
Path to custom authorization dialog. Return null to keep the default authorization dialog (~/CMSModules/EmailEngine/Pages/OAuth2AccessTokenDialog.aspx).
| |
RequiresTenantID |
Indicates if provider is tenant-based.
|
Name | Description | |
---|---|---|
CompleteAuthorization |
Trades the provided authorizationCode for the access token. Stores the access token, token expiration and a refresh token into credentials.
| |
GetAuthorizationUrl |
URL which is used to request an authorization code, which contains all the necessary information (client id, requested scopes, etc..).
The authorization code flow begins with redirecting the user to this URL.
| |
RefreshToken |
Refreshes the EmailOAuthCredentialsAccessToken in the credentials.
|