au.edu.anu.portal.portlets.basiclti.support
Class OAuthSupport
java.lang.Object
au.edu.anu.portal.portlets.basiclti.support.OAuthSupport
public class OAuthSupport
- extends Object
A set of OAuth methods
- Author:
- Steve Swinsburg (steve.swinsburg@anu.edu.au)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthSupport
public OAuthSupport()
signProperties
public static Map<String,String> signProperties(String url,
Map<String,String> props,
String method,
String key,
String secret)
- Sign a property Map with OAuth.
- Parameters:
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 secret
- Returns:
Copyright © 2010-2012 Division of Information, Australian National University. All Rights Reserved.