Click or drag to resize
IEmailOAuthProviderGetAuthorizationUrl Method
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.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax
C#
string GetAuthorizationUrl(
	string redirectUrl,
	string state,
	EmailOAuthCredentialsInfo credentials
)

Parameters

redirectUrl
Type: SystemString
URL that OAuth provider should redirect to whilst providing the authorization code ("redirect_uri" parameter).
state
Type: SystemString
Represents a "state" parameter which is used to prevent CSRF attacks.
credentials
Type: CMS.EmailEngineEmailOAuthCredentialsInfo
Credentials to use.

Return Value

Type: String
See Also