public interface LtiVerifier
| Modifier and Type | Method and Description |
|---|---|
LtiVerificationResult |
verify(javax.servlet.http.HttpServletRequest request,
String secret)
This method will verify the HttpServletRequest.
|
LtiVerificationResult |
verifyParameters(Map<String,String> parameters,
String url,
String method,
String secret)
This method will verify a list of properties (mapped
by key & value).
|
LtiVerificationResult verify(javax.servlet.http.HttpServletRequest request, String secret) throws LtiVerificationException
request - the HttpServletRequest that will be verifiedsecret - the secret to verify the properties withLtiVerificationExceptionLtiVerificationResult verifyParameters(Map<String,String> parameters, String url, String method, String secret) throws LtiVerificationException
parameters - 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.