class Credentials implements Comparable<Credentials> {

    public boolean validate(final Protocol protocol, final LoginOptions options) {
        return protocol.validate(this, options);
    }

    public  Credentials();
    public  Credentials(final Credentials copy);
    public  Credentials(final String user);
    public  Credentials(final String user, final String password);
    public  Credentials(final String user, final String password, final String token);

}