| Constructor and Description |
|---|
LtiOauthSigner() |
LtiOauthSigner(MessageDigest md) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.HttpRequest |
sign(org.apache.http.HttpRequest request,
String key,
String secret)
This method will return a signed HttpRequest object.
|
Map<String,String> |
signParameters(Map<String,String> parameters,
String key,
String secret,
String url,
String method)
This method will return a list of signed parameters.
|
public LtiOauthSigner()
public LtiOauthSigner(MessageDigest md)
public org.apache.http.HttpRequest sign(org.apache.http.HttpRequest request,
String key,
String secret)
throws LtiSigningException
LtiSignersign in interface LtiSignerrequest - the HttpRequest that will be signedkey - the key that will be added to the request.secret - the secret to be usedLtiSigningExceptionpublic Map<String,String> signParameters(Map<String,String> parameters, String key, String secret, String url, String method) throws LtiSigningException
LtiSignersignParameters in interface LtiSignerparameters - the parameters that will be signed. mapped by key & valuekey - the key that will be added to the request.secret - the secret to be sign the parameters withLtiSigningExceptionCopyright © 2009–2016 IMS Global Learning Consortium. All rights reserved.