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 Details

  • Method Details

    • getPasswordAuthentication

      protected jakarta.mail.PasswordAuthentication getPasswordAuthentication()
      Overrides:
      getPasswordAuthentication in class jakarta.mail.Authenticator