Click or drag to resize
MicrosoftExchangeOAuthProvider Class
Represents email OAuth provider for Microsoft Exchange Online.
Inheritance Hierarchy
SystemObject
  CMS.EmailEngineMicrosoftExchangeOAuthProvider

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax
C#
public class MicrosoftExchangeOAuthProvider : IEmailOAuthProvider

The MicrosoftExchangeOAuthProvider type exposes the following members.

Constructors
  NameDescription
Public methodMicrosoftExchangeOAuthProvider
Top
Properties
  NameDescription
Public propertyCustomAuthorizationDialogPath
Path to custom authorization dialog. Return null to keep the default authorization dialog (~/CMSModules/EmailEngine/Pages/OAuth2AccessTokenDialog.aspx).
Public propertyRequiresTenantID
Indicates if provider is tenant-based.
Top
Methods
  NameDescription
Public methodCompleteAuthorization
Trades the provided authorizationCode for the access token. Stores the access token, token expiration and a refresh token into credentials.
Public methodGetAuthorizationUrl
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.
Public methodRefreshToken
Refreshes the EmailOAuthCredentialsAccessToken in the credentials.
Top
See Also