Class TokenAuthMethod

    • Constructor Summary

      Constructors 
      Constructor Description
      TokenAuthMethod​(java.lang.String apiKey, java.lang.String apiSecret)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.http.client.methods.RequestBuilder apply​(org.apache.http.client.methods.RequestBuilder request)  
      org.apache.http.client.methods.RequestBuilder applyAsBasicAuth​(org.apache.http.client.methods.RequestBuilder request)
      Apply the authentication to the header as basic authentication.
      org.apache.http.client.methods.RequestBuilder applyAsJsonProperties​(org.apache.http.client.methods.RequestBuilder request)
      Apply the authentication by adding it to the entity payload.
      int getSortKey()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TokenAuthMethod

        public TokenAuthMethod​(java.lang.String apiKey,
                               java.lang.String apiSecret)