Class AbstractAuthMethod

java.lang.Object
com.vonage.client.auth.AbstractAuthMethod
All Implemented Interfaces:
AuthMethod, java.lang.Comparable<AuthMethod>
Direct Known Subclasses:
JWTAuthMethod, SignatureAuthMethod, TokenAuthMethod

public abstract class AbstractAuthMethod
extends java.lang.Object
implements AuthMethod
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractAuthMethod()  
  • Method Summary

    Modifier and Type Method Description
    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 compareTo​(AuthMethod other)  
    abstract int getSortKey()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vonage.client.auth.AuthMethod

    apply