Package oauth.signpost.signature
Interface SigningStrategy
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AuthorizationHeaderSigningStrategy
,QueryStringSigningStrategy
Defines how an OAuth signature string is written to a request.
Unlike 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).
-
Method Summary
Modifier and TypeMethodDescriptionwriteSignature
(String signature, HttpRequest request, HttpParameters requestParameters) Writes an OAuth signature and all remaining required parameters to an HTTP message.
-
Method Details
-
writeSignature
Writes an OAuth signature and all remaining required parameters to an HTTP message.- Parameters:
signature
- the signature to writerequest
- the request to signrequestParameters
- the request parameters- Returns:
- whatever has been written to the request, e.g. an Authorization header field
-