Interface TokenProvider
- All Known Implementing Classes:
Microsoft365TokenProvider
public interface TokenProvider
For connecting to the mail store via IMAP or SMTP using OAuth 2.0 authentication,
one shall first obtain an access token.
- Since:
- 8.9.3
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the access token for a given email account
-
Method Details
-
getAccessToken
Retrieves the access token for a given email account- Returns:
- The access token
- Throws:
IOException
- Error retrieving the token
-