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

io.apimatic.coreinterfaces.authentication.Authentication Maven / Gradle / Ivy

Go to download

An abstract layer of the functionalities provided by apimatic-core-library, okhttp-client-adapter and APIMatic SDKs.

There is a newer version: 0.3.1
Show newest version
package io.apimatic.coreinterfaces.authentication;

import io.apimatic.coreinterfaces.http.request.Request;

/**
 * To setup methods for authentication
 */
public interface Authentication {

    /**
     * Apply the authentication on the httpRequest
     * @param httpRequest the request on which authentication is being applied
     * @return the authenticated request
     */
    Request apply(Request httpRequest);

    /**
     * Validates the auth params for the httpRequest
     */
    void validate();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy