All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.deepsense.neptune.clientlibrary.api.Credentials Maven / Gradle / Ivy

There is a newer version: 1.6.1
Show newest version
/**
 * Copyright (c) 2016, CodiLime Inc.
 */

package io.deepsense.neptune.clientlibrary.api;

import java.util.Optional;

public interface Credentials {

    Optional getUsername();

    Optional getPassword();

    Credentials empty = new Credentials() {
        @Override
        public Optional getUsername() {
            return Optional.empty();
        }

        @Override
        public Optional getPassword() {
            return Optional.empty();
        }
    };
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy