Interface AuthMethod

All Superinterfaces:
java.lang.Comparable<AuthMethod>
All Known Implementing Classes:
AbstractAuthMethod, JWTAuthMethod, SignatureAuthMethod, TokenAuthMethod

public interface AuthMethod
extends java.lang.Comparable<AuthMethod>
  • Method Summary

    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 requestBuilder)
    Apply the authentication to the header as basic authentication.
    org.apache.http.client.methods.RequestBuilder applyAsJsonProperties​(org.apache.http.client.methods.RequestBuilder requestBuilder)
    Apply the authentication by adding it to the entity payload.
    int getSortKey()  

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Method Details

    • apply

      org.apache.http.client.methods.RequestBuilder apply​(org.apache.http.client.methods.RequestBuilder request)
    • applyAsBasicAuth

      org.apache.http.client.methods.RequestBuilder applyAsBasicAuth​(org.apache.http.client.methods.RequestBuilder requestBuilder)
      Apply the authentication to the header as basic authentication.
      Parameters:
      requestBuilder - The request being built
      Returns:
      RequestBuilder for more building of the request.
    • applyAsJsonProperties

      org.apache.http.client.methods.RequestBuilder applyAsJsonProperties​(org.apache.http.client.methods.RequestBuilder requestBuilder)
      Apply the authentication by adding it to the entity payload.
      Parameters:
      requestBuilder - The request being built
      Returns:
      RequestBuilder for more building of the request.
    • getSortKey

      int getSortKey()