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

oauth.signpost.signature.SigningStrategy Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
package oauth.signpost.signature;

import java.io.Serializable;

import oauth.signpost.http.HttpRequest;
import oauth.signpost.http.HttpParameters;

/**
 * 

* Defines how an OAuth signature string is written to a request. *

*

* Unlike {@link OAuthMessageSigner}, which is concerned with how to * generate a signature, this class is concered with where to write it * (e.g. HTTP header or query string). *

* * @author Matthias Kaeppler */ public interface SigningStrategy extends Serializable { /** * Writes an OAuth signature and all remaining required parameters to an * HTTP message. * * @param signature * the signature to write * @param request * the request to sign * @param requestParameters * the request parameters * @return whatever has been written to the request, e.g. an Authorization * header field */ String writeSignature(String signature, HttpRequest request, HttpParameters requestParameters); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy