public class AuthorizationCodeHandler extends OAuthHandler
| Constructor and Description |
|---|
AuthorizationCodeHandler(String tokenApiUrl,
String clientId,
String clientSecret,
String refreshToken,
String authMode) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildTokenRequestPayload(MessageContext messageContext)
Return the request payload relevant to the OAuth handler.
|
String |
getRefreshToken()
Return the refresh token secret relevant to the Authorization Code Handler.
|
protected org.apache.axiom.om.OMElement |
serializeSpecificOAuthConfigs(org.apache.axiom.om.OMFactory omFactory)
Return the OMElement for OAuth configuration relevant to the OAuth handler.
|
getAuthMode, getAuthType, getClientId, getClientSecret, getEncodedCredentials, getRequestParametersAsString, getRequestParametersMap, getTokenUrl, removeTokenFromCache, serializeOAuthConfiguration, setAuthHeader, setRequestParametersprotected String buildTokenRequestPayload(MessageContext messageContext) throws AuthException
OAuthHandlerbuildTokenRequestPayload in class OAuthHandlerAuthExceptionprotected org.apache.axiom.om.OMElement serializeSpecificOAuthConfigs(org.apache.axiom.om.OMFactory omFactory)
OAuthHandlerserializeSpecificOAuthConfigs in class OAuthHandlerpublic String getRefreshToken()
Copyright © 2005–2024 Apache Software Foundation. All rights reserved.