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 Summary
Modifier and TypeMethodDescriptionvoid
connectService
(javax.mail.Service service) com.atlassian.mail.server.auth.Credentials
boolean
preparePropertiesForSession
(Properties properties)
-
Method Details
-
getCredentials
public com.atlassian.mail.server.auth.Credentials getCredentials()- Specified by:
getCredentials
in interfacecom.atlassian.mail.server.auth.AuthenticationContext
-
isAuthenticating
public boolean isAuthenticating()- Specified by:
isAuthenticating
in interfacecom.atlassian.mail.server.auth.AuthenticationContext
-
preparePropertiesForSession
- Specified by:
preparePropertiesForSession
in interfacecom.atlassian.mail.server.auth.AuthenticationContext
-
connectService
public void connectService(javax.mail.Service service) throws javax.mail.MessagingException - Specified by:
connectService
in interfacecom.atlassian.mail.server.auth.AuthenticationContext
- Throws:
javax.mail.MessagingException
-