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, setRequestParameters
protected String buildTokenRequestPayload(MessageContext messageContext) throws AuthException
OAuthHandler
buildTokenRequestPayload
in class OAuthHandler
AuthException
protected org.apache.axiom.om.OMElement serializeSpecificOAuthConfigs(org.apache.axiom.om.OMFactory omFactory)
OAuthHandler
serializeSpecificOAuthConfigs
in class OAuthHandler
public String getRefreshToken()
Copyright © 2005–2024 Apache Software Foundation. All rights reserved.