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

com.untzuntz.ustackserverapi.auth.AuthenticationInt Maven / Gradle / Ivy

There is a newer version: 2.1.115
Show newest version
package com.untzuntz.ustackserverapi.auth;

import java.util.List;

import org.jboss.netty.handler.codec.http.HttpRequest;

import com.untzuntz.ustackserverapi.APIException;
import com.untzuntz.ustackserverapi.CallParameters;
import com.untzuntz.ustackserverapi.MethodDefinition;
import com.untzuntz.ustackserverapi.params.types.ParameterDefinitionInt;

/**
 * Authentication interface to support authenticating calls to API methods
 * 
 * @author jdanner
 *
 * @param 
 */
public interface AuthenticationInt {

	public T authenticate(MethodDefinition method, HttpRequest req, CallParameters params) throws APIException;
	public List> getAuthenticationParameters();
	public String getAuthenticationDescription();
	public boolean isBasicAuth();
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy