Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.paypal.base.nvp;
 
 import java.util.Map;
 
CertificateHttpHeaderAuthStrategy is an implementation of AuthenticationStrategy which acts on com.paypal.base.credential.SignatureCredential and retrieves them as HTTP headers
public class SignatureHttpHeaderAuthStrategy extends
SignatureHttpHeaderAuthStrategy

Parameters:
endPointUrl
	public SignatureHttpHeaderAuthStrategy(String endPointUrl) {
		super(endPointUrl);
	}

			throws OAuthException {
		Map<StringStringheaders = new HashMap<StringString>();
		String authString = OAuthSignature.getFullAuthString(
				sigCred.getUserName(), sigCred.getPassword(),
				tokenAuth.getAccessToken(), tokenAuth.getTokenSecret(),
		return headers;
	}
New to GrepCode? Check out our FAQ X