Package org.faceless.publisher.ext
Class MailServerExtension.GMailHelper
java.lang.Object
org.faceless.publisher.ext.MailServerExtension.GMailHelper
- Enclosing class:
- MailServerExtension
A static helper class that allows easy creation of configuration for loading messages from Google Mail
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionJson
create()
void
setAuthURI
(String uri) Set the "auth_uri" property to a URLvoid
setClientId
(String id) Set the client id, normally of the form "NNNNN.apps.googleusercontent.com"void
setClientSecret
(String secret) Set the client secretvoid
Set the email accountvoid
setRedirectURI
(String uri) Set the "redirect_uri" property to a URLvoid
Set the Scopevoid
setTokenURI
(String uri) Set the "token_uri" property to a URL
-
Constructor Details
-
GMailHelper
public GMailHelper()
-
-
Method Details
-
create
public Json create() -
setEmail
Set the email account -
setClientId
Set the client id, normally of the form "NNNNN.apps.googleusercontent.com" -
setClientSecret
Set the client secret -
setRedirectURI
Set the "redirect_uri" property to a URL -
setAuthURI
Set the "auth_uri" property to a URL -
setTokenURI
Set the "token_uri" property to a URL -
setScope
Set the Scope
-