public class LtiOauthVerifier extends Object implements LtiVerifier
| Modifier and Type | Field and Description |
|---|---|
static String |
OAUTH_KEY_PARAMETER |
| Constructor and Description |
|---|
LtiOauthVerifier() |
| Modifier and Type | Method and Description |
|---|---|
LtiVerificationResult |
verify(javax.servlet.http.HttpServletRequest request,
String secret)
This method verifies the signed HttpServletRequest
|
LtiVerificationResult |
verifyParameters(Map<String,String> parameters,
String url,
String method,
String secret)
This method will verify a collection of parameters
|
public static final String OAUTH_KEY_PARAMETER
public LtiVerificationResult verify(javax.servlet.http.HttpServletRequest request, String secret) throws LtiVerificationException
verify in interface LtiVerifierrequest - the HttpServletRequest that will be verifiedsecret - the secret to verify the properties withLtiVerificationExceptionpublic LtiVerificationResult verifyParameters(Map<String,String> parameters, String url, String method, String secret) throws LtiVerificationException
verifyParameters in interface LtiVerifierparameters - the parameters that will be verified. mapped by key & valueurl - the url this request was made atmethod - the method this url was requested withsecret - the secret to verify the propertihes withLtiVerificationExceptionCopyright © 2009–2016 IMS Global Learning Consortium. All rights reserved.