Class Microsoft365TokenProvider
java.lang.Object
com.logicaldoc.core.communication.oauth.Microsoft365TokenProvider
- All Implemented Interfaces:
TokenProvider
A TokenProvider used to access the Exchange Online (Microsoft 365)
- Since:
- 8.9.3
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
ConstructorDescriptionMicrosoft365TokenProvider
(String clientSecret, String clientId, String clientTenant) Constructor -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the access token for a given email account
-
Constructor Details
-
Microsoft365TokenProvider
Constructor- Parameters:
clientSecret
- the client SecretclientId
- the client IDclientTenant
- the client Tenant
-
-
Method Details
-
getAccessToken
Description copied from interface:TokenProvider
Retrieves the access token for a given email account- Specified by:
getAccessToken
in interfaceTokenProvider
- Returns:
- The access token
- Throws:
IOException
- Error retrieving the token
-