@Generated(value="Mule DevKit Version 3.9.7", date="2019-10-18T01:45:55+02:00", comments="Build mule-devkit-3.9.7.2818.62a60e1") public class BoxConnectorOAuthManager extends org.mule.security.oauth.BaseOAuth2Manager<org.mule.security.oauth.OAuth2Adapter>
BoxConnectorOAuthManager
is a wrapper around BoxConnector
that adds access token management capabilities to the pojo.Constructor and Description |
---|
BoxConnectorOAuthManager() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.pool.KeyedPoolableObjectFactory |
createPoolFactory(org.mule.security.oauth.OAuth2Manager<org.mule.security.oauth.OAuth2Adapter> oauthManager,
org.mule.api.store.ObjectStore<Serializable> objectStore) |
protected void |
fetchCallbackParameters(org.mule.security.oauth.OAuth2Adapter adapter,
String response) |
String |
getBaseUrl()
Retrieves baseUrl
|
protected org.slf4j.Logger |
getLogger() |
String |
getUploadUrl()
Retrieves uploadUrl
|
boolean |
getUseGzip()
Retrieves useGzip
|
protected org.mule.security.oauth.OAuth2Adapter |
instantiateAdapter() |
protected Set<Class<? extends Exception>> |
refreshAccessTokenOn() |
void |
setBaseUrl(String value)
Sets baseUrl
|
void |
setClientId(String value)
Sets clientId
|
void |
setClientSecret(String value)
Sets clientSecret
|
protected void |
setCustomProperties(org.mule.security.oauth.OAuth2Adapter adapter) |
void |
setOnNoToken(org.mule.security.oauth.OnNoTokenPolicy policy) |
void |
setUploadUrl(String value)
Sets uploadUrl
|
void |
setUseGzip(boolean value)
Sets useGzip
|
acquireAccessToken, buildAuthorizeUrl, createAdapter, destroyAccessToken, dispose, fetchAccessToken, getAccessTokenObjectStore, getAccessTokenPoolFactory, getApplicationName, getConsumerKey, getConsumerSecret, getDefaultAccessTokenId, getDefaultUnauthorizedConnector, getFlowConstruct, getMuleContext, getName, getOnNoTokenPolicy, getProcessTemplate, getScope, hasBeenAuthorized, initialise, isCapableOf, postAuth, refreshAccessToken, releaseAccessToken, restoreAuthorizationEvent, setAccessTokenObjectStore, setAccessTokenPool, setAccessTokenUrl, setApplicationName, setAuthorizationUrl, setConsumerKey, setConsumerSecret, setDefaultAccessTokenId, setDefaultUnauthorizedConnector, setFlowConstruct, setHttpUtil, setMuleContext, setName, setOauthResponseParser, setOnNoTokenPolicy, setRefreshTokenManager, setScope, start, stop, storeAuthorizationEvent
getAsync, getConnector, getDomain, getLocalPort, getPath, getRemotePort, setAsync, setConnector, setDomain, setLocalPort, setPath, setRemotePort
protected org.slf4j.Logger getLogger()
getLogger
in class org.mule.security.oauth.BaseOAuth2Manager<org.mule.security.oauth.OAuth2Adapter>
public void setClientId(String value)
key
- to setpublic void setClientSecret(String value)
secret
- to setpublic void setBaseUrl(String value)
scope
- to setpublic String getBaseUrl()
public void setUploadUrl(String value)
scope
- to setpublic String getUploadUrl()
public void setUseGzip(boolean value)
scope
- to setpublic boolean getUseGzip()
protected org.mule.security.oauth.OAuth2Adapter instantiateAdapter()
instantiateAdapter
in class org.mule.security.oauth.BaseOAuth2Manager<org.mule.security.oauth.OAuth2Adapter>
protected org.apache.commons.pool.KeyedPoolableObjectFactory createPoolFactory(org.mule.security.oauth.OAuth2Manager<org.mule.security.oauth.OAuth2Adapter> oauthManager, org.mule.api.store.ObjectStore<Serializable> objectStore)
createPoolFactory
in class org.mule.security.oauth.BaseOAuth2Manager<org.mule.security.oauth.OAuth2Adapter>
protected void setCustomProperties(org.mule.security.oauth.OAuth2Adapter adapter)
setCustomProperties
in class org.mule.security.oauth.BaseOAuth2Manager<org.mule.security.oauth.OAuth2Adapter>
protected void fetchCallbackParameters(org.mule.security.oauth.OAuth2Adapter adapter, String response)
fetchCallbackParameters
in class org.mule.security.oauth.BaseOAuth2Manager<org.mule.security.oauth.OAuth2Adapter>
public void setOnNoToken(org.mule.security.oauth.OnNoTokenPolicy policy)
Copyright © 2010–2019. All rights reserved.