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 TypeMethodDescriptionvoidconnectService(javax.mail.Service service) com.atlassian.mail.server.auth.CredentialsbooleanpreparePropertiesForSession(Properties properties)
-
Method Details
-
getCredentials
public com.atlassian.mail.server.auth.Credentials getCredentials()- Specified by:
getCredentialsin interfacecom.atlassian.mail.server.auth.AuthenticationContext
-
isAuthenticating
public boolean isAuthenticating()- Specified by:
isAuthenticatingin interfacecom.atlassian.mail.server.auth.AuthenticationContext
-
preparePropertiesForSession
- Specified by:
preparePropertiesForSessionin interfacecom.atlassian.mail.server.auth.AuthenticationContext
-
connectService
public void connectService(javax.mail.Service service) throws javax.mail.MessagingException - Specified by:
connectServicein interfacecom.atlassian.mail.server.auth.AuthenticationContext- Throws:
javax.mail.MessagingException
-