Class AbstractOAuth2TokenAuthenticator
java.lang.Object
com.exclamationlabs.connid.base.connector.authenticator.AbstractOAuth2TokenAuthenticator
- All Implemented Interfaces:
Authenticator
- Direct Known Subclasses:
OAuth2TokenAuthorizationCodeAuthenticator,OAuth2TokenClientCredentialsAuthenticator,OAuth2TokenJWTAuthenticator,OAuth2TokenPasswordAuthenticator,OAuth2TokenRefreshTokenAuthenticator
public abstract class AbstractOAuth2TokenAuthenticator extends Object implements Authenticator
Abstract class for several specific OAuth2 grant type implementations.
-
Constructor Summary
Constructors Constructor Description AbstractOAuth2TokenAuthenticator() -
Method Summary
Modifier and Type Method Description protected StringexecuteRequest(ConnectorConfiguration configuration, org.apache.http.client.HttpClient client, org.apache.http.client.methods.HttpPost request, org.apache.http.client.entity.UrlEncodedFormEntity entity, com.google.gson.GsonBuilder gsonBuilder)protected static voidinitializeForHttp()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.exclamationlabs.connid.base.connector.authenticator.Authenticator
authenticate, getAdditionalAuthenticationHeaders, getRequiredPropertyNames
-
Constructor Details
-
AbstractOAuth2TokenAuthenticator
public AbstractOAuth2TokenAuthenticator()
-
-
Method Details
-
executeRequest
protected String executeRequest(ConnectorConfiguration configuration, org.apache.http.client.HttpClient client, org.apache.http.client.methods.HttpPost request, org.apache.http.client.entity.UrlEncodedFormEntity entity, com.google.gson.GsonBuilder gsonBuilder) throws IOException- Throws:
IOException
-
initializeForHttp
protected static void initializeForHttp()
-