Class AuthenticationService
java.lang.Object
io.camunda.connector.http.base.services.AuthenticationService
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationService(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.google.api.client.http.HttpRequestFactory requestFactory) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.client.http.HttpRequestcreateOAuthRequest(HttpCommonRequest request) extractOAuthAccessToken(com.google.api.client.http.HttpResponse oauthResponse) voidfillRequestFromCustomAuthResponseData(HttpCommonRequest request, CustomAuthentication authentication, com.google.api.client.http.HttpResponse httpResponse)
-
Constructor Details
-
AuthenticationService
public AuthenticationService(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.google.api.client.http.HttpRequestFactory requestFactory)
-
-
Method Details
-
extractOAuthAccessToken
public String extractOAuthAccessToken(com.google.api.client.http.HttpResponse oauthResponse) throws IOException - Throws:
IOException
-
fillRequestFromCustomAuthResponseData
public void fillRequestFromCustomAuthResponseData(HttpCommonRequest request, CustomAuthentication authentication, com.google.api.client.http.HttpResponse httpResponse) throws IOException - Throws:
IOException
-
createOAuthRequest
public com.google.api.client.http.HttpRequest createOAuthRequest(HttpCommonRequest request) throws IOException - Throws:
IOException
-