Package com.plaid.client.auth
Class ApiKeyAuth
java.lang.Object
com.plaid.client.auth.ApiKeyAuth
- All Implemented Interfaces:
okhttp3.Interceptor
public class ApiKeyAuth
extends java.lang.Object
implements okhttp3.Interceptor
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description ApiKeyAuth(java.lang.String location, java.lang.String paramName)
-
Method Summary
Modifier and Type Method Description java.lang.String
getApiKey()
java.lang.String
getLocation()
java.lang.String
getParamName()
okhttp3.Response
intercept(okhttp3.Interceptor.Chain chain)
void
setApiKey(java.lang.String apiKey)
-
Constructor Details
-
ApiKeyAuth
public ApiKeyAuth(java.lang.String location, java.lang.String paramName)
-
-
Method Details
-
getLocation
public java.lang.String getLocation() -
getParamName
public java.lang.String getParamName() -
getApiKey
public java.lang.String getApiKey() -
setApiKey
public void setApiKey(java.lang.String apiKey) -
intercept
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws java.io.IOException- Specified by:
intercept
in interfaceokhttp3.Interceptor
- Throws:
java.io.IOException
-