UserCredentials

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(username: String, password: String): Either[InvalidInput, UserCredentials]

Constructs an instance with provided @param username and @param password. Input is validated for being non-empty and not containing the character :.

Constructs an instance with provided @param username and @param password. Input is validated for being non-empty and not containing the character :.