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

    Nested classes/interfaces inherited from interface okhttp3.Interceptor

    okhttp3.Interceptor.Chain
  • 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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface okhttp3.Interceptor
      Throws:
      java.io.IOException