public class GoogleOauthSmtpAuthentication extends Object implements SmtpAuthentication
Constructor and Description |
---|
GoogleOauthSmtpAuthentication(info.magnolia.keystore.registry.PasswordRegistry passwordRegistry) |
Modifier and Type | Method and Description |
---|---|
javax.mail.Authenticator |
getAuthenticator() |
String |
getClientId() |
String |
getClientSecretKeyStoreId() |
String |
getRefreshTokenKeyStoreId() |
String |
getUser() |
void |
setClientId(String clientId) |
void |
setClientSecretKeyStoreId(String clientSecretKeyStoreId) |
void |
setRefreshTokenKeyStoreId(String refreshTokenKeyStoreId) |
void |
setUser(String user) |
@Inject public GoogleOauthSmtpAuthentication(info.magnolia.keystore.registry.PasswordRegistry passwordRegistry)
public javax.mail.Authenticator getAuthenticator()
getAuthenticator
in interface SmtpAuthentication
public String getUser()
getUser
in interface SmtpAuthentication
public void setUser(String user)
public String getClientId()
public void setClientId(String clientId)
public String getRefreshTokenKeyStoreId()
public void setRefreshTokenKeyStoreId(String refreshTokenKeyStoreId)
public String getClientSecretKeyStoreId()
public void setClientSecretKeyStoreId(String clientSecretKeyStoreId)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.