public class OAuthSupport extends Object
| Constructor and Description |
|---|
OAuthSupport() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
signProperties(String url,
Map<String,String> props,
String method,
String key,
String secret)
Sign a property Map with OAuth.
|
public static Map<String,String> signProperties(String url, Map<String,String> props, String method, String key, String secret)
url - the url where the request is to be madeprops - the map of properties to signmethod - the HTTP request method, eg POSTkey - the oauth_consumer_keysecret - the shared secretCopyright © 2010–2023 Division of Information, Australian National University. All rights reserved.