Package io.jmix.email.authentication
Class OAuth2Authenticator
java.lang.Object
jakarta.mail.Authenticator
io.jmix.email.authentication.OAuth2Authenticator
public class OAuth2Authenticator
extends jakarta.mail.Authenticator
Authenticator implementation that uses access token provided by OAuth2TokenProvider.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.mail.PasswordAuthenticationMethods inherited from class jakarta.mail.Authenticator
getDefaultUserName, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingSite
-
Constructor Details
-
OAuth2Authenticator
-
-
Method Details
-
getPasswordAuthentication
protected jakarta.mail.PasswordAuthentication getPasswordAuthentication()- Overrides:
getPasswordAuthenticationin classjakarta.mail.Authenticator
-