Package com.jumio.sdk.kyx.authentication
Class Oauth2ApiAuthenticator
java.lang.Object
com.jumio.sdk.kyx.authentication.Oauth2ApiAuthenticator
- All Implemented Interfaces:
ApiAuthenticator
-
Constructor Summary
ConstructorsConstructorDescriptionOauth2ApiAuthenticator
(UsernamePassword usernamePassword, String userAgent, OAuth2ClientApi oAuth2ClientApi) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCredentials
(AccountApi accountApi, WorkflowExecutionsApi apiWorkflowExecutionsApi, PartsApi apiPartsApi, RetrievalApi retrievalApi) org.springframework.http.HttpHeaders
-
Constructor Details
-
Oauth2ApiAuthenticator
public Oauth2ApiAuthenticator(UsernamePassword usernamePassword, String userAgent, OAuth2ClientApi oAuth2ClientApi)
-
-
Method Details
-
addCredentials
public void addCredentials(AccountApi accountApi, WorkflowExecutionsApi apiWorkflowExecutionsApi, PartsApi apiPartsApi, RetrievalApi retrievalApi) - Specified by:
addCredentials
in interfaceApiAuthenticator
-
getAuthenticationHeaders
public org.springframework.http.HttpHeaders getAuthenticationHeaders()- Specified by:
getAuthenticationHeaders
in interfaceApiAuthenticator
-