From 66e6dae3a3c5e2a5535012e6d180c197c1b0f494 Mon Sep 17 00:00:00 2001 From: "Daniel Cazalla (ZallaxDev)" <86362063+ZallaxDev@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:14:47 +0200 Subject: [PATCH] Added the php-jwt dependency to the composer.json file and updated the composer.lock file The composer.json file has been modified to include the php-jwt dependency, required in the LTI module to stop including external libraries inside the module itself. Additionally, the composer.lock file has been updated to reflect the changes in dependencies, ensuring consistent versions across different environments. --- composer.json | 1 + composer.lock | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0a6421b447f3..4efead46a9a3 100755 --- a/composer.json +++ b/composer.json @@ -49,6 +49,7 @@ "ext-xml": "*", "ext-zip": "*", "ext-imagick": "*", + "firebase/php-jwt": "*", "apereo/phpcas": "^1.6.1", "league/commonmark": "^2.4", "ramsey/uuid": "^4.4.0", diff --git a/composer.lock b/composer.lock index 9c683e78f31c..6bddb691db66 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "38e174d22cd3022993cebc402742487e", + "content-hash": "9d1fe43363bd0eaf4b28cb79f415045d", "packages": [ { "name": "apereo/phpcas", @@ -454,6 +454,69 @@ ], "time": "2023-11-03T12:00:00+00:00" }, + { + "name": "firebase/php-jwt", + "version": "v6.10.1", + "source": { + "type": "git", + "url": "https://github.com/firebase/php-jwt.git", + "reference": "500501c2ce893c824c801da135d02661199f60c5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5", + "reference": "500501c2ce893c824c801da135d02661199f60c5", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "guzzlehttp/guzzle": "^7.4", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "psr/cache": "^2.0||^3.0", + "psr/http-client": "^1.0", + "psr/http-factory": "^1.0" + }, + "suggest": { + "ext-sodium": "Support EdDSA (Ed25519) signatures", + "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" + }, + "type": "library", + "autoload": { + "psr-4": { + "Firebase\\JWT\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Neuman Vong", + "email": "neuman+pear@twilio.com", + "role": "Developer" + }, + { + "name": "Anant Narayanan", + "email": "anant@php.net", + "role": "Developer" + } + ], + "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", + "homepage": "https://github.com/firebase/php-jwt", + "keywords": [ + "jwt", + "php" + ], + "support": { + "issues": "https://github.com/firebase/php-jwt/issues", + "source": "https://github.com/firebase/php-jwt/tree/v6.10.1" + }, + "time": "2024-05-18T18:05:11+00:00" + }, { "name": "geshi/geshi", "version": "v1.0.9.1",