public class ExchangeConnectionCallback extends BaseConnectionCallback implements ConnectionCallback
ConnectionCallbackCDATA_ACCESS_TOKEN_PROP, CDATA_EXP_PROP, CDATA_REFRESH_TOKEN_PROP, CDATA_TIMESTAMP_PROP, CONNECTION_CALLBACK_PROP, INITIATE_OAUTH_PROP, OAUTH_ACCESS_TOKEN_PROP, OAUTH_AUTH_CODE_PROP, OAUTH_CALLBACK_URL_PROP, OAUTH_CLIENT_ID_PROP, OAUTH_CLIENT_SECRET_PROP, OAUTH_EXPIRES_IN_PROP, OAUTH_REFRESH_TOKEN_PROP, OAUTH_SCOPE_PROP, OAUTH_SETTINGS_LOCATION_PROP| Constructor and Description |
|---|
ExchangeConnectionCallback() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
after(Connection connection,
Alias alias,
Properties properties)
The callback function executed after connection is established.
|
TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> |
before(Alias alias,
Properties properties)
The callback function executed before connection is established.
|
getAccessToken, getConfigFileName, savepublic TypedKeyValue<TypedKeyValue<Properties,Alias>,Boolean> before(Alias alias, Properties properties) throws Exception
ConnectionCallbackbefore in interface ConnectionCallbackalias - the aliasproperties - the connection propertiesException - in case of any errorpublic boolean after(Connection connection,
Alias alias,
Properties properties)
throws Exception
ConnectionCallbackafter in interface ConnectionCallbackconnection - the connectionalias - the aliasproperties - the propertiesException - in case of any errorCopyright © 2010-2020 Toolsverse. All Rights Reserved.