Class ClientCredentialsLoginHelper
- java.lang.Object
-
- org.wso2.carbon.inbound.salesforce.poll.ClientCredentialsLoginHelper
-
public class ClientCredentialsLoginHelper extends Object
Helper to obtain OAuth2 access token using Client Credentials grant type. Handles token exchange and provides BayeuxParameters with bearer token.
-
-
Constructor Summary
Constructors Constructor Description ClientCredentialsLoginHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BayeuxParameterslogin(String clientId, String clientSecret, URL tokenEndpoint, BayeuxParameters parameters)Obtain OAuth2 access token via Client Credentials grant and return BayeuxParameters
-
-
-
Method Detail
-
login
public static BayeuxParameters login(String clientId, String clientSecret, URL tokenEndpoint, BayeuxParameters parameters) throws Exception
Obtain OAuth2 access token via Client Credentials grant and return BayeuxParameters- Throws:
Exception
-
-