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

com.paypal.base.AuthenticationStrategy Maven / Gradle / Ivy

There is a newer version: LATEST
Show newest version
package com.paypal.base;

import com.paypal.base.credential.ICredential;

/**
 * A Strategy pattern to retrieve {@link ICredential} as any conceivable
 * datatype as required by the application
 * 
 * @param 
 *            Return data type
 * @param 
 *            Operated {@link ICredential}
 */
public interface AuthenticationStrategy {

	/**
	 * Generates Headers {@link ICredential} as any type as chosen by the
	 * implementation
	 * 
	 * @param e
	 *            {@link ICredential} instance
	 * @return T
	 * @throws Exception
	 */
	T generateHeaderStrategy(E e) throws Exception;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy