io.apimatic.coreinterfaces.authentication.Authentication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-interfaces Show documentation
Show all versions of core-interfaces Show documentation
An abstract layer of the functionalities provided by apimatic-core-library, okhttp-client-adapter and APIMatic SDKs.
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();
}