Download the PHP package groton-school/slim-lti-partitioned-session without Composer

On this page you can find all versions of the php package groton-school/slim-lti-partitioned-session. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package slim-lti-partitioned-session

groton-school/slim-lti-partitioned-session

Negotiate CHIPS partitioned third party session cookies from an embedded LTI Tool

Latest Version

## Caution This package is likely going to be fragmented into three separate, more-focused packages in the near future: one to [implement a partitioned session cookie version of `Odan\Session\PhpSession`](https://github.com/groton-school/slim-lti-partitioned-session/commit/acc6830582f672d1955a39403a4c00cdce746a4a), one to [negotiate the third-party cookie on the Slim Framework](https://github.com/groton-school/slim-lti-partitioned-session/blob/main/src/RouteBuilder.php), and [one to implement the LTI `LaunchHandler`](https://github.com/groton-school/slim-lti-partitioned-session/blob/main/src/Handlers/LaunchHandler.php) that directs into the third-party cookie negoation.

Install

Use

This implementation expects a default slim-skeleton and relies on groton-school/slim-lti-shim and packbackbooks/lti-1p3-tool for core LTI Tool functionality.

  1. Optionally, implement SettingsInterface -- alternativelyDefaultSettings are available

  2. Define the dependency on either your SettingsInterface implementaton or the DefaultSettings implementation

  3. Inject remaining dependencies

  4. Register the cookie-negotiation routes

groton-school/slim-skeleton@dev-gae/lti-tool

groton-school/slim-skeleton is the canonical example of how this shim is meant to be used.

How

Given the insidiuous prevalance of user-tracking web technologies, and the use of third-party cookies to facilitate them, many browsers have imposed hard limits on the use of third-party cookies. This is awkward, because the LTI standard is built on the assumption that a) third-party cookies will be readily available for the OIDC handshake and launch and b) most resources will be embedded in a third-party IFRAME context.

This package provides a modified LaunchHandler compatible with groton-school/slim-lti-shim that injects a third-party cookie test into the LTI Tool launch. This is paired with the PartitionedSession middleware that ensures that a) all session cookies are sent as both Secure and Partitioned (which is enough for Chromium-based browsers).

If third-party cookies cannot be initially set (as is the case when working with Safari and other WebKit-based browsers using ITP), a more interactive permissions-handshake with the user is required. The package negotiates this handshake and then uses the PartitionedSession middleware to resume the originally-launched LTI Tool session and provide the LTI resource.


All versions of slim-lti-partitioned-session with dependencies

PHP Build Version
Package Version
Requires dflydev/fig-cookies Version ^3.2
groton-school/slim-lti-shim Version ^4.0
groton-school/slim-norms Version ^2.1
odan/session Version ^6.4
php-di/php-di Version ^7.0
psr/container Version ^2.0
psr/http-message Version ^2.0
slim/http Version ^1.4
slim/php-view Version ^3.4
slim/slim Version ^4.12
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package groton-school/slim-lti-partitioned-session contains the following files

Loading the files please wait ...