Class Credentials


  • public final class Credentials
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String login  
      java.lang.String password  
    • Constructor Summary

      Constructors 
      Constructor Description
      Credentials​(java.lang.String login, java.lang.String password)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String encode()
      The resulting string is base64 encoded (YWxhZGRpbjpvcGVuc2VzYW1l).
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • login

        public final java.lang.String login
      • password

        public final java.lang.String password
    • Constructor Detail

      • Credentials

        public Credentials​(java.lang.String login,
                           java.lang.String password)
    • Method Detail

      • encode

        public java.lang.String encode()
        The resulting string is base64 encoded (YWxhZGRpbjpvcGVuc2VzYW1l).
        Returns:
        encoded string
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object