Package io.jmix.email
Class EmailerProperties.OAuth2
java.lang.Object
io.jmix.email.EmailerProperties.OAuth2
- Enclosing class:
- EmailerProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StringClient id of application to connect via OAuth2protected final booleanWhether the OAuth2 authentication is enabledprotected final StringName of SMTP server provider.protected final StringRefresh token value to get access token.protected final StringSecret of application to connect via OAuth2protected final StringTenant id used to connect to application provided by Microsoft -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Field Details
-
enabled
protected final boolean enabledWhether the OAuth2 authentication is enabled -
provider
Name of SMTP server provider.Available values: google, microsoft
-
clientId
Client id of application to connect via OAuth2 -
secret
Secret of application to connect via OAuth2 -
refreshToken
Refresh token value to get access token. This value will be used if no refresh token is stored in database. -
tenantId
Tenant id used to connect to application provided by Microsoft
-
-
Constructor Details
-
OAuth2
-
-
Method Details