Class PublicApiCredentials

  • All Implemented Interfaces:
    java.io.Serializable, WebCredentials

    public class PublicApiCredentials
    extends java.lang.Object
    implements WebCredentials
    WebCredentials class for holding information related to authentication when using the public API..
    Author:
    Alex Miller
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PublicApiCredentials​(java.lang.String authenticatorKey, java.lang.String user, java.util.Map<java.lang.String,​java.lang.String[]> outboundHeaders)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • PublicApiCredentials

        public PublicApiCredentials​(java.lang.String authenticatorKey,
                                    java.lang.String user,
                                    java.util.Map<java.lang.String,​java.lang.String[]> outboundHeaders)
        Parameters:
        authenticatorKey - The Gateway specific key
        user - The user name supplied by the gateway
        outboundHeaders - The headers used by the gateway for authentication.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object