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.xml
file:
<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.ClaimAccessor
for accesing the claims in a JWT -
edu.uoc.lti.oidc.OIDCLaunchSession
for storing and gettings the attributes of the OIDC Launch -
edu.uoc.lti.accesstoken.AccessTokenRequestBuilder
for creating the access token request.This package comes with two implementations:
edu.uoc.lti.accesstoken.JSONAccessTokenRequestBuilderImpl
forapplication/json
requests (IMS's reference implementation expect this) andedu.uoc.lti.accesstoken.UrlEncodedFormAccessTokenRequestBuilderImpl
forapplication/x-www-form-urlencoded
requests (IMS certification site expects this). -
edu.uoc.lti.clientcredentials.ClientCredentialsTokenBuilder
for creating the JWT to send to the platform for getting the AccessToken -
edu.uoc.lti.deeplink.DeepLinkingTokenBuilder
for creating the JWT to send to the platform for creating a DeepLink item -
edu.uoc.lti.ags.LineItemServiceClient
for accesing Assignment and Grades Service's Line Item Service -
edu.uoc.lti.ags.ResultServiceClient
for accesing Assignment and Grades Service's Result Service -
edu.uoc.lti.ags.ScoreServiceClient
for 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