Class ConfluenceOAuth2AuthenticationContext

java.lang.Object
com.atlassian.confluence.mail.auth.ConfluenceOAuth2AuthenticationContext
All Implemented Interfaces:
com.atlassian.mail.server.auth.AuthenticationContext

public class ConfluenceOAuth2AuthenticationContext extends Object implements com.atlassian.mail.server.auth.AuthenticationContext
A Confluence/Atlassian-flavoured OAuth2 authentication context that uses XOAUTH2 for authentication.
Since:
9.4
  • Method Details

    • getCredentials

      public com.atlassian.mail.server.auth.Credentials getCredentials()
      Specified by:
      getCredentials in interface com.atlassian.mail.server.auth.AuthenticationContext
    • isAuthenticating

      public boolean isAuthenticating()
      Specified by:
      isAuthenticating in interface com.atlassian.mail.server.auth.AuthenticationContext
    • preparePropertiesForSession

      public Properties preparePropertiesForSession(Properties properties)
      Specified by:
      preparePropertiesForSession in interface com.atlassian.mail.server.auth.AuthenticationContext
    • connectService

      public void connectService(javax.mail.Service service) throws javax.mail.MessagingException
      Specified by:
      connectService in interface com.atlassian.mail.server.auth.AuthenticationContext
      Throws:
      javax.mail.MessagingException