Class Credentials

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

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

      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​(@Nonnull
                           java.lang.String login,
                           java.lang.String password)
    • Method Detail

      • encode

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

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