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

me.shib.java.lib.jiraclient.ICredentials Maven / Gradle / Ivy

package me.shib.java.lib.jiraclient;

import org.apache.http.HttpRequest;

public interface ICredentials {

    void initialize(RestClient client) throws JiraException;

    /**
     * Sets the Authorization header for the given request.
     *
     * @param req HTTP request to authenticate
     */
    void authenticate(HttpRequest req);

    /**
     * Gets the logon name representing these credentials.
     *
     * @return logon name as a string
     */
    String getLogonName();

    void logout(RestClient client) throws JiraException;
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy