Shared interfaces and beans for using in LTI libraries
Install it using maven:
./mvnw install- Set your maven installation to work with Github packages, following https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages#authenticating-to-github-packages
Repository info:
<repository>
<id>github-uoc</id>
<name>GitHub UOC Apache Maven Packages</name>
<url>https://maven.pkg.github.com/uoc/java-lti-1.3-core</url>
</repository> - Add the dependency to your
pom.xmlfile:
<dependency>
<groupId>edu.uoc.elc.lti</groupId>
<artifactId>lti-13-core</artifactId>
<version>0.0.2</version>
</dependency>It defines basic interfaces for you to implement in order to adapt the LTI Library to your needs:
-
edu.uoc.lti.claims.ClaimAccessorfor accesing the claims in a JWT -
edu.uoc.lti.oidc.OIDCLaunchSessionfor storing and gettings the attributes of the OIDC Launch -
edu.uoc.lti.accesstoken.AccessTokenRequestBuilderfor creating the access token request.This package comes with two implementations:
edu.uoc.lti.accesstoken.JSONAccessTokenRequestBuilderImplforapplication/jsonrequests (IMS's reference implementation expect this) andedu.uoc.lti.accesstoken.UrlEncodedFormAccessTokenRequestBuilderImplforapplication/x-www-form-urlencodedrequests (IMS certification site expects this). -
edu.uoc.lti.clientcredentials.ClientCredentialsTokenBuilderfor creating the JWT to send to the platform for getting the AccessToken -
edu.uoc.lti.deeplink.DeepLinkingTokenBuilderfor creating the JWT to send to the platform for creating a DeepLink item -
edu.uoc.lti.ags.LineItemServiceClientfor accesing Assignment and Grades Service's Line Item Service -
edu.uoc.lti.ags.ResultServiceClientfor accesing Assignment and Grades Service's Result Service -
edu.uoc.lti.ags.ScoreServiceClientfor accessing Assignment and Grades Service's Score Publish Service
Thanks for being interested in this project. The way of contributing is the common for almost all projects:
- Fork the project to your account
- Implement your changes
- Make a pull request
If you need further information contact to xaracil at uoc dot edu