public class OAuthInterceptor extends Object implements RepositoryApiClientInterceptor
| Constructor and Description |
|---|
OAuthInterceptor(String servicePrincipalKey,
com.laserfiche.api.client.model.AccessKey accessKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Since the underlying resource (the HTTP client) won't throw any exception during its close() invocation.
|
void |
onRequest(kong.unirest.HttpRequest<?> request,
kong.unirest.Config config) |
public OAuthInterceptor(String servicePrincipalKey, com.laserfiche.api.client.model.AccessKey accessKey)
public void onRequest(kong.unirest.HttpRequest<?> request,
kong.unirest.Config config)
onRequest in interface kong.unirest.Interceptorpublic void close()
RepositoryApiClientInterceptorclose in interface RepositoryApiClientInterceptorclose in interface AutoCloseableCopyright © 2022. All rights reserved.