public interface LtiSigner
| 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.
|
org.apache.http.HttpRequest sign(org.apache.http.HttpRequest request,
String key,
String secret)
throws LtiSigningException
request - the HttpRequest that will be signedkey - the key that will be added to the request.secret - the secret to be usedLtiSigningExceptionMap<String,String> signParameters(Map<String,String> parameters, String key, String secret, String url, String method) throws LtiSigningException
parameters - 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.