public class RefreshAccessTokenWithExpiry extends RefreshAccessToken
ACCEPT_ENCODING, CACHE_CONTROL, PRAGMA, PROPERTY_PREFIX
Constructor and Description |
---|
RefreshAccessTokenWithExpiry() |
Modifier and Type | Method and Description |
---|---|
void |
connect(org.apache.synapse.MessageContext messageContext)
implements the connection logic to external API or custom service pattern
|
extractAndSetPropertyAndRegistryResource, getPostData, handleRefresh, reuseSavedAccessToken
getParameter, mediate
auditLog, auditWarn, configure, disableStatistics, disableTracing, divertMediationRoute, enableStatistics, enableTracing, getAspectConfiguration, getCommentsList, getDescription, getInputType, getLastSequenceFaultHandler, getLog, getMediatorName, getMediatorPosition, getOutputType, getRegisteredMediationFlowPoint, getShortDescription, getTraceState, getType, handleException, handleException, isBreakPoint, isContentAltering, isContentAware, isSkipEnabled, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, isTracingEnabled, registerMediationFlowPoint, reportCloseStatistics, reportOpenStatistics, setBreakPoint, setCommentsList, setComponentStatisticsId, setDescription, setEffectiveTraceState, setMediatorPosition, setShortDescription, setSkipEnabled, setTraceState, shouldCaptureTracing, shouldTrace, shouldTrace, traceOrDebug, traceOrDebugWarn, unregisterMediationFlowPoint
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMediatorName, getMediatorPosition, getShortDescription, getTraceState, getType, isContentAltering, isContentAware, reportCloseStatistics, reportOpenStatistics, setComponentStatisticsId, setMediatorPosition, setShortDescription, setTraceState
public void connect(org.apache.synapse.MessageContext messageContext) throws ConnectException
Connector
connect
in interface Connector
connect
in class RefreshAccessToken
ConnectException
- when error during conenction to APIs or unexpected errorsCopyright © 2022 WSO2. All rights reserved.