ResourceOwnerOAuthContextWithRefreshState instead.@Deprecated public final class DefaultResourceOwnerOAuthContext extends Object implements org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContext, Serializable
| Constructor and Description |
|---|
DefaultResourceOwnerOAuthContext(Lock refreshUserOAuthContextLock,
String resourceOwnerId)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessToken()
Deprecated.
|
org.mule.runtime.oauth.api.state.DancerState |
getDancerState()
Deprecated.
|
String |
getExpiresIn()
Deprecated.
|
Lock |
getRefreshOAuthContextLock(String lockNamePrefix,
org.mule.runtime.api.lock.LockFactory lockFactory)
Deprecated.
|
String |
getRefreshToken()
Deprecated.
|
Lock |
getRefreshUserOAuthContextLock()
Deprecated.
|
String |
getResourceOwnerId()
Deprecated.
|
String |
getState()
Deprecated.
|
Map<String,Object> |
getTokenResponseParameters()
Deprecated.
|
void |
setAccessToken(String accessToken)
Deprecated.
|
void |
setDancerState(org.mule.runtime.oauth.api.state.DancerState dancerState)
Deprecated.
|
void |
setExpiresIn(String expiresIn)
Deprecated.
|
void |
setRefreshToken(String refreshToken)
Deprecated.
|
void |
setRefreshUserOAuthContextLock(Lock refreshUserOAuthContextLock)
Deprecated.
|
void |
setState(String state)
Deprecated.
|
void |
setTokenResponseParameters(Map<String,Object> tokenResponseParameters)
Deprecated.
|
public String getAccessToken()
getAccessToken in interface org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContextpublic String getRefreshToken()
getRefreshToken in interface org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContextpublic String getState()
getState in interface org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContextpublic void setAccessToken(String accessToken)
public void setRefreshToken(String refreshToken)
public void setExpiresIn(String expiresIn)
public String getExpiresIn()
getExpiresIn in interface org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContextpublic void setState(String state)
public Map<String,Object> getTokenResponseParameters()
getTokenResponseParameters in interface org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContextpublic void setTokenResponseParameters(Map<String,Object> tokenResponseParameters)
public Lock getRefreshUserOAuthContextLock()
public String getResourceOwnerId()
getResourceOwnerId in interface org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContextpublic void setRefreshUserOAuthContextLock(Lock refreshUserOAuthContextLock)
public org.mule.runtime.oauth.api.state.DancerState getDancerState()
getDancerState in interface org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContextpublic void setDancerState(org.mule.runtime.oauth.api.state.DancerState dancerState)
setDancerState in interface org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContextCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.